From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbusch@kernel.org (Keith Busch) Date: Wed, 10 Apr 2019 09:30:06 -0600 Subject: [PATCH V4 0/2] blk-mq/nvme: cancel request synchronously In-Reply-To: <20190410150436.GA23621@ming.t460p> References: <20190408223122.29844-1-ming.lei@redhat.com> <20190410150436.GA23621@ming.t460p> Message-ID: <20190410153004.GB3714@localhost.localdomain> On Wed, Apr 10, 2019@11:04:38PM +0800, Ming Lei wrote: > On Tue, Apr 09, 2019@06:31:20AM +0800, Ming Lei wrote: > > Hi, > > > > This patchset introduces blk_mq_complete_request_sync() for canceling > > request synchronously in error handler context, then one race between > > completing request remotely and destroying contoller/queues can be fixed. > > > > > > V4: > > - drop return value > > - don't handle fake timeout > > > > V3: > > - avoid extra cost to blk_mq_complete_request > > > > V2: > > - export via EXPORT_SYMBOL_GPL > > - minor commit log change > > > > Ming Lei (2): > > blk-mq: introduce blk_mq_complete_request_sync() > > nvme: cancel request synchronously > > > > block/blk-mq.c | 7 +++++++ > > drivers/nvme/host/core.c | 2 +- > > include/linux/blk-mq.h | 1 + > > 3 files changed, 9 insertions(+), 1 deletion(-) > > > > Cc: Keith Busch > > Cc: Sagi Grimberg > > Cc: Bart Van Assche > > Cc: James Smart > > Cc: Christoph Hellwig > > Cc: linux-nvme at lists.infradead.org > > > > Hi Jens, > > These two patches have been posted for a while, any chance to make them > in v5.1? FWIW, series looks good to me too. Reviewed-by: Keith Busch