From 624222ae31bc8ce0009c7da9b0877a3c93aa56fb Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 3 Dec 2019 09:58:03 -0800 Subject: Increase allowed 'special_small_blocks' maximum value There may be circumstances where it's desirable that all blocks in a specified dataset be stored on the special device. Relax the artificial 128K limit and allow the special_small_blocks property to be set up to 1M. When blocks >1MB have been enabled via the zfs_max_recordsize module option, this limit is increased accordingly. Reviewed-by: Don Brady Reviewed-by: Kjeld Schouten Signed-off-by: Brian Behlendorf Closes #9131 Closes #9355 --- module/zcommon/zfs_prop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') diff --git a/module/zcommon/zfs_prop.c b/module/zcommon/zfs_prop.c index 2a1004cb2..bace3f184 100644 --- a/module/zcommon/zfs_prop.c +++ b/module/zcommon/zfs_prop.c @@ -544,7 +544,7 @@ zfs_prop_init(void) ZFS_TYPE_FILESYSTEM, "512 to 1M, power of 2", "RECSIZE"); zprop_register_number(ZFS_PROP_SPECIAL_SMALL_BLOCKS, "special_small_blocks", 0, PROP_INHERIT, ZFS_TYPE_FILESYSTEM, - "zero or 512 to 128K, power of 2", "SPECIAL_SMALL_BLOCKS"); + "zero or 512 to 1M, power of 2", "SPECIAL_SMALL_BLOCKS"); /* hidden properties */ zprop_register_hidden(ZFS_PROP_NUMCLONES, "numclones", PROP_TYPE_NUMBER, -- cgit v1.2.3