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