diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-04 19:12:08 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-24 16:20:17 +0100 |
commit | 81214bab582eeda068e7904d57b6a3095e8f3855 (patch) | |
tree | 54653461f42bc5db4affc51b3de4dddecb61b34f /block/bfq-wf2q.c | |
parent | block: add bio_set_polled() helper (diff) | |
download | linux-81214bab582eeda068e7904d57b6a3095e8f3855.tar.xz linux-81214bab582eeda068e7904d57b6a3095e8f3855.zip |
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>
Diffstat (limited to 'block/bfq-wf2q.c')
0 files changed, 0 insertions, 0 deletions