59 lines · plain
1What: /sys/class/srp_remote_ports/port-<h>:<n>/delete2Date: June 1, 20123KernelVersion: 3.74Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org5Description: Instructs an SRP initiator to disconnect from a target and to6 remove all LUNs imported from that target.7 8What: /sys/class/srp_remote_ports/port-<h>:<n>/dev_loss_tmo9Date: February 1, 201410KernelVersion: 3.1311Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org12Description: Number of seconds the SCSI layer will wait after a transport13 layer error has been observed before removing a target port.14 Zero means immediate removal. Setting this attribute to "off"15 will disable the dev_loss timer.16 17What: /sys/class/srp_remote_ports/port-<h>:<n>/fast_io_fail_tmo18Date: February 1, 201419KernelVersion: 3.1320Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org21Description: Number of seconds the SCSI layer will wait after a transport22 layer error has been observed before failing I/O. Zero means23 failing I/O immediately. Setting this attribute to "off" will24 disable the fast_io_fail timer.25 26What: /sys/class/srp_remote_ports/port-<h>:<n>/port_id27Date: June 27, 200728KernelVersion: 2.6.2429Contact: linux-scsi@vger.kernel.org30Description: 16-byte local SRP port identifier in hexadecimal format. An31 example: 4c:49:4e:55:58:20:56:49:4f:00:00:00:00:00:00:00.32 33What: /sys/class/srp_remote_ports/port-<h>:<n>/reconnect_delay34Date: February 1, 201435KernelVersion: 3.1336Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org37Description: Number of seconds the SCSI layer will wait after a reconnect38 attempt failed before retrying. Setting this attribute to39 "off" will disable time-based reconnecting.40 41What: /sys/class/srp_remote_ports/port-<h>:<n>/roles42Date: June 27, 200743KernelVersion: 2.6.2444Contact: linux-scsi@vger.kernel.org45Description: Role of the remote port. Either "SRP Initiator" or "SRP Target".46 47What: /sys/class/srp_remote_ports/port-<h>:<n>/state48Date: February 1, 201449KernelVersion: 3.1350Contact: linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org51Description: State of the transport layer used for communication with the52 remote port. "running" if the transport layer is operational;53 "blocked" if a transport layer error has been encountered but54 the fast_io_fail_tmo timer has not yet fired; "fail-fast"55 after the fast_io_fail_tmo timer has fired and before the56 "dev_loss_tmo" timer has fired; "lost" after the57 "dev_loss_tmo" timer has fired and before the port is finally58 removed.59