diff options
author | James Smart <james.smart@emulex.com> | 2010-08-31 22:27:31 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-09-09 15:37:40 -0500 |
commit | 78d16341facf829a71b6f7c68ec5511b9c168060 (patch) | |
tree | ea63d438409b6b955f8514268bc368bf5a99c4d3 /drivers/pps | |
parent | 91978465b1e5f89025cd43cd2102943160ec6dee (diff) | |
download | blackbird-obmc-linux-78d16341facf829a71b6f7c68ec5511b9c168060.tar.gz blackbird-obmc-linux-78d16341facf829a71b6f7c68ec5511b9c168060.zip |
[SCSI] scsi_transport_fc: fix blocked bsg request when fc object deleted
When an rport is "blocked" and a bsg request is received, the bsg request gets
placed on the queue but the queue stalls. If the fc object is then deleted - the
bsg queue never restarts and keeps the reference on the object, and stops the
overall teardown.
This patch restarts the bsg queue on teardown and drains any pending requests,
allowing the teardown to succeed.
Signed-off-by: Carl Lajeunesse <carl.lajeunesse@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions