aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2009-11-05 11:18:09 -0600
committerJames Bottomley <[email protected]>2009-12-04 12:01:32 -0600
commit2bc1c59dbdefdb6f9767e06efb86bbdb2923a8be (patch)
tree93354f4eccceb4f86eaa5ad50274ce3460ede74d /lib/cpu-notifier-error-inject.c
parent97ee20886cfd257a7818087c1638ca60b9ffd192 (diff)
[SCSI] fc class: fail fast bsg requests
If the port state is blocked and the fast io fail tmo has fired then this patch will fail bsg requests immediately. This is needed if userspace is sending IOs to test the transport like with fcping, so it will not have to wait for the dev loss tmo. With this patch he bsg req fast io fail code behaves like the normal and sg io/passthrough fast io fail. Signed-off-by: Mike Christie <[email protected]> Acked-By: James Smart <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions