Return-Path: Subject: Re: [PATCH 07/17] block: add a poll_fn callback to struct request_queue To: Christoph Hellwig , Jens Axboe Cc: Keith Busch , Sagi Grimberg , Johannes Thumshirn , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org References: <20171023145126.2471-1-hch@lst.de> <20171023145126.2471-8-hch@lst.de> From: Hannes Reinecke Message-ID: Date: Tue, 24 Oct 2017 09:20:19 +0200 MIME-Version: 1.0 In-Reply-To: <20171023145126.2471-8-hch@lst.de> Content-Type: text/plain; charset=utf-8 List-ID: On 10/23/2017 04:51 PM, Christoph Hellwig wrote: > 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 > --- > block/blk-core.c | 11 +++++++++++ > block/blk-mq.c | 14 +++++--------- > drivers/nvme/target/io-cmd.c | 2 +- > fs/block_dev.c | 4 ++-- > fs/direct-io.c | 2 +- > fs/iomap.c | 2 +- > include/linux/blkdev.h | 4 +++- > mm/page_io.c | 2 +- > 8 files changed, 25 insertions(+), 16 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)