Switch KM_SLEEP to KM_PUSHPAGE
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 4 Sep 2012 22:52:36 +0000 (15:52 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 4 Sep 2012 23:00:06 +0000 (16:00 -0700)
commit0ef0ff546eeab2f85690d59ee23fe30fa634dd38
tree3a24f4b2589305853619683fdb847f80e6edc510
parent395350c85d9903beba43bac7ae79092ae25f1526
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: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #917
include/sys/zfs_context.h
module/zfs/zfs_vnops.c