Searched hist:"65080 c51fde468465e3547d72e4a593b1361c0f4" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/scsi/ |
H A D | libiscsi.c | diff 65080c51fde468465e3547d72e4a593b1361c0f4 Tue Jun 07 15:19:53 CEST 2022 Dmitry Bogdanov <d.bogdanov@yadro.com> scsi: iscsi: Prefer xmit of DataOut over new commands
iscsi_data_xmit() (TX worker) is iterating over the queue of new SCSI commands concurrently with the queue being replenished. Only after the queue is emptied will we start sending pending DataOut PDUs. That leads to DataOut timeout on the target side and to connection reinstatement.
Give priority to pending DataOut commands over new commands.
Link: https://lore.kernel.org/r/20220607131953.11584-1-d.bogdanov@yadro.com Reviewed-by: Konstantin Shelekhin <k.shelekhin@yadro.com> Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|