[PATCH] Fix fnic driver to remove bogus ratelimit messages.

2021-03-23 Thread lduncan
From: Lee Duncan Commit b43abcbbd5b1 ("scsi: fnic: Ratelimit printks to avoid looding when vlan is not set by the switch.i") added printk_ratelimit() in front of a couple of debug-mode messages, to reduce logging overrun when debugging the driver. The code: > if (printk_ratelimit()) >

[PATCH v2 0/1] scsi: libiscsi: fix NOP race condition

2020-09-25 Thread lduncan
From: Lee Duncan A customer that uses iSCSI NOPs extensively found a race condition caused in part by the two-lock system used in iscsi (a forward and a back lock), since sending an iSCSI NOP uses the forward lock, and receiving one uses the back lock. Because of this, processing of the "send" ca

[PATCH v2 1/1] scsi: libiscsi: fix NOP race condition

2020-09-25 Thread lduncan
From: Lee Duncan iSCSI NOPs are sometimes "lost", mistakenly sent to the user-land iscsid daemon instead of handled in the kernel, as they should be, resulting in a message from the daemon like: > iscsid: Got nop in, but kernel supports nop handling. This can occur because of the forward- and b