Disable page allocation warnings for super block
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Nov 2012 18:31:54 +0000 (10:31 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Nov 2012 19:04:44 +0000 (11:04 -0800)
Due to the slightly increased size of the ZFS super block
caused by 30315d2 there are now allocation warnings.  The
allocation size is still small (just over 8k) and super
blocks are rarely allocated so we suppress the warning.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #1101

module/zfs/zfs_znode.c

index 33fb008..885d224 100644 (file)
@@ -1508,7 +1508,7 @@ zfs_create_fs(objset_t *os, cred_t *cr, nvlist_t *zplprops, dmu_tx_t *tx)
        rootzp->z_atime_dirty = 0;
        rootzp->z_is_sa = USE_SA(version, os);
 
-       zsb = kmem_zalloc(sizeof (zfs_sb_t), KM_PUSHPAGE);
+       zsb = kmem_zalloc(sizeof (zfs_sb_t), KM_PUSHPAGE | KM_NODEBUG);
        zsb->z_os = os;
        zsb->z_parent = zsb;
        zsb->z_version = version;