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
GitHub <noreply@github.com>Committed on May 12 2023, 4:12 PM
Parents
rG5b3b6e95c0f3: ZTS: Add auto_replace_001_pos to exceptions
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGda211a4a337c: Refine special_small_blocks property validation (authored by Don Brady <dev.fs.zfs@gmail.com>).May 12 2023, 4:12 PM