Use GFP_NOIO in vdev_disk_io_flush()
[zfs.git] / module / zfs / vdev_disk.c
index 31d1a28..2869716 100644 (file)
@@ -632,7 +632,7 @@ vdev_disk_io_flush(struct block_device *bdev, zio_t *zio)
        if (!q)
                return ENXIO;
 
-       bio = bio_alloc(GFP_KERNEL, 0);
+       bio = bio_alloc(GFP_NOIO, 0);
        if (!bio)
                return ENOMEM;