On 12/09/2017 02:18 AM, James Smart wrote: > If log verbose in not turned on, its hard to tell when > certain error paths get hit. Add stats counters and > corresponding logic to debugfs/sysfs to aid understanding > what paths were traversed. > > Signed-off-by: Dick Kennedy <dick.kennedy@xxxxxxxxxxxx> > Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx> > --- > drivers/scsi/lpfc/lpfc_attr.c | 46 ++++++++++++++++++++++++++++++++----- > drivers/scsi/lpfc/lpfc_debugfs.c | 49 +++++++++++++++++++++++++++++++++++++--- > drivers/scsi/lpfc/lpfc_nvme.c | 43 +++++++++++++++++++++++++++++++---- > drivers/scsi/lpfc/lpfc_nvme.h | 13 ++++++++++- > drivers/scsi/lpfc/lpfc_nvmet.c | 34 ++++++++++++++++++++++++---- > drivers/scsi/lpfc/lpfc_nvmet.h | 5 ++++ > 6 files changed, 171 insertions(+), 19 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)