block: for async O_DIRECT, mark us as polling if asked to
authorJens Axboe <axboe@kernel.dk>
Tue, 6 Nov 2018 21:29:11 +0000 (14:29 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Nov 2018 15:34:59 +0000 (08:34 -0700)
commitd34513d384487e8022f143a3a6b791e6d7f0dad6
tree9d7bb4dcfa3c14f3099be3c253e366aea7b76863
parent0619317ff8baa2da9238191ad5167ed3618c16d9
block: for async O_DIRECT, mark us as polling if asked to

Inherit the iocb IOCB_HIPRI flag, and pass on REQ_HIPRI for
those kinds of requests.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c