diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2010-09-10 01:20:42 +0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-09-17 06:54:13 +0400 |
commit | d99e5f488ae28d9dfccc84435f4fd29bd1fe1b9b (patch) | |
tree | 5ffe7c2218d2ffd563505bd9612656f223f6dbb1 /drivers/scsi/ibmvscsi/ibmvfc.h | |
parent | e6a4202aa920a25db76f0e02dabe133179293ec0 (diff) | |
download | linux-d99e5f488ae28d9dfccc84435f4fd29bd1fe1b9b.tar.xz |
[SCSI] ibmvfc: Log link up/down events
By default, ibmvfc does not log any async events in order
to avoid flooding the log with them. Improve on this by
logging by default events that are not likely to flood the
log, such as link up/down. Having these events in the log
will improve the ability to debug issues with ibmvfc.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvfc.h')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvfc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.h b/drivers/scsi/ibmvscsi/ibmvfc.h index 608af394c8cf..ef663e7c9bbc 100644 --- a/drivers/scsi/ibmvscsi/ibmvfc.h +++ b/drivers/scsi/ibmvscsi/ibmvfc.h @@ -541,6 +541,12 @@ enum ibmvfc_async_event { IBMVFC_AE_ADAPTER_FAILED = 0x1000, }; +struct ibmvfc_async_desc { + enum ibmvfc_async_event ae; + const char *desc; + int log_level; +}; + struct ibmvfc_crq { volatile u8 valid; volatile u8 format; |