lpfc: refactor debugfs queue prints
Subsystems (3)
PATCH v3 4/16 lpfc: refactor debugfs queue prints
Create common wq, cq, eq, rq print functions
Signed-off-by Dick Kennedy <dick.kennedy at broadcom.com>
Signed-off-by James Smart <james.smart at broadcom.com>
--- drivers/scsi/lpfc/lpfc.h | 1 + drivers/scsi/lpfc/lpfc_debugfs.c | 564 ++++++++++++++++----------------------- 2 files changed, 228 insertions(+), 337 deletions(-)
drivers/scsi/lpfc/lpfc.h +1 -0
@@ -948,6 +948,7 @@ struct lpfc_hba {struct dentry *idiag_ctl_acc;struct dentry *idiag_mbx_acc;struct dentry *idiag_ext_acc; +uint8_t lpfc_idiag_last_eq;#endif /* Used for deferred freeing of ELS data buffers */
drivers/scsi/lpfc/lpfc_debugfs.c +227 -337
632 lines not on this page · raw message
Signature · 1 line
2.5.0
PATCH v3 4/16 lpfc: refactor debugfs queue prints
Quoted 6 lines · James Smart
Create common wq, cq, eq, rq print functions
Signed-off-by Dick Kennedy <dick.kennedy at broadcom.com>Signed-off-by James Smart <james.smart at broadcom.com>---
Looks good,
Reviewed-by: Johannes Thumshirn <jthumshirn at suse.de>
Signature · 6 lines
Johannes Thumshirn Storage jthumshirn at suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
PATCH v3 4/16 lpfc: refactor debugfs queue prints
In reply to James SmartQuoted 10 lines · James Smart
Create common wq, cq, eq, rq print functions
Signed-off-by Dick Kennedy <dick.kennedy at broadcom.com>Signed-off-by James Smart <james.smart at broadcom.com>--- drivers/scsi/lpfc/lpfc.h | 1 + drivers/scsi/lpfc/lpfc_debugfs.c | 564 ++++++++++++++++----------------------- 2 files changed, 228 insertions(+), 337 deletions(-)
One should look at converting it to seq_file(), seeing that there are provisions for overflow already.
But that can be done in a later patch.
Reviewed-by Hannes Reinecke <hare at suse.com>
Cheers,
Hannes
Signature · 5 lines
Dr. Hannes Reinecke Teamlead Storage & Networking hare at suse.de +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)