diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-02-15 21:29:02 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-02-16 15:40:35 +0100 |
commit | e80de3704ac30ddb7f9a12447a2ecee32ccd7880 (patch) | |
tree | 87ffc83df0d904b48af17177266ba604c2a3fd86 /drivers/usb/storage/freecom.c | |
parent | 7bb6bf7c8ba0b4ccfecaa00d6faea51b0bd42c8c (diff) | |
download | linux-stable-e80de3704ac30ddb7f9a12447a2ecee32ccd7880.tar.gz linux-stable-e80de3704ac30ddb7f9a12447a2ecee32ccd7880.tar.bz2 linux-stable-e80de3704ac30ddb7f9a12447a2ecee32ccd7880.zip |
firewire: fw-sbp2: enforce a retry of __scsi_add_device if bus generation changed
fw-sbp2 is unable to reconnect while performing __scsi_add_device
because there is only a single workqueue thread context available for
both at the moment. This should be fixed eventually.
An actual failure of __scsi_add_device is easy to handle, but an
incomplete execution of __scsi_add_device with an sdev returned would
remain undetected and leave the SBP-2 target unusable.
Therefore we use a workaround: If there was a bus reset during
__scsi_add_device (i.e. during the SCSI probe), we remove the new sdev
immediately, log out, and attempt login and SCSI probe again.
Tested-by: Jarod Wilson <jwilson@redhat.com> (earlier version)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/usb/storage/freecom.c')
0 files changed, 0 insertions, 0 deletions