On 10/20/22 12:56, Christoph Hellwig wrote:
The NVME_NS_DEAD flag is only set in nvme_set_queue_dying, which is called in a loop over all namespaces in nvme_kill_queues. Switch it to a controller flag checked and set outside said loop. Signed-off-by: Christoph Hellwig <hch@xxxxxx> --- drivers/nvme/host/core.c | 16 +++++++--------- drivers/nvme/host/nvme.h | 2 +- 2 files changed, 8 insertions(+), 10 deletions(-)
Reviewed-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@xxxxxxx +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman