Switch KM_SLEEP to KM_PUSHPAGE
authorChris Dunlop <chris@onthe.net.au>
Sat, 1 Sep 2012 04:44:13 +0000 (14:44 +1000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 2 Sep 2012 17:15:49 +0000 (10:15 -0700)
commit20a083cbe29b5eb082c577e9c0194d036effaa59
tree3135ce4f281b44c019bfeac7601836c7e1c6bbae
parentb404a3f07f430710b92a380cd24dd2d48443d2f4
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 b8d06fca089fae4680c3a552fc55c512bfb02202
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 <chris@onthe.net.au>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #917
module/zfs/dsl_scan.c
module/zfs/fm.c