Searched refs:fast_io_fail_tmo (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/include/scsi/ |
H A D | scsi_transport_srp.h | 47 * @fast_io_fail_tmo: Fast I/O fail timeout in seconds. 69 int fast_io_fail_tmo; member in struct:srp_rport 79 * @has_rport_state: Whether or not to create the state, fast_io_fail_tmo and 84 * @fast_io_fail_tmo: If not NULL, points to the default fast_io_fail_tmo value. 101 int *fast_io_fail_tmo; member in struct:srp_function_template 120 extern int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo,
|
H A D | scsi_transport_fc.h | 344 u32 fast_io_fail_tmo; member in struct:fc_rport
|
/linux-4.4.14/drivers/scsi/ |
H A D | scsi_transport_srp.c | 72 * @fast_io_fail_tmo: Fast I/O fail timeout in seconds. 82 int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo, int dev_loss_tmo) srp_tmo_valid() argument 84 if (reconnect_delay < 0 && fast_io_fail_tmo < 0 && dev_loss_tmo < 0) srp_tmo_valid() 88 if (fast_io_fail_tmo > SCSI_DEVICE_BLOCK_MAX_TIMEOUT) srp_tmo_valid() 90 if (fast_io_fail_tmo < 0 && srp_tmo_valid() 95 if (fast_io_fail_tmo >= 0 && dev_loss_tmo >= 0 && srp_tmo_valid() 96 fast_io_fail_tmo >= dev_loss_tmo) srp_tmo_valid() 237 res = srp_tmo_valid(delay, rport->fast_io_fail_tmo, store_reconnect_delay() 275 return srp_show_tmo(buf, rport->fast_io_fail_tmo); show_srp_rport_fast_io_fail_tmo() 284 int fast_io_fail_tmo; store_srp_rport_fast_io_fail_tmo() local 286 res = srp_parse_tmo(&fast_io_fail_tmo, buf); store_srp_rport_fast_io_fail_tmo() 289 res = srp_tmo_valid(rport->reconnect_delay, fast_io_fail_tmo, store_srp_rport_fast_io_fail_tmo() 293 rport->fast_io_fail_tmo = fast_io_fail_tmo; store_srp_rport_fast_io_fail_tmo() 300 static DEVICE_ATTR(fast_io_fail_tmo, S_IRUGO | S_IWUSR, 324 res = srp_tmo_valid(rport->reconnect_delay, rport->fast_io_fail_tmo, store_srp_rport_dev_loss_tmo() 464 pr_info("fast_io_fail_tmo expired for SRP %s / %s.\n", rport_fast_io_fail_timedout() 498 int delay, fast_io_fail_tmo, dev_loss_tmo; __srp_start_tl_fail_timers() local 503 fast_io_fail_tmo = rport->fast_io_fail_tmo; __srp_start_tl_fail_timers() 513 if ((fast_io_fail_tmo >= 0 || dev_loss_tmo >= 0) && __srp_start_tl_fail_timers() 518 if (fast_io_fail_tmo >= 0) __srp_start_tl_fail_timers() 521 1UL * fast_io_fail_tmo * HZ); __srp_start_tl_fail_timers() 640 return rport->fast_io_fail_tmo < 0 && rport->dev_loss_tmo < 0 && srp_timed_out() 748 rport->fast_io_fail_tmo = i->f->fast_io_fail_tmo ? srp_rport_add() 749 *i->f->fast_io_fail_tmo : 15; srp_rport_add()
|
H A D | scsi_transport_fc.c | 70 " fast_io_fail_tmo is not set."); 883 if (rport->fast_io_fail_tmo == -1 && fc_rport_set_dev_loss_tmo() 956 * fast_io_fail_tmo attribute 964 if (rport->fast_io_fail_tmo == -1) show_fc_rport_fast_io_fail_tmo() 966 return snprintf(buf, 20, "%d\n", rport->fast_io_fail_tmo); show_fc_rport_fast_io_fail_tmo() 983 rport->fast_io_fail_tmo = -1; store_fc_rport_fast_io_fail_tmo() 996 rport->fast_io_fail_tmo = val; 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); fc_attach_transport() 2637 rport->fast_io_fail_tmo = -1; fc_rport_create() 3018 if ((rport->fast_io_fail_tmo != -1) && fc_remote_port_delete() 3019 (rport->fast_io_fail_tmo < timeout)) fc_remote_port_delete() 3021 rport->fast_io_fail_tmo * HZ); fc_remote_port_delete() 3294 * FC_PORTSTATE_BLOCKED, or the fast_io_fail_tmo fires. This is 3299 * FAST_IO_FAIL if the fast_io_fail_tmo fired, this should be
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 110 module_param_cb(fast_io_fail_tmo, &srp_tmo_ops, &srp_fast_io_fail_tmo, 112 MODULE_PARM_DESC(fast_io_fail_tmo, 125 " if fast_io_fail_tmo has not been set. \"off\" means that" 3579 .fast_io_fail_tmo = &srp_fast_io_fail_tmo,
|
Completed in 123 milliseconds