Revision a3384067fb0df9c58e112ac6a5ec9beb7d169482 authored by Stefan Richter on 16 August 2008, 11:39:26 UTC, committed by Stefan Richter on 19 August 2008, 16:47:56 UTC
sbp2 was too quick to report .update() to the ieee1394 core as failed.
(Logged as "Failed to reconnect to sbp2 device!".)  The core would then
unbind sbp2 from the device.

This is not justified if the .update() failed because another bus reset
happened.  We check this and tell the ieee1394 that .update() succeeded,
and the core will call sbp2's .update() for the new bus reset as well.

This improves reconnection/re-login especially on buses with several
disks as they may issue bus resets in close succession when they come
online.

Tested by Damien Benoist.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
1 parent c921a97
History
File Mode Size
drivers
include
kernel
os-Linux
scripts
sys-i386
sys-ia64
sys-ppc
sys-x86_64
Kconfig -rw-r--r-- 6.5 KB
Kconfig.char -rw-r--r-- 8.4 KB
Kconfig.debug -rw-r--r-- 1.0 KB
Kconfig.i386 -rw-r--r-- 826 bytes
Kconfig.net -rw-r--r-- 8.5 KB
Kconfig.x86_64 -rw-r--r-- 522 bytes
Makefile -rw-r--r-- 6.9 KB
Makefile-i386 -rw-r--r-- 1.4 KB
Makefile-ia64 -rw-r--r-- 32 bytes
Makefile-os-Linux -rw-r--r-- 205 bytes
Makefile-ppc -rw-r--r-- 203 bytes
Makefile-skas -rw-r--r-- 290 bytes
Makefile-x86_64 -rw-r--r-- 640 bytes
defconfig -rw-r--r-- 14.9 KB

back to top