Re: [PATCH v2 06/17] tcm_qla2xxx: Do not allow aborted cmd to advance.

2017-05-31 Thread Bart Van Assche
On Tue, 2017-05-30 at 10:54 -0700, Himanshu Madhani wrote: > From: Quinn Tran > > In case of hardware queue full, commands can loop between > TCM stack and tcm_qla2xx shim layers for retry. While command > is waiting for retry, task mgmt can get ahead and abort the > cmmand that encountered queue

[PATCH v2 06/17] tcm_qla2xxx: Do not allow aborted cmd to advance.

2017-05-30 Thread Himanshu Madhani
From: Quinn Tran In case of hardware queue full, commands can loop between TCM stack and tcm_qla2xx shim layers for retry. While command is waiting for retry, task mgmt can get ahead and abort the cmmand that encountered queue full condition. Fix this by dropping the command, if task mgmt has alr