Re: [PATCH] NVMe: do not touch sq door bell if nvmeq has been suspended
From: Keith Busch
Date: Tue Feb 02 2016 - 09:28:11 EST
On Tue, Feb 02, 2016 at 02:41:37PM +0200, Sagi Grimberg wrote:
> First of all, I think we need to cancel all
> inflight requests before nvme_dev_unmap.
IO cancelling is where it is because it protects against host memory
corruption. If you're going to mess with the ordering, just make sure
the PCI device is disabled from bus mastering first.