Re: [PATCH 08/25] lpfc: cleanup: Remove lock on SCSI io completion

2018-12-28 Thread James Smart
On 12/28/2018 1:16 AM, Hannes Reinecke wrote: On 12/27/18 12:33 AM, James Smart wrote: A scsi host lock is taken on every io completion to check whether someone is waiting on the io completion. The lock doesn't have to be taken on all ios, only those that have been marked as aborted. Rework to

Re: [PATCH 08/25] lpfc: cleanup: Remove lock on SCSI io completion

2018-12-28 Thread Hannes Reinecke
On 12/27/18 12:33 AM, James Smart wrote: A scsi host lock is taken on every io completion to check whether someone is waiting on the io completion. The lock doesn't have to be taken on all ios, only those that have been marked as aborted. Rework to avoid the lock on non-aborted ios. Signed-off-

[PATCH 08/25] lpfc: cleanup: Remove lock on SCSI io completion

2018-12-26 Thread James Smart
A scsi host lock is taken on every io completion to check whether someone is waiting on the io completion. The lock doesn't have to be taken on all ios, only those that have been marked as aborted. Rework to avoid the lock on non-aborted ios. Signed-off-by: Dick Kennedy Signed-off-by: James Smar