lkml.org 
[lkml]   [2010]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2010-10-13 11:49    [W:0.038 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site