Use GFP_NOIO in vdev_disk_io_flush()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 10 Jul 2013 21:09:08 +0000 (14:09 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 10 Jul 2013 21:12:21 +0000 (14:12 -0700)
commitabc41ac7c78c6f218a226a746f5d92a41fe53285
treeb3a774969090df5024d4475171b14f03640bd8c9
parentff3510c1a562914902d78f3d56552e126103f5a4
Use GFP_NOIO in vdev_disk_io_flush()

To avoid a potential deadlock when using a zvol as a swap
device prevent vdev_disk_io_flush() from performing IO during
the bio_alloc().

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1508
module/zfs/vdev_disk.c