scsi: zfcp: log FC Endpoint Security of connections
authorJens Remus <jremus@linux.ibm.com>
Thu, 12 Mar 2020 17:45:02 +0000 (18:45 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Mar 2020 17:12:39 +0000 (13:12 -0400)
commitf0d26ae847489850509b793ef3f74be62f69ab0f
treecf5c660618a1a8789920eddc03c7cc186e794b72
parenta17c78460093aad8fb97fc6905c22355b7d1c923
scsi: zfcp: log FC Endpoint Security of connections

Log the usage of and subsequent changes in FC Endpoint Security of
connections between FCP devices and FC remote ports to the kernel ring
buffer. Activation of FC Endpoint Security is logged as informational.
Change and deactivation are logged as warning.

No logging takes place, if FC Endpoint Security is not used (i.e. never
activated) on a connection or if it does not change during reopen of a port
(e.g. due to adapter or port recovery).

Link: https://lore.kernel.org/r/20200312174505.51294-8-maier@linux.ibm.com
Reviewed-by: Steffen Maier <maier@linux.ibm.com>
Reviewed-by: Fedor Loshakov <loshakov@linux.ibm.com>
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_fsf.c