[PATCH 2/2] NVMe: Synchronize resets with scan work

Johannes Thumshirn jthumshirn at suse.de
Wed Jun 1 00:20:35 PDT 2016


On Tue, May 31, 2016 at 01:49:08PM -0600, Keith Busch wrote:
> A user could continuously reset a controller, which aborts active
> commands. If the controller is currently scanning live namespaces, the
> aborted commands could cause namespaces to fail. This patch synchronizes
> the reset on a live controller with namespace scanning work to prevent
> this from occuring.
> 
> Reported-by: Ming Lin <mlin at kernel.org>
> Signed-off-by: Keith Busch <keith.busch at intel.com>

Reviewed-by: Johannes Thumshirn <jthumshirn at suse.de>

-- 
Johannes Thumshirn                                          Storage
jthumshirn at suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850



More information about the Linux-nvme mailing list