Re: [PATCH 1/1] qla2xxx: move IO flush to the front of NVME rport unregistration

2019-06-26 Thread Martin K. Petersen
Himanshu, > On session deletion, current qla code would unregister an NVMe session > before flushing IOs. This patch would move the unregistration of NVMe > session after IO flush. This way FC-NVMe layer would not have to wait > for stuck IOs. In addition, qla2xxx would stop accepting new IOs >

Re: [PATCH 1/1] qla2xxx: move IO flush to the front of NVME rport unregistration

2019-06-16 Thread Bart Van Assche
On 6/16/19 8:05 AM, Himanshu Madhani wrote: + INIT_WORK(&sess->free_work, qlt_free_session_done); + schedule_work(&sess->free_work); Since you are touching this code and since there are multiple schedule_work() and flush_work() calls in the qla2xxx driver code for this work item:

[PATCH 1/1] qla2xxx: move IO flush to the front of NVME rport unregistration

2019-06-16 Thread Himanshu Madhani
From: Quinn Tran On session deletion, current qla code would unregister an NVMe session before flushing IOs. This patch would move the unregistration of NVMe session after IO flush. This way FC-NVMe layer would not have to wait for stuck IOs. In addition, qla2xxx would stop accepting new IOs duri