Switch KM_SLEEP to KM_PUSHPAGE
authorChris Dunlop <chris@onthe.net.au>
Thu, 4 Oct 2012 06:19:17 +0000 (16:19 +1000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 4 Oct 2012 17:44:09 +0000 (10:44 -0700)
commitd75d6f294e0e011e53913803db70f8096f5fd630
tree5f813863697682254b07bdf240a475de40bc2ba8
parent04434775b7f3aa55fbbcf2064cfb9f5f5c436e64
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 <chris@onthe.net.au>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1002
module/zfs/ddt_zap.c