summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-04-27 09:32:51 -0700
committerBrian Behlendorf <[email protected]>2011-04-27 09:35:18 -0700
commit5476e6952c1ecbd2debe977eb5c3ec88dfdfea5b (patch)
treeda99fd3ac08f677a97d06abe57fd48216456bc80 /module
parent40a39e1103bbbd6908bc1b5cf4af953c7e4706ad (diff)
Suppress 'vdev_metaslab_init' memory warning
The vdev_metaslab_init() function has been observed to allocate larger than 8k chunks. However, they are not much larger than 8k and it does this infrequently so it is allowed and the warning is supressed.
Diffstat (limited to 'module')
-rw-r--r--module/zfs/vdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/vdev.c b/module/zfs/vdev.c
index 4bed646b3..92f67ba4b 100644
--- a/module/zfs/vdev.c
+++ b/module/zfs/vdev.c
@@ -833,7 +833,7 @@ vdev_metaslab_init(vdev_t *vd, uint64_t txg)
ASSERT(oldc <= newc);
- mspp = kmem_zalloc(newc * sizeof (*mspp), KM_SLEEP);
+ mspp = kmem_zalloc(newc * sizeof (*mspp), KM_SLEEP | KM_NODEBUG);
if (oldc != 0) {
bcopy(vd->vdev_ms, mspp, oldc * sizeof (*mspp));