On 9/8/20 10:15 AM, Ming Lei wrote: > From: Sagi Grimberg <sagi@xxxxxxxxxxx> > > All controller namespaces share the same tagset, so we > can use this interface which does the optimal operation > for parallel quiesce based on the tagset type (e.g. > blocking tagsets and non-blocking tagsets). > > Cc: Sagi Grimberg <sagi@xxxxxxxxxxx> > Cc: Bart Van Assche <bvanassche@xxxxxxx> > Cc: Johannes Thumshirn <Johannes.Thumshirn@xxxxxxx> > Cc: Chao Leng <lengchao@xxxxxxxxxx> > > Add code to unquiesce ctrl->connect_q in nvme_stop_queues(), meantime > avoid to call blk_mq_quiesce_tagset()/blk_mq_unquiesce_tagset() if > this tagset isn't initialized. > Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx> > Signed-off-by: Sagi Grimberg <sagi@xxxxxxxxxxx> > --- > drivers/nvme/host/core.c | 19 +++++++++---------- > 1 file changed, 9 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 Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer