]> git.baikalelectronics.ru Git - kernel.git/commit
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, 24 Feb 2019 15:20:17 +0000 (08:20 -0700)
commitbe3b83f52656129e819bcfa207298c38452d4358
tree54653461f42bc5db4affc51b3de4dddecb61b34f
parent122fa48dab211b3cc09173c7aa63c76bdb1d52b7
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().

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