aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/util/file_settings.h
blob: 1bdd1a56cdaf308fe3c5e5f8f1c8ea713570ae55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/vespalib/util/size_literals.h>

namespace search {

/**
 * Common settings that is used for file I/O.
 */
struct FileSettings {
    // The alignment (in bytes) used for DIRECT I/O write and read.
    static constexpr size_t DIRECTIO_ALIGNMENT = 4_Ki;
};

}