iomap: wire up the iopoll method
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Nov 2018 15:53:22 +0000 (16:53 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 16:43:07 +0000 (09:43 -0700)
commit94ec6840818f03bd9e78708fc247a1d0166a1d1d
tree49bb9b92d51b90a4d37185e1c57216ea81023891
parent47ed2ed020883f7720b0adf059b7ce4a13060efa
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/gfs2/file.c
fs/iomap.c
fs/xfs/xfs_file.c
include/linux/iomap.h