[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CB57FC2.9020509@kernel.org>
Date: Wed, 13 Oct 2010 11:45:38 +0200
From: Tejun Heo <tj@...nel.org>
To: Stefan Richter <stefanr@...6.in-berlin.de>
CC: linux1394-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists