]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
scsi: lpfc: Fix counters so outstandng NVME IO count is accurate
authorJames Smart <jsmart2021@gmail.com>
Fri, 2 Jun 2017 04:07:02 +0000 (21:07 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Jun 2017 01:37:31 +0000 (21:37 -0400)
commit2cee7808004b33bd5dc75fccd8d145b5e208ef93
treeafaff55a70dde55df1abd3f102f5e0c59bf2add7
parent14041bd170c28f652a91f6ac343acbabfdf1ef4b
scsi: lpfc: Fix counters so outstandng NVME IO count is accurate

NVME FC counters don't reflect actual results

Since counters are not atomic, or protected by a lock, the values often
get screwed up.

Make them atomic, like NVMET.  Fix up sysfs and debugfs display
accordingly Added Outstanding IOs to stats display

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_debugfs.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_nvme.c
drivers/scsi/lpfc/lpfc_scsi.c