On Tue, 1 Mar 2022 09:55:36 -0800, James Smart wrote:
In the original FPIN commit, stats were incremented by the event_count. Event_count is the minimum # of events that must occur before an FPIN is sent. Thus, its not the actual number of events, and could be significantly off (too low) as it doesn't reflect anything not reported. Rather than attempt to count events, have the statistic count how many FPINS cross the threshold and were reported.
[...]
Applied to 5.18/scsi-queue, thanks!
[1/1] scsi_transport_fc: Fix FPIN Link Integrity statistics counters https://git.kernel.org/mkp/scsi/c/07e0984b96ec