]> git.baikalelectronics.ru Git - kernel.git/commit
block: add a poll_fn callback to struct request_queue
authorChristoph Hellwig <hch@lst.de>
Thu, 2 Nov 2017 18:29:54 +0000 (21:29 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Nov 2017 16:31:48 +0000 (10:31 -0600)
commit87876db4e45333f527fa10e3bd8b2d81b34da4bf
tree73c80a2bfed2bc37cedc4d38d9534e231c61dbd8
parent4b1e1b04e61852f1b5bf9a17867e6e2169cb746a
block: add a poll_fn callback to struct request_queue

That we we can also poll non blk-mq queues.  Mostly needed for
the NVMe multipath code, but could also be useful elsewhere.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
drivers/nvme/target/io-cmd.c
fs/block_dev.c
fs/direct-io.c
fs/iomap.c
include/linux/blkdev.h
mm/page_io.c