HomeFreeBSD

Refine special_small_blocks property validation

Description

Refine special_small_blocks property validation

When the special_small_blocks property is being set during a pool
create it enforces a limit of 128KiB even if the pool's record size
is larger.

If the recordsize property is being set during a pool create, then
use that value instead of the default SPA_OLD_MAXBLOCKSIZE value.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Don Brady <dev.fs.zfs@gmail.com>
Closes #13815
Closes #14811

Details

Provenance
Don Brady <dev.fs.zfs@gmail.com>Authored on May 12 2023, 4:12 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 28 2023, 1:23 AM
Parents
rGc094b9a92866: ZTS: Add zpool_resilver_concurrent exception
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG30dcddaec70d: Refine special_small_blocks property validation (authored by Don Brady <dev.fs.zfs@gmail.com>).May 28 2023, 1:23 AM