block: use GFP_NOIO instead of __GFP_DIRECT_RECLAIM
authorChristoph Hellwig <[email protected]>
Wed, 9 May 2018 07:54:07 +0000 (09:54 +0200)
committerJens Axboe <[email protected]>
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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/blk-core.c