xref: /OK3568_Linux_fs/kernel/Documentation/ABI/stable/sysfs-transport-srp (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/delete
2*4882a593SmuzhiyunDate:		June 1, 2012
3*4882a593SmuzhiyunKernelVersion:	3.7
4*4882a593SmuzhiyunContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
5*4882a593SmuzhiyunDescription:	Instructs an SRP initiator to disconnect from a target and to
6*4882a593Smuzhiyun		remove all LUNs imported from that target.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/dev_loss_tmo
9*4882a593SmuzhiyunDate:		February 1, 2014
10*4882a593SmuzhiyunKernelVersion:	3.13
11*4882a593SmuzhiyunContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
12*4882a593SmuzhiyunDescription:	Number of seconds the SCSI layer will wait after a transport
13*4882a593Smuzhiyun		layer error has been observed before removing a target port.
14*4882a593Smuzhiyun		Zero means immediate removal. Setting this attribute to "off"
15*4882a593Smuzhiyun		will disable the dev_loss timer.
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/fast_io_fail_tmo
18*4882a593SmuzhiyunDate:		February 1, 2014
19*4882a593SmuzhiyunKernelVersion:	3.13
20*4882a593SmuzhiyunContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
21*4882a593SmuzhiyunDescription:	Number of seconds the SCSI layer will wait after a transport
22*4882a593Smuzhiyun		layer error has been observed before failing I/O. Zero means
23*4882a593Smuzhiyun		failing I/O immediately. Setting this attribute to "off" will
24*4882a593Smuzhiyun		disable the fast_io_fail timer.
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/port_id
27*4882a593SmuzhiyunDate:		June 27, 2007
28*4882a593SmuzhiyunKernelVersion:	2.6.24
29*4882a593SmuzhiyunContact:	linux-scsi@vger.kernel.org
30*4882a593SmuzhiyunDescription:	16-byte local SRP port identifier in hexadecimal format. An
31*4882a593Smuzhiyun		example: 4c:49:4e:55:58:20:56:49:4f:00:00:00:00:00:00:00.
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/reconnect_delay
34*4882a593SmuzhiyunDate:		February 1, 2014
35*4882a593SmuzhiyunKernelVersion:	3.13
36*4882a593SmuzhiyunContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
37*4882a593SmuzhiyunDescription:	Number of seconds the SCSI layer will wait after a reconnect
38*4882a593Smuzhiyun		attempt failed before retrying. Setting this attribute to
39*4882a593Smuzhiyun		"off" will disable time-based reconnecting.
40*4882a593Smuzhiyun
41*4882a593SmuzhiyunWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/roles
42*4882a593SmuzhiyunDate:		June 27, 2007
43*4882a593SmuzhiyunKernelVersion:	2.6.24
44*4882a593SmuzhiyunContact:	linux-scsi@vger.kernel.org
45*4882a593SmuzhiyunDescription:	Role of the remote port. Either "SRP Initiator" or "SRP Target".
46*4882a593Smuzhiyun
47*4882a593SmuzhiyunWhat:		/sys/class/srp_remote_ports/port-<h>:<n>/state
48*4882a593SmuzhiyunDate:		February 1, 2014
49*4882a593SmuzhiyunKernelVersion:	3.13
50*4882a593SmuzhiyunContact:	linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org
51*4882a593SmuzhiyunDescription:	State of the transport layer used for communication with the
52*4882a593Smuzhiyun		remote port. "running" if the transport layer is operational;
53*4882a593Smuzhiyun		"blocked" if a transport layer error has been encountered but
54*4882a593Smuzhiyun		the fast_io_fail_tmo timer has not yet fired; "fail-fast"
55*4882a593Smuzhiyun		after the fast_io_fail_tmo timer has fired and before the
56*4882a593Smuzhiyun		"dev_loss_tmo" timer has fired; "lost" after the
57*4882a593Smuzhiyun		"dev_loss_tmo" timer has fired and before the port is finally
58*4882a593Smuzhiyun		removed.
59