]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita01475e41928ecbee612e3949ed2fce82d93b710
treeeeae51457bfa58e97961fadb60b86107bdad0923
parent0c044b8ddf7e953702fadca5f7dbfe19f02a0cdc
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