iomap: wire up the iopoll method
authorChristoph Hellwig <hch@lst.de>
Tue, 4 Dec 2018 18:12:08 +0000 (11:12 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 3 Jan 2019 15:14:02 +0000 (08:14 -0700)
commitbbd678f91b644d47c50f11676ba1ebd2d3dcbbc3
treec8b9d349a020eaa9f930f134e32f3efd48b7037e
parentc479c12425e17edc897ffe87b79fef3e67969547
iomap: wire up the iopoll method

Store the request queue the last bio was submitted to in the iocb
private data in addition to the cookie so that we find the right block
device.  Also refactor the common direct I/O bio submission code into a
nice little helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Modified to use bio_set_polled().

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/gfs2/file.c
fs/iomap.c
fs/xfs/xfs_file.c
include/linux/iomap.h