block: use GFP_NOIO instead of __GFP_DIRECT_RECLAIM
authorChristoph Hellwig <hch@lst.de>
Wed, 9 May 2018 07:54:07 +0000 (09:54 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 May 2018 14:55:16 +0000 (08:55 -0600)
commitc3036021c7bd488a382ebb15bd48225941a8686e
treeeeae51457bfa58e97961fadb60b86107bdad0923
parent4accf5fc790b7e17d838265cc58a46b3ddf64721
block: use GFP_NOIO instead of __GFP_DIRECT_RECLAIM

We just can't do I/O when doing block layer requests allocations,
so use GFP_NOIO instead of the even more limited __GFP_DIRECT_RECLAIM.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c