0001 What: /sys/class/srp_remote_ports/port-<h>:<n>/delete
0002 Date: June 1, 2012
0003 KernelVersion: 3.7
0004 Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
0005 Description: Instructs an SRP initiator to disconnect from a target and to
0006 remove all LUNs imported from that target.
0007
0008 What: /sys/class/srp_remote_ports/port-<h>:<n>/dev_loss_tmo
0009 Date: February 1, 2014
0010 KernelVersion: 3.13
0011 Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
0012 Description: Number of seconds the SCSI layer will wait after a transport
0013 layer error has been observed before removing a target port.
0014 Zero means immediate removal. Setting this attribute to "off"
0015 will disable the dev_loss timer.
0016
0017 What: /sys/class/srp_remote_ports/port-<h>:<n>/fast_io_fail_tmo
0018 Date: February 1, 2014
0019 KernelVersion: 3.13
0020 Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
0021 Description: Number of seconds the SCSI layer will wait after a transport
0022 layer error has been observed before failing I/O. Zero means
0023 failing I/O immediately. Setting this attribute to "off" will
0024 disable the fast_io_fail timer.
0025
0026 What: /sys/class/srp_remote_ports/port-<h>:<n>/port_id
0027 Date: June 27, 2007
0028 KernelVersion: 2.6.24
0029 Contact: linux-scsi@vger.kernel.org
0030 Description: 16-byte local SRP port identifier in hexadecimal format. An
0031 example: 4c:49:4e:55:58:20:56:49:4f:00:00:00:00:00:00:00.
0032
0033 What: /sys/class/srp_remote_ports/port-<h>:<n>/reconnect_delay
0034 Date: February 1, 2014
0035 KernelVersion: 3.13
0036 Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
0037 Description: Number of seconds the SCSI layer will wait after a reconnect
0038 attempt failed before retrying. Setting this attribute to
0039 "off" will disable time-based reconnecting.
0040
0041 What: /sys/class/srp_remote_ports/port-<h>:<n>/roles
0042 Date: June 27, 2007
0043 KernelVersion: 2.6.24
0044 Contact: linux-scsi@vger.kernel.org
0045 Description: Role of the remote port. Either "SRP Initiator" or "SRP Target".
0046
0047 What: /sys/class/srp_remote_ports/port-<h>:<n>/state
0048 Date: February 1, 2014
0049 KernelVersion: 3.13
0050 Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
0051 Description: State of the transport layer used for communication with the
0052 remote port. "running" if the transport layer is operational;
0053 "blocked" if a transport layer error has been encountered but
0054 the fast_io_fail_tmo timer has not yet fired; "fail-fast"
0055 after the fast_io_fail_tmo timer has fired and before the
0056 "dev_loss_tmo" timer has fired; "lost" after the
0057 "dev_loss_tmo" timer has fired and before the port is finally
0058 removed.