dm zoned: use GFP_NOIO in I/O path
authorDamien Le Moal <damien.lemoal@wdc.com>
Mon, 24 Jul 2017 07:44:37 +0000 (16:44 +0900)
committerMike Snitzer <snitzer@redhat.com>
Wed, 26 Jul 2017 19:55:43 +0000 (15:55 -0400)
commit4218a9554653bd5be6e3c740749282b57434bd73
treed7099f78e95199bfcea6b6e6f6b29f3b10191f46
parentedbe9597aca2e2601e6e152bdea200b6cf1b8b47
dm zoned: use GFP_NOIO in I/O path

Use GFP_NOIO for memory allocations in the I/O path.  Other memory
allocations in the initialization path can use GFP_KERNEL.

Reported-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-zoned-metadata.c
drivers/md/dm-zoned-reclaim.c
drivers/md/dm-zoned-target.c