> 4- Add a specific configuration option for the sessions to disable
> automatic scans, as proposed by the patch.
>
>Pros: Finer grain control than any other option since we have per
>session configuration.
>
>Cons: We have to add a configuration option to iscsid.
>
> I believe
There's a rather long standing regression from commit
659743b [SCSI] libiscsi: Reduce locking contention in fast path
Depending on iSCSI target behavior, it's possible to hit the case in
iscsi_complete_task where the task is still on a pending list
(!list_empty(>running)). When that happens the