Re: [PATCH unfinished update] firewire: sbp2: parallelize login/inquiry,reconnect, and shutdown

From: Tejun Heo
Date: Wed Oct 13 2010 - 05:46:06 EST


Hello,

On 10/13/2010 01:09 AM, Stefan Richter wrote:
> More extensive change but probably with simpler end result: Let
> sbp2_probe and sbp2_update perform login/scsi_add_device/reconnect
> directly. sbp2_probe and sbp2_update are serialized per node, but
> (since 2.6.36 with cmwq) parallelized across nodes.

I don't know much about firewire details but just in case it helps.
libata does the ATA part of probing in parallel using the async
mechanism (which is a wrapper around workqueue now) and executes the
SCSI probing in a serialized context. If SCSI parallel probing is
causing the problem, maybe firewire can do similar thing? The
difference between using async and workqueue directly is only in how
things can be ordered. There are cases where parallelizing probe is
easier with async but one way or the other it shouldn't matter too
much.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/