Home
last modified time | relevance | path

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

/drivers/scsi/
Dscsi_transport_srp.c84 int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo, long dev_loss_tmo) in srp_tmo_valid() argument
86 if (reconnect_delay < 0 && fast_io_fail_tmo < 0 && dev_loss_tmo < 0) in srp_tmo_valid()
90 if (fast_io_fail_tmo > SCSI_DEVICE_BLOCK_MAX_TIMEOUT) in srp_tmo_valid()
92 if (fast_io_fail_tmo < 0 && in srp_tmo_valid()
97 if (fast_io_fail_tmo >= 0 && dev_loss_tmo >= 0 && in srp_tmo_valid()
98 fast_io_fail_tmo >= dev_loss_tmo) in srp_tmo_valid()
230 res = srp_tmo_valid(delay, rport->fast_io_fail_tmo, in store_reconnect_delay()
268 return srp_show_tmo(buf, rport->fast_io_fail_tmo); in show_srp_rport_fast_io_fail_tmo()
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()
[all …]
Dscsi_transport_fc.c1167 if (rport->fast_io_fail_tmo == -1 && in fc_rport_set_dev_loss_tmo()
1300 if (rport->fast_io_fail_tmo == -1) in show_fc_rport_fast_io_fail_tmo()
1302 return snprintf(buf, 20, "%d\n", rport->fast_io_fail_tmo); in show_fc_rport_fast_io_fail_tmo()
1319 rport->fast_io_fail_tmo = -1; in store_fc_rport_fast_io_fail_tmo()
1332 rport->fast_io_fail_tmo = val; in store_fc_rport_fast_io_fail_tmo()
1336 static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR,
2732 SETUP_PRIVATE_RPORT_ATTRIBUTE_RW(fast_io_fail_tmo); in fc_attach_transport()
3077 rport->fast_io_fail_tmo = -1; in fc_remote_port_create()
3454 if ((rport->fast_io_fail_tmo != -1) && in fc_remote_port_delete()
3455 (rport->fast_io_fail_tmo < timeout)) in fc_remote_port_delete()
[all …]
/drivers/nvme/host/
Dfabrics.c616 opts->fast_io_fail_tmo = NVMF_DEF_FAIL_FAST_TMO; in nvmf_parse_options()
749 opts->fast_io_fail_tmo = token; in nvmf_parse_options()
928 if (ctrl_loss_tmo < opts->fast_io_fail_tmo) in nvmf_parse_options()
930 opts->fast_io_fail_tmo, ctrl_loss_tmo); in nvmf_parse_options()
Dfabrics.h137 int fast_io_fail_tmo; member
Dcore.c169 if (!ctrl->opts || ctrl->opts->fast_io_fail_tmo == -1) in nvme_start_failfast_work()
173 ctrl->opts->fast_io_fail_tmo * HZ); in nvme_start_failfast_work()
3769 if (ctrl->opts->fast_io_fail_tmo == -1) in nvme_ctrl_fast_io_fail_tmo_show()
3771 return sysfs_emit(buf, "%d\n", ctrl->opts->fast_io_fail_tmo); in nvme_ctrl_fast_io_fail_tmo_show()
3779 int fast_io_fail_tmo, err; in nvme_ctrl_fast_io_fail_tmo_store() local
3781 err = kstrtoint(buf, 10, &fast_io_fail_tmo); in nvme_ctrl_fast_io_fail_tmo_store()
3785 if (fast_io_fail_tmo < 0) in nvme_ctrl_fast_io_fail_tmo_store()
3786 opts->fast_io_fail_tmo = -1; in nvme_ctrl_fast_io_fail_tmo_store()
3788 opts->fast_io_fail_tmo = fast_io_fail_tmo; in nvme_ctrl_fast_io_fail_tmo_store()
3791 static DEVICE_ATTR(fast_io_fail_tmo, S_IRUGO | S_IWUSR,
/drivers/infiniband/ulp/srp/
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,
4127 .fast_io_fail_tmo = &srp_fast_io_fail_tmo,
/drivers/scsi/ibmvscsi/
Dibmvfc.c5659 if (rport && rport->fast_io_fail_tmo == -1) in ibmvfc_do_work()