xref: /linux/Documentation/ABI/stable/sysfs-transport-srp (revision 29c17324803c8a3bb5b2b69309e43571164cc4de)
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
8*29c17324SBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/dev_loss_tmo
9*29c17324SBart Van AsscheDate:		February 1, 2014
10*29c17324SBart Van AsscheKernelVersion:	3.13
11*29c17324SBart Van AsscheContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
12*29c17324SBart Van AsscheDescription:	Number of seconds the SCSI layer will wait after a transport
13*29c17324SBart Van Assche		layer error has been observed before removing a target port.
14*29c17324SBart Van Assche		Zero means immediate removal. Setting this attribute to "off"
15*29c17324SBart Van Assche		will disable the dev_loss timer.
16*29c17324SBart Van Assche
17*29c17324SBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/fast_io_fail_tmo
18*29c17324SBart Van AsscheDate:		February 1, 2014
19*29c17324SBart Van AsscheKernelVersion:	3.13
20*29c17324SBart Van AsscheContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
21*29c17324SBart Van AsscheDescription:	Number of seconds the SCSI layer will wait after a transport
22*29c17324SBart Van Assche		layer error has been observed before failing I/O. Zero means
23*29c17324SBart Van Assche		failing I/O immediately. Setting this attribute to "off" will
24*29c17324SBart Van Assche		disable the fast_io_fail timer.
25*29c17324SBart 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
337e1265bfSBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/roles
347e1265bfSBart Van AsscheDate:		June 27, 2007
357e1265bfSBart Van AsscheKernelVersion:	2.6.24
367e1265bfSBart Van AsscheContact:	linux-scsi@vger.kernel.org
377e1265bfSBart Van AsscheDescription:	Role of the remote port. Either "SRP Initiator" or "SRP Target".
38*29c17324SBart Van Assche
39*29c17324SBart Van AsscheWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/state
40*29c17324SBart Van AsscheDate:		February 1, 2014
41*29c17324SBart Van AsscheKernelVersion:	3.13
42*29c17324SBart Van AsscheContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
43*29c17324SBart Van AsscheDescription:	State of the transport layer used for communication with the
44*29c17324SBart Van Assche		remote port. "running" if the transport layer is operational;
45*29c17324SBart Van Assche		"blocked" if a transport layer error has been encountered but
46*29c17324SBart Van Assche		the fast_io_fail_tmo timer has not yet fired; "fail-fast"
47*29c17324SBart Van Assche		after the fast_io_fail_tmo timer has fired and before the
48*29c17324SBart Van Assche		"dev_loss_tmo" timer has fired; "lost" after the
49*29c17324SBart Van Assche		"dev_loss_tmo" timer has fired and before the port is finally
50*29c17324SBart Van Assche		removed.
51