xref: /linux/Documentation/ABI/stable/sysfs-transport-srp (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1dc1bdbd9SBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/delete
2dc1bdbd9SBart Van AsscheDate:		June 1, 2012
3dc1bdbd9SBart Van AsscheKernelVersion:	3.7
4dc1bdbd9SBart Van AsscheContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
5dc1bdbd9SBart Van AsscheDescription:	Instructs an SRP initiator to disconnect from a target and to
6dc1bdbd9SBart Van Assche		remove all LUNs imported from that target.
7dc1bdbd9SBart Van Assche
829c17324SBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/dev_loss_tmo
929c17324SBart Van AsscheDate:		February 1, 2014
1029c17324SBart Van AsscheKernelVersion:	3.13
1129c17324SBart Van AsscheContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
1229c17324SBart Van AsscheDescription:	Number of seconds the SCSI layer will wait after a transport
1329c17324SBart Van Assche		layer error has been observed before removing a target port.
1429c17324SBart Van Assche		Zero means immediate removal. Setting this attribute to "off"
1529c17324SBart Van Assche		will disable the dev_loss timer.
1629c17324SBart Van Assche
1729c17324SBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/fast_io_fail_tmo
1829c17324SBart Van AsscheDate:		February 1, 2014
1929c17324SBart Van AsscheKernelVersion:	3.13
2029c17324SBart Van AsscheContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
2129c17324SBart Van AsscheDescription:	Number of seconds the SCSI layer will wait after a transport
2229c17324SBart Van Assche		layer error has been observed before failing I/O. Zero means
2329c17324SBart Van Assche		failing I/O immediately. Setting this attribute to "off" will
2429c17324SBart Van Assche		disable the fast_io_fail timer.
2529c17324SBart Van Assche
267e1265bfSBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/port_id
277e1265bfSBart Van AsscheDate:		June 27, 2007
287e1265bfSBart Van AsscheKernelVersion:	2.6.24
297e1265bfSBart Van AsscheContact:	linux-scsi@vger.kernel.org
307e1265bfSBart Van AsscheDescription:	16-byte local SRP port identifier in hexadecimal format. An
317e1265bfSBart Van Assche		example: 4c:49:4e:55:58:20:56:49:4f:00:00:00:00:00:00:00.
327e1265bfSBart Van Assche
33*8c64e453SBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/reconnect_delay
34*8c64e453SBart Van AsscheDate:		February 1, 2014
35*8c64e453SBart Van AsscheKernelVersion:	3.13
36*8c64e453SBart Van AsscheContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
37*8c64e453SBart Van AsscheDescription:	Number of seconds the SCSI layer will wait after a reconnect
38*8c64e453SBart Van Assche		attempt failed before retrying. Setting this attribute to
39*8c64e453SBart Van Assche		"off" will disable time-based reconnecting.
40*8c64e453SBart Van Assche
417e1265bfSBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/roles
427e1265bfSBart Van AsscheDate:		June 27, 2007
437e1265bfSBart Van AsscheKernelVersion:	2.6.24
447e1265bfSBart Van AsscheContact:	linux-scsi@vger.kernel.org
457e1265bfSBart Van AsscheDescription:	Role of the remote port. Either "SRP Initiator" or "SRP Target".
4629c17324SBart Van Assche
4729c17324SBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/state
4829c17324SBart Van AsscheDate:		February 1, 2014
4929c17324SBart Van AsscheKernelVersion:	3.13
5029c17324SBart Van AsscheContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
5129c17324SBart Van AsscheDescription:	State of the transport layer used for communication with the
5229c17324SBart Van Assche		remote port. "running" if the transport layer is operational;
5329c17324SBart Van Assche		"blocked" if a transport layer error has been encountered but
5429c17324SBart Van Assche		the fast_io_fail_tmo timer has not yet fired; "fail-fast"
5529c17324SBart Van Assche		after the fast_io_fail_tmo timer has fired and before the
5629c17324SBart Van Assche		"dev_loss_tmo" timer has fired; "lost" after the
5729c17324SBart Van Assche		"dev_loss_tmo" timer has fired and before the port is finally
5829c17324SBart Van Assche		removed.
59