diff options
author | Kevin Barnett <kevin.barnett@microsemi.com> | 2020-07-31 16:01:44 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-08-20 21:41:51 -0400 |
commit | 8b664fefa3413ea42bb68546f1f1756289b080a7 (patch) | |
tree | 0f106902b39f60358d295d014ef2bf18b3465e83 /drivers/scsi/smartpqi/smartpqi.h | |
parent | 4d15ad3813010acca004e475b54f221a9c721c33 (diff) | |
download | linux-stable-8b664fefa3413ea42bb68546f1f1756289b080a7.tar.gz linux-stable-8b664fefa3413ea42bb68546f1f1756289b080a7.tar.bz2 linux-stable-8b664fefa3413ea42bb68546f1f1756289b080a7.zip |
scsi: smartpqi: Add RAID bypass counter
Add a counter to assist in verifying when RAID bypass is being used.
Link: https://lore.kernel.org/r/159622930468.30579.13153724465552773544.stgit@brunhilda
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/smartpqi/smartpqi.h')
-rw-r--r-- | drivers/scsi/smartpqi/smartpqi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/smartpqi/smartpqi.h b/drivers/scsi/smartpqi/smartpqi.h index 631306d347db..d0c635971481 100644 --- a/drivers/scsi/smartpqi/smartpqi.h +++ b/drivers/scsi/smartpqi/smartpqi.h @@ -963,6 +963,7 @@ struct pqi_scsi_dev { struct list_head delete_list_entry; atomic_t scsi_cmds_outstanding; + atomic_t raid_bypass_cnt; }; /* VPD inquiry pages */ |