From bbed6047e35c79bef7a4566e6f987962a3667392 Mon Sep 17 00:00:00 2001 From: Tom Mortensen Date: Fri, 12 Jul 2024 11:53:32 -0700 Subject: [PATCH] Introduce 'Allocation profile' config setting for specifying pool/subpool data layout Fix: spindown delay setting missing for parity devices --- emhttp/plugins/dynamix/DeviceInfo.page | 31 ++++++++++++++++---------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/emhttp/plugins/dynamix/DeviceInfo.page b/emhttp/plugins/dynamix/DeviceInfo.page index a37959a0e..a7cac7575 100755 --- a/emhttp/plugins/dynamix/DeviceInfo.page +++ b/emhttp/plugins/dynamix/DeviceInfo.page @@ -267,7 +267,11 @@ function selectDiskFsProfile(init) { } } else if (($('#diskFsType').val()||'').indexOf('zfs') != -1) { + var subpool = ""; $('#diskFsProfileBTRFS').prop('disabled',true).hide(); + if (subpool.length) { + $('#diskFsType').prop('disabled',true).hide(); + } if (!init) { $('#diskFsProfileZFS').prop('disabled',false); $('#diskFsWidthZFS').prop('disabled',false); @@ -601,7 +605,7 @@ _(Spinup group(s))_: : - + _(Spin down delay)_: : + + + + _(File system status)_: :   - - _(File system type)_: : > @@ -649,7 +658,9 @@ _(File system type)_: - > =2) echo mk_option(_var($disk,'fsProfile'),"raid0", _('raid0'))?> =2) echo mk_option(_var($disk,'fsProfile'),"raid1", _('raid1'))?> @@ -670,8 +681,8 @@ _(File system type)_: -_(File system type)_: -: > > -_(File system type)_: -: > > -_(File system type)_: -: