Date: Thu, 19 Nov 2015 14:24:01 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [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 Message-ID: <bug-195303-3630-iPRayOzPfP@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-195303-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-195303-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195303 --- Comment #1 from Anton Sayetsky <vsasjason@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195303-3630-iPRayOzPfP>