Re: [PATCH] nvme: Fix PCIe surprise removal scenario

2018-11-26 Thread Christoph Hellwig
Thanks, applied to nvme-4.20 with slight tweaks to the changelog.

Re: [PATCH] nvme: Fix PCIe surprise removal scenario

2018-11-26 Thread Keith Busch
On Fri, Nov 23, 2018 at 07:58:10AM -0800, Igor Konopko wrote: > This patch fixes kernel OOPS for surprise removal > scenario for PCIe connected NVMe drives. > > After latest changes, when PCIe device is not present, > nvme_dev_remove_admin() calls blk_cleanup_queue() on > admin queue, which frees

[PATCH] nvme: Fix PCIe surprise removal scenario

2018-11-23 Thread Igor Konopko
This patch fixes kernel OOPS for surprise removal scenario for PCIe connected NVMe drives. After latest changes, when PCIe device is not present, nvme_dev_remove_admin() calls blk_cleanup_queue() on admin queue, which frees hctx for that queue. Moment later, on the same path nvme_kill_queues()