From 5aa69a57da86a38d49cca1623b0c79764f8ad3e9 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sat, 23 Jan 2021 18:45:27 -0500 Subject: 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 Signed-off-by: Alexander Motin Closes #11501 --- module/zfs/dmu_objset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/zfs/dmu_objset.c') diff --git a/module/zfs/dmu_objset.c b/module/zfs/dmu_objset.c index 66a8f2009..bfb4adf26 100644 --- a/module/zfs/dmu_objset.c +++ b/module/zfs/dmu_objset.c @@ -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; -- cgit v1.2.3