Re: [PATCH V2 0/2] blk-mq/nvme: cancel request synchronously

Ming Lei
2019-04-02T03:38:55Z

On Wed, Mar 27, 2019 at 04:51:12PM +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.
>
> 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 | 20 ++++++++++++++++----
> drivers/nvme/host/core.c | 2 +-
> include/linux/blk-mq.h | 1 +
> 3 files changed, 18 insertions(+), 5 deletions(-)

Hi Jens,

Gentle ping on this fix...

Thanks,
Ming