diff options
author | James Smart <jsmart2021@gmail.com> | 2018-05-04 20:37:56 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-08 01:03:16 -0400 |
commit | 44c2757b7673d79154b322814d5774e1d4f8009a (patch) | |
tree | 6beb9e8d11bb8579c7fdb02396257f52739bd240 /drivers/scsi/lpfc/lpfc_nvme.h | |
parent | d38f33b304229b0445c3292ebf2b7bf24dda6917 (diff) | |
download | lwn-44c2757b7673d79154b322814d5774e1d4f8009a.tar.gz lwn-44c2757b7673d79154b322814d5774e1d4f8009a.zip |
scsi: lpfc: Fix up log messages and stats counters in IO submit code path
Fix up log messages and add an fcp error stat counter in the IO submit
code path to make diagnosing problems easier
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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_nvme.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_nvme.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_nvme.h b/drivers/scsi/lpfc/lpfc_nvme.h index 53236974f2dd..129189324c31 100644 --- a/drivers/scsi/lpfc/lpfc_nvme.h +++ b/drivers/scsi/lpfc/lpfc_nvme.h @@ -59,6 +59,7 @@ struct lpfc_nvme_lport { atomic_t xmt_fcp_bad_ndlp; atomic_t xmt_fcp_qdepth; atomic_t xmt_fcp_wqerr; + atomic_t xmt_fcp_err; atomic_t xmt_fcp_abort; atomic_t xmt_ls_abort; atomic_t xmt_ls_err; |