Relax special_small_blocks assertion.
Follow up for commit 624222a
, value asserted <= SPA_OLD_MAXBLOCKSIZE
instead of SPA_MAXBLOCKSIZE as it should be after the previous change.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Closes #11501
This commit is contained in:
parent
716408f560
commit
5aa69a57da
|
@ -326,7 +326,7 @@ smallblk_changed_cb(void *arg, uint64_t newval)
|
|||
/*
|
||||
* Inheritance and range checking should have been done by now.
|
||||
*/
|
||||
ASSERT(newval <= SPA_OLD_MAXBLOCKSIZE);
|
||||
ASSERT(newval <= SPA_MAXBLOCKSIZE);
|
||||
ASSERT(ISP2(newval));
|
||||
|
||||
os->os_zpl_special_smallblock = newval;
|
||||
|
|
Loading…
Reference in New Issue