Switch KM_SLEEP to KM_PUSHPAGE
authorMassimo Maggi <massimo@mmmm.it>
Thu, 11 Oct 2012 22:55:42 +0000 (00:55 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 15 Oct 2012 16:32:38 +0000 (09:32 -0700)
commit6f53a6a2299688b092f8183354a4cc159e3eed20
tree5855733cd778c8daadd41f83c5d978841946602a
parentc418410393325eb01be5b6cc5ff0e6e8aa24af93
Switch KM_SLEEP to KM_PUSHPAGE

In this particular instance the allocation occurred in the context
of sys_msync()->...->zpl_putpage() where we must be careful not to
initiate additional I/O.

Signed-off-by: Massimo Maggi <massimo@mmmm.it>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1038
module/zfs/zfs_rlock.c