• Stefan Richter's avatar
    ieee1394: run high-level updates before high-level probes · 51c1d80e
    Stefan Richter authored
    After a bus reset, let nodemgr call high-level update hooks first for nodes
    which do not need to be probed.  The main benefit is for a bus with more
    than one SBP-2 device:  SBP-2 reconnects will be performed before SBP-2
    logins, thus have a much higher chance to succeed, and their SCSI devices
    will not be blocked much longer than necessary.  This was demonstrated for
    Linux 2.4 by Dave Cinege a while ago.
    A better approach would be to perform time-consuming probes in parallel by a
    subthread.  I actually plan to implement this for sbp2 but it may take a
    while to get that done and tested.  Until then, this tweak is a huge
    improvement for users with multiple SBP-2 devices.
    Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: default avatarJody McIntyre <scjody@modernduck.com>