]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - block/blk-mq.c
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)
commitea435e1b9392a33deceaea2a16ebaa3397bead93
tree73c80a2bfed2bc37cedc4d38d9534e231c61dbd8
parent8ddcd653257c18a669fcb75ee42c37054908e0d6
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