Switch KM_SLEEP to KM_PUSHPAGE
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 3 Sep 2012 20:05:19 +0000 (13:05 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 4 Sep 2012 15:41:12 +0000 (08:41 -0700)
commit594b4dd82a6ba6b046b894a24986ce727f4d7391
tree3ac374e10e039109586a60ec9e678d31fa6cecbe
parentba7dbeb22e4b0f2d4c2b805abfee8d663e0f779d
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
module/zfs/arc.c