[Bug 195303] [zfs] large_blocks enabled on pool, recordsize capped at 1M, minor typo in error message when attempting to create dataset with recordsize=2M

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 19 14:24:02 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195303

--- Comment #1 from Anton Sayetsky <vsasjason at gmail.com> ---
(In reply to Trond.Endrestol from comment #0)
The situation is more difficult - maximum record size could be changed, see
r374637.
So the pseudocode for displaying error message should be like this:
if [large_blocks_enabled == true]
  max_block_size = sysctl(vfs.zfs.max_recordsize)
else
  max_block_size = 128k
error("Block size cannot be greater than %d", max_block_size)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list