filer confi: support hierachical configuration

This commit is contained in:
Chris Lu
2020-11-16 16:50:12 -08:00
parent ed1ce3f299
commit 5f19e81dab
5 changed files with 148 additions and 131 deletions

View File

@@ -358,8 +358,9 @@ message FilerConf {
string replication = 3;
string ttl = 4;
enum DiskType {
HDD = 0;
SSD = 1;
NONE = 0;
HDD = 1;
SSD = 2;
}
DiskType disk_type = 5;
bool fsync = 6;