fs/block_dev.c:bdev_write_page(): use blk_queue_enter(..., GFP_NOIO)
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 14 Jan 2016 23:19:44 +0000 (15:19 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commitb832861cca231c0ef27e238b28788045da3262f2
tree4918726d3b82c875b176658d29b11cbc223e3188
parent9ee11ba4251dddf1b0e507d184b25b1bd7820773
fs/block_dev.c:bdev_write_page(): use blk_queue_enter(..., GFP_NOIO)

bdev_write_page() is used by swapout and by writepage where we cannot
use __GFP_FS or __GFP_IO.  So it is misleading to mention GFP_KERNEL
here.

blk_queue_enter() only actually looks at __GFP_DIRECT_RECLAIM, so no
bugs were harmed in the making of this patch.

Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/block_dev.c