Home
last modified time | relevance | path

Searched refs:fast_io_fail_tmo (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_transport_srp.c74 * @fast_io_fail_tmo: Fast I/O fail timeout in seconds.
84 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
464 int delay, fast_io_fail_tmo, dev_loss_tmo; __srp_start_tl_fail_timers() local
[all...]
H A Dscsi_transport_fc.c54 " fast_io_fail_tmo is not set.");
874 if (rport->fast_io_fail_tmo == -1 && in fc_rport_set_dev_loss_tmo()
947 * fast_io_fail_tmo attribute
955 if (rport->fast_io_fail_tmo == -1) in show_fc_rport_fast_io_fail_tmo()
957 return snprintf(buf, 20, "%d\n", rport->fast_io_fail_tmo); in show_fc_rport_fast_io_fail_tmo()
974 rport->fast_io_fail_tmo = -1; in store_fc_rport_fast_io_fail_tmo()
987 rport->fast_io_fail_tmo = val; in store_fc_rport_fast_io_fail_tmo()
991 static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR,
2267 SETUP_PRIVATE_RPORT_ATTRIBUTE_RW(fast_io_fail_tmo); in fc_attach_transport()
2612 rport->fast_io_fail_tmo in fc_remote_port_create()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_transport_srp.c74 * @fast_io_fail_tmo: Fast I/O fail timeout in seconds.
84 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
464 int delay, fast_io_fail_tmo, dev_loss_tmo; __srp_start_tl_fail_timers() local
[all...]
H A Dscsi_transport_fc.c60 " fast_io_fail_tmo is not set.");
1170 if (rport->fast_io_fail_tmo == -1 && in fc_rport_set_dev_loss_tmo()
1295 * fast_io_fail_tmo attribute
1303 if (rport->fast_io_fail_tmo == -1) in show_fc_rport_fast_io_fail_tmo()
1305 return snprintf(buf, 20, "%d\n", rport->fast_io_fail_tmo); in show_fc_rport_fast_io_fail_tmo()
1322 rport->fast_io_fail_tmo = -1; in store_fc_rport_fast_io_fail_tmo()
1335 rport->fast_io_fail_tmo = val; in store_fc_rport_fast_io_fail_tmo()
1339 static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR,
2735 SETUP_PRIVATE_RPORT_ATTRIBUTE_RW(fast_io_fail_tmo); in fc_attach_transport()
3080 rport->fast_io_fail_tmo in fc_remote_port_create()
[all...]
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_transport_srp.h48 * @fast_io_fail_tmo: Fast I/O fail timeout in seconds.
70 int fast_io_fail_tmo; member
80 * @has_rport_state: Whether or not to create the state, fast_io_fail_tmo and
85 * @fast_io_fail_tmo: If not NULL, points to the default fast_io_fail_tmo value.
98 int *fast_io_fail_tmo; member
114 extern int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo,
H A Dscsi_transport_fc.h337 u32 fast_io_fail_tmo; member
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_transport_srp.h48 * @fast_io_fail_tmo: Fast I/O fail timeout in seconds.
70 int fast_io_fail_tmo; member
80 * @has_rport_state: Whether or not to create the state, fast_io_fail_tmo and
85 * @fast_io_fail_tmo: If not NULL, points to the default fast_io_fail_tmo value.
98 int *fast_io_fail_tmo; member
114 extern int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo,
H A Dscsi_transport_fc.h369 u32 fast_io_fail_tmo; member
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dsysfs.c353 if (ctrl->opts->fast_io_fail_tmo == -1) in nvme_ctrl_fast_io_fail_tmo_show()
355 return sysfs_emit(buf, "%d\n", ctrl->opts->fast_io_fail_tmo); in nvme_ctrl_fast_io_fail_tmo_show()
363 int fast_io_fail_tmo, err; in nvme_ctrl_fast_io_fail_tmo_store() local
365 err = kstrtoint(buf, 10, &fast_io_fail_tmo); in nvme_ctrl_fast_io_fail_tmo_store()
369 if (fast_io_fail_tmo < 0) in nvme_ctrl_fast_io_fail_tmo_store()
370 opts->fast_io_fail_tmo = -1; in nvme_ctrl_fast_io_fail_tmo_store()
372 opts->fast_io_fail_tmo = fast_io_fail_tmo; in nvme_ctrl_fast_io_fail_tmo_store()
375 static DEVICE_ATTR(fast_io_fail_tmo, S_IRUGO | S_IWUSR,
H A Dfabrics.h104 * @fast_io_fail_tmo: Fast I/O fail timeout in seconds
130 int fast_io_fail_tmo; member
H A Dfabrics.c646 { NVMF_OPT_FAIL_FAST_TMO, "fast_io_fail_tmo=%d" },
672 opts->fast_io_fail_tmo = NVMF_DEF_FAIL_FAST_TMO; in nvmf_parse_options()
807 opts->fast_io_fail_tmo = token; in nvmf_parse_options()
982 if (ctrl_loss_tmo < opts->fast_io_fail_tmo) in nvmf_parse_options()
984 opts->fast_io_fail_tmo, ctrl_loss_tmo); in nvmf_parse_options()
H A 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()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srp/
H 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,
127 " if fast_io_fail_tmo has not been set. \"off\" means that"
4097 .fast_io_fail_tmo = &srp_fast_io_fail_tmo,
/kernel/linux/linux-6.6/drivers/infiniband/ulp/srp/
H A Dib_srp.c107 module_param_cb(fast_io_fail_tmo, &srp_tmo_ops, &srp_fast_io_fail_tmo,
109 MODULE_PARM_DESC(fast_io_fail_tmo,
122 " if fast_io_fail_tmo has not been set. \"off\" means that"
4122 .fast_io_fail_tmo = &srp_fast_io_fail_tmo,
/kernel/linux/linux-6.6/drivers/scsi/ibmvscsi/
H A Dibmvfc.c5659 if (rport && rport->fast_io_fail_tmo == -1) in ibmvfc_do_work()

Completed in 49 milliseconds