Messages in this thread | | | Date | Wed, 13 Oct 2010 11:45:38 +0200 | From | Tejun Heo <> | Subject | Re: [PATCH unfinished update] firewire: sbp2: parallelize login/inquiry, reconnect, and shutdown |
| |
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
| |