forked from ydb-platform/nbs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfilesystem.proto
54 lines (38 loc) · 1.63 KB
/
filesystem.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
syntax = "proto2";
package NCloud.NFileStore.NProto;
option go_package = "github.com/ydb-platform/nbs/cloud/filestore/config";
////////////////////////////////////////////////////////////////////////////////
message TFileSystemConfig
{
// FileSystem identifier.
optional string FileSystemId = 1;
// Filesystem blocksize.
optional uint32 BlockSize = 2;
// Keep attempts to acquire lock.
optional uint32 LockRetryTimeout = 3;
// Inode entry timeout.
optional uint32 EntryTimeout = 4;
// Node attributes timeout.
optional uint32 AttrTimeout = 5;
// X Attrs cache limits
optional uint32 XAttrCacheLimit = 6;
optional uint32 XAttrCacheTimeout = 7;
// Filesystem max buffer size per request.
optional uint32 MaxBufferSize = 8;
// Inode entry timeout for negative responses (responses with errors).
// The most notable one is ENOENT for getattr.
optional uint32 NegativeEntryTimeout = 9;
// The blocksize reported to the client via stat request. Note: this value
// can differ from the BlockSize in terms of the actual filestore
optional uint32 PreferredBlockSize = 10;
// Async processing of destroy handle requests.
optional bool AsyncDestroyHandleEnabled = 11;
// Period of processing create/destroy handle requests.
optional uint32 AsyncHandleOperationPeriod = 12;
// Enable O_DIRECT when working with files
optional bool DirectIoEnabled = 13;
// Aligment needed for buffers when using direct io
optional uint32 DirectIoAlign = 14;
// Enable Writeback cache on guest (fuse client)
optional bool GuestWritebackCacheEnabled = 15;
}