diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2010-06-21 12:11:32 +0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-22 02:05:07 +0400 |
commit | c2af7545aaff3495d9bf9a7608c52f0af86fb194 (patch) | |
tree | 9a30d2da8ecabc075f46424cd4c20290b6b9b5ec /drivers/scsi/constants.c | |
parent | 30b6777b8931afc5f3aa42858fe917938b570f79 (diff) | |
download | linux-c2af7545aaff3495d9bf9a7608c52f0af86fb194.tar.xz |
[SCSI] zfcp: Do not wait for SBALs on stopped queue
Trying to read the FC host statistics on an offline adapter results in
a 5 seconds wait. Reading the statistics tries to issue an exchange
port data request which first waits up to 5 seconds for an entry in
the request queue.
Change the strategy for getting a free SBAL to exit when the queue is
stopped. Reading the statistics will then fail without the wait.
Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/constants.c')
0 files changed, 0 insertions, 0 deletions