Home
last modified time | relevance | path

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

/linux/drivers/scsi/
A Dscsi_transport_srp.c92 if (fast_io_fail_tmo < 0 && in srp_tmo_valid()
98 fast_io_fail_tmo >= dev_loss_tmo) in srp_tmo_valid()
277 int fast_io_fail_tmo; in store_srp_rport_fast_io_fail_tmo() local
279 res = srp_parse_tmo(&fast_io_fail_tmo, buf); in store_srp_rport_fast_io_fail_tmo()
286 rport->fast_io_fail_tmo = fast_io_fail_tmo; in store_srp_rport_fast_io_fail_tmo()
464 int delay, fast_io_fail_tmo, dev_loss_tmo; in __srp_start_tl_fail_timers() local
469 fast_io_fail_tmo = rport->fast_io_fail_tmo; in __srp_start_tl_fail_timers()
484 if (fast_io_fail_tmo >= 0) in __srp_start_tl_fail_timers()
487 1UL * fast_io_fail_tmo * HZ); in __srp_start_tl_fail_timers()
721 rport->fast_io_fail_tmo = i->f->fast_io_fail_tmo ? in srp_rport_add()
[all …]
A Dscsi_transport_fc.c1172 if (rport->fast_io_fail_tmo == -1 && in fc_rport_set_dev_loss_tmo()
1305 if (rport->fast_io_fail_tmo == -1) in show_fc_rport_fast_io_fail_tmo()
1307 return snprintf(buf, 20, "%d\n", rport->fast_io_fail_tmo); in show_fc_rport_fast_io_fail_tmo()
1324 rport->fast_io_fail_tmo = -1; in store_fc_rport_fast_io_fail_tmo()
1337 rport->fast_io_fail_tmo = val; in store_fc_rport_fast_io_fail_tmo()
1341 static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR,
2738 SETUP_PRIVATE_RPORT_ATTRIBUTE_RW(fast_io_fail_tmo); in fc_attach_transport()
3083 rport->fast_io_fail_tmo = -1; in fc_remote_port_create()
3460 if ((rport->fast_io_fail_tmo != -1) && in fc_remote_port_delete()
3461 (rport->fast_io_fail_tmo < timeout)) in fc_remote_port_delete()
[all …]
/linux/Documentation/scsi/scsi_transport_srp/
A 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/include/scsi/
A Dscsi_transport_srp.h70 int fast_io_fail_tmo; member
98 int *fast_io_fail_tmo; member
114 extern int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo,
A Dscsi_transport_fc.h369 u32 fast_io_fail_tmo; member
/linux/Documentation/ABI/stable/
A 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/drivers/nvme/host/
A Dfabrics.h130 int fast_io_fail_tmo; member
A Dfabrics.c571 opts->fast_io_fail_tmo = NVMF_DEF_FAIL_FAST_TMO; in nvmf_parse_options()
704 opts->fast_io_fail_tmo = token; in nvmf_parse_options()
855 if (ctrl_loss_tmo < opts->fast_io_fail_tmo) in nvmf_parse_options()
857 opts->fast_io_fail_tmo, ctrl_loss_tmo); in nvmf_parse_options()
A Dcore.c162 if (!ctrl->opts || ctrl->opts->fast_io_fail_tmo == -1) in nvme_start_failfast_work()
166 ctrl->opts->fast_io_fail_tmo * HZ); in nvme_start_failfast_work()
3508 if (ctrl->opts->fast_io_fail_tmo == -1) in nvme_ctrl_fast_io_fail_tmo_show()
3510 return sysfs_emit(buf, "%d\n", ctrl->opts->fast_io_fail_tmo); in nvme_ctrl_fast_io_fail_tmo_show()
3518 int fast_io_fail_tmo, err; in nvme_ctrl_fast_io_fail_tmo_store() local
3520 err = kstrtoint(buf, 10, &fast_io_fail_tmo); in nvme_ctrl_fast_io_fail_tmo_store()
3524 if (fast_io_fail_tmo < 0) in nvme_ctrl_fast_io_fail_tmo_store()
3525 opts->fast_io_fail_tmo = -1; in nvme_ctrl_fast_io_fail_tmo_store()
3527 opts->fast_io_fail_tmo = fast_io_fail_tmo; in nvme_ctrl_fast_io_fail_tmo_store()
3530 static DEVICE_ATTR(fast_io_fail_tmo, S_IRUGO | S_IWUSR,
/linux/drivers/infiniband/ulp/srp/
A Dib_srp.c112 module_param_cb(fast_io_fail_tmo, &srp_tmo_ops, &srp_fast_io_fail_tmo,
114 MODULE_PARM_DESC(fast_io_fail_tmo,
4067 .fast_io_fail_tmo = &srp_fast_io_fail_tmo,
/linux/drivers/scsi/ibmvscsi/
A Dibmvfc.c5532 if (rport && rport->fast_io_fail_tmo == -1) in ibmvfc_do_work()

Completed in 55 milliseconds