[SCSI] mpt2sas: Added sysfs counter for ioc reset
Added a new sysfs shost attribute called ioc_reset_count. This will keep count of host resets (both diagnostic and message unit). Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
committed by
James Bottomley
parent
b8d7d7bb37
commit
d32a8c15e1
@@ -615,6 +615,7 @@ struct MPT2SAS_ADAPTER {
|
||||
u16 msix_vector_count;
|
||||
u32 *msix_table;
|
||||
u32 *msix_table_backup;
|
||||
u32 ioc_reset_count;
|
||||
|
||||
/* internal commands, callback index */
|
||||
u8 scsi_io_cb_idx;
|
||||
|
Reference in New Issue
Block a user