diff options
author | Ricardo M. Correia <[email protected]> | 2010-09-17 16:08:56 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-09-17 16:24:15 -0700 |
commit | 1e411a4c12b95b1a18028585ae7fd5e51030b25e (patch) | |
tree | 85f9829165ca26031d9c5bd3ffb8e07f290593ea | |
parent | 12f30129745a3da85b6bbc31e24d3738ff007d9b (diff) |
Quiet down very frequent large allocation warning in ZFS.
In my machine, dnode_hold_impl() allocates 9992 bytes in DEBUG mode and it
causes a large stream of stack traces in the logs. Instead, use KM_NODEBUG
to quiet down this known large alloc.
Signed-off-by: Ricardo M. Correia <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
-rw-r--r-- | module/zfs/dnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dnode.c b/module/zfs/dnode.c index 1dd73cc98..d341b58ee 100644 --- a/module/zfs/dnode.c +++ b/module/zfs/dnode.c @@ -1074,7 +1074,7 @@ dnode_hold_impl(objset_t *os, uint64_t object, int flag, int i; dnode_children_t *winner; children_dnodes = kmem_alloc(sizeof (dnode_children_t) + - (epb - 1) * sizeof (dnode_handle_t), KM_SLEEP); + (epb - 1) * sizeof (dnode_handle_t), KM_SLEEP | KM_NODEBUG); children_dnodes->dnc_count = epb; dnh = &children_dnodes->dnc_children[0]; for (i = 0; i < epb; i++) { |