HomeFreeBSD

Use GFP_NOIO in vdev_disk_io_flush()

Description

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jul 10 2013, 9:09 PM
Parents
rGff3510c1a562: Fix zpool_read_label()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGabc41ac7c78c: Use GFP_NOIO in vdev_disk_io_flush() (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jul 10 2013, 9:12 PM