diff options
author | Chris Dunlop <[email protected]> | 2012-10-04 16:19:17 +1000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-10-04 10:44:09 -0700 |
commit | d75d6f294e0e011e53913803db70f8096f5fd630 (patch) | |
tree | 5f813863697682254b07bdf240a475de40bc2ba8 /module/zfs/ddt_zap.c | |
parent | 04434775b7f3aa55fbbcf2064cfb9f5f5c436e64 (diff) |
Switch KM_SLEEP to KM_PUSHPAGE
This warning indicates the incorrect use of KM_SLEEP in a call
path which must use KM_PUSHPAGE to avoid deadlocking in direct
reclaim. See commit b8d06fc for additional details.
SPL: Fixing allocation for task txg_sync (6093) which
used GFP flags 0x297bda7c with PF_NOFS set
Signed-off-by: Chris Dunlop <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #1002
Diffstat (limited to 'module/zfs/ddt_zap.c')
-rw-r--r-- | module/zfs/ddt_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/ddt_zap.c b/module/zfs/ddt_zap.c index 6fb6ea2a3..1733448a8 100644 --- a/module/zfs/ddt_zap.c +++ b/module/zfs/ddt_zap.c @@ -62,7 +62,7 @@ ddt_zap_lookup(objset_t *os, uint64_t object, ddt_entry_t *dde) uint64_t one, csize; int error; - cbuf = kmem_alloc(sizeof (dde->dde_phys) + 1, KM_SLEEP); + cbuf = kmem_alloc(sizeof (dde->dde_phys) + 1, KM_PUSHPAGE); error = zap_length_uint64(os, object, (uint64_t *)&dde->dde_key, DDT_KEY_WORDS, &one, &csize); |