From b294db6ee05a3200a6a82f8ea7dc70fecbb5ad63 Mon Sep 17 00:00:00 2001 From: bergware Date: Sat, 18 Apr 2020 23:22:02 +0200 Subject: [PATCH] Multi cache pool support --- plugins/dynamix/CacheSettings.page | 68 ------------------------------ plugins/dynamix/DeviceInfo.page | 35 ++++++++++++--- 2 files changed, 30 insertions(+), 73 deletions(-) delete mode 100644 plugins/dynamix/CacheSettings.page diff --git a/plugins/dynamix/CacheSettings.page b/plugins/dynamix/CacheSettings.page deleted file mode 100644 index 8e06d2d7f..000000000 --- a/plugins/dynamix/CacheSettings.page +++ /dev/null @@ -1,68 +0,0 @@ -Menu="ShareSettings:2" -Title="Cache Settings" -Tag="upload" -Cond="$pool_devices" ---- - - - - - -
-_(Use cache device)_: -: - -:help -> If set to 'Yes' then User Shares can possibly make use of the Cache Disk. You still need to enable -> use of the Cache Disk on individual user shares. -:end - -_(Min. free space)_: -: - -:help -> This represents a "floor" of the amount of free space remaining on the cache disk. If the free -> space becomes less than this value, then new files written to user shares with cache enabled will go to -> the array and not the cache disk. -> -> Enter a numeric value with one of these suffixes: -> -> **KB** = 1,000
-> **MB** = 1,000,000
-> **GB** = 1,000,000,000
-> **TB** = 1,000,000,000,000 -> -> If no suffix, a count of 1024-byte blocks is assumed.
-> -> Examples: -> -> **2GB** => 2,000,000,000 bytes
-> **2000000** => 2,048,000,000 bytes -:end - -  -: *_(Array must be **Stopped** to change)_* -
diff --git a/plugins/dynamix/DeviceInfo.page b/plugins/dynamix/DeviceInfo.page index c1c0ff150..14d7c17c6 100644 --- a/plugins/dynamix/DeviceInfo.page +++ b/plugins/dynamix/DeviceInfo.page @@ -337,6 +337,14 @@ _(Name)_: : +_(Comments)_: +: + +:help12 +> This text will appear under the *Comments* column for the share in Windows Explorer. +> Enter anything you like, up to 256 characters. +:end + _(Partition size)_: : KB (K=1024) @@ -421,14 +429,31 @@ _(File system type)_: :   -_(Comments)_: -: + +_(Minimum free space)_: +: placeholder="0"> -:help12 -> This text will appear under the *Comments* column for the share in Windows Explorer. -> Enter anything you like, up to 256 characters. +:help41 +> This represents a "floor" of the amount of free space remaining on the cache disk. If the free +> space becomes less than this value, then new files written to user shares with cache enabled will go to +> the array and not the cache disk. +> +> Enter a numeric value with one of these suffixes: +> +> **KB** = 1,000
+> **MB** = 1,000,000
+> **GB** = 1,000,000,000
+> **TB** = 1,000,000,000,000 +> +> If no suffix, a count of 1024-byte blocks is assumed.
+> +> Examples: +> +> **2GB** => 2,000,000,000 bytes
+> **2000000** => 2,048,000,000 bytes :end + _(Warning disk utilization threshold)_ (%): :