diff --git a/system/jlib/jfile.cpp b/system/jlib/jfile.cpp index 867d4117443..20f533429e6 100644 --- a/system/jlib/jfile.cpp +++ b/system/jlib/jfile.cpp @@ -7899,18 +7899,19 @@ static unsigned jFileHookId = 0; // Declare the array with an anonymous struct -enum PlaneAttrType { boolean, integerK }; +enum PlaneAttrType { boolean, integer }; struct PlaneAttributeInfo { PlaneAttrType type; + size32_t scale; bool isExpert; const char *name; }; static const std::array planeAttributeInfo = {{ - { PlaneAttrType::integerK, false, "blockedFileIOKB" }, // enum PlaneAttributeType::BlockedSequentialIO {0} - { PlaneAttrType::integerK, false, "blockedRandomIOKB" }, // enum PlaneAttributeType::blockedRandomIOKB {1} - { PlaneAttrType::boolean, true, "fileSyncWriteClose" }, // enum PlaneAttributeType::fileSyncWriteClose {2} - { PlaneAttrType::boolean, true, "concurrentWriteSupport" } // enum PlaneAttributeType::concurrentWriteSupport {3} + { PlaneAttrType::integer, 1024, false, "blockedFileIOKB" }, // enum PlaneAttributeType::BlockedSequentialIO {0} + { PlaneAttrType::integer, 1024, false, "blockedRandomIOKB" }, // enum PlaneAttributeType::blockedRandomIOKB {1} + { PlaneAttrType::boolean, 0, true, "fileSyncWriteClose" }, // enum PlaneAttributeType::fileSyncWriteClose {2} + { PlaneAttrType::boolean, 0, true, "concurrentWriteSupport" } // enum PlaneAttributeType::concurrentWriteSupport {3} }}; // {prefix, {key1: value1, key2: value2, ...}} @@ -7934,30 +7935,32 @@ MODULE_INIT(INIT_PRIORITY_STANDARD) auto &values = element.second; for (unsigned propNum=0; propNum