Home
last modified time | relevance | path

Searched refs:fast_io_fail_tmo (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/Documentation/scsi/scsi_transport_srp/
Drport_state_diagram.dot14 …running -> running_rta [ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nsrp_start_tl_f…
15 …running_rta -> running [ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nreconnecting s…
16 …running -> blocked [ label = "fast_io_fail_tmo >= 0 or\ndev_loss_tmo >= 0;\nsrp_start_tl_fail_tim…
17 …running -> failfast [ label = "fast_io_fail_tmo = off and\ndev_loss_tmo = off;\nreconnecting fail…
18 blocked -> failfast [ label = "fast_io_fail_tmo\nexpired or\nreconnecting\nfailed" ];
/linux-4.4.14/drivers/scsi/
Dscsi_transport_srp.c82 int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo, int dev_loss_tmo) in srp_tmo_valid() argument
84 if (reconnect_delay < 0 && fast_io_fail_tmo < 0 && dev_loss_tmo < 0) in srp_tmo_valid()
88 if (fast_io_fail_tmo > SCSI_DEVICE_BLOCK_MAX_TIMEOUT) in srp_tmo_valid()
90 if (fast_io_fail_tmo < 0 && in srp_tmo_valid()
95 if (fast_io_fail_tmo >= 0 && dev_loss_tmo >= 0 && in srp_tmo_valid()
96 fast_io_fail_tmo >= dev_loss_tmo) in srp_tmo_valid()
237 res = srp_tmo_valid(delay, rport->fast_io_fail_tmo, in store_reconnect_delay()
275 return srp_show_tmo(buf, rport->fast_io_fail_tmo); in show_srp_rport_fast_io_fail_tmo()
284 int fast_io_fail_tmo; in store_srp_rport_fast_io_fail_tmo() local
286 res = srp_parse_tmo(&fast_io_fail_tmo, buf); in store_srp_rport_fast_io_fail_tmo()
[all …]
Dscsi_transport_fc.c883 if (rport->fast_io_fail_tmo == -1 && in fc_rport_set_dev_loss_tmo()
964 if (rport->fast_io_fail_tmo == -1) in show_fc_rport_fast_io_fail_tmo()
966 return snprintf(buf, 20, "%d\n", rport->fast_io_fail_tmo); in show_fc_rport_fast_io_fail_tmo()
983 rport->fast_io_fail_tmo = -1; in store_fc_rport_fast_io_fail_tmo()
996 rport->fast_io_fail_tmo = val; in store_fc_rport_fast_io_fail_tmo()
1000 static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR,
2294 SETUP_PRIVATE_RPORT_ATTRIBUTE_RW(fast_io_fail_tmo); in fc_attach_transport()
2637 rport->fast_io_fail_tmo = -1; in fc_rport_create()
3018 if ((rport->fast_io_fail_tmo != -1) && in fc_remote_port_delete()
3019 (rport->fast_io_fail_tmo < timeout)) in fc_remote_port_delete()
[all …]
/linux-4.4.14/include/scsi/
Dscsi_transport_srp.h69 int fast_io_fail_tmo; member
101 int *fast_io_fail_tmo; member
120 extern int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo,
Dscsi_transport_fc.h344 u32 fast_io_fail_tmo; member
/linux-4.4.14/Documentation/ABI/stable/
Dsysfs-transport-srp17 What: /sys/class/srp_remote_ports/port-<h>:<n>/fast_io_fail_tmo
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
/linux-4.4.14/drivers/infiniband/ulp/srp/
Dib_srp.c110 module_param_cb(fast_io_fail_tmo, &srp_tmo_ops, &srp_fast_io_fail_tmo,
112 MODULE_PARM_DESC(fast_io_fail_tmo,
3579 .fast_io_fail_tmo = &srp_fast_io_fail_tmo,