sysfs-transport-srp 2.5 KB

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