blob: f469f76ae81c4ed1077e5a1bc0e0f74390ad87f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright Vespa.ai. 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;
};
}
|