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>
Sun, 6 Jan 2019 20:52:48 +0000 (13:52 -0700)
commitf8ba2861da98c72526760277cb339096a8c73908
tree3a15c05831557c032adf89f7e0cfa9398aef217a
parentfe98468ed61663013c85c472c63bb668867706a1
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