From: Jeff Garzik <jeff@garzik.org>
To: Matthew Wilcox <matthew@wil.cx>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH] Asynchronous scan support for libata
Date: Tue, 02 Oct 2007 10:41:11 -0400 [thread overview]
Message-ID: <47025887.2090006@garzik.org> (raw)
In-Reply-To: <20070906210505.GF27404@parisc-linux.org>
Matthew Wilcox wrote:
> Last December, I posted this: http://lwn.net/Articles/213635/
>
> Here's an updated version. It shaves 5 seconds off boot time on my
> configuration (qla2xxx, emulex, two ata_piix, dual fusion), but could
> save more or less on other setups.
>
> I think I can remove the 'sync' argument and code from
> ata_scsi_scan_host() now, but wanted to send out this update today.
>
> ---
>
> Some of the drivers (AHCI was mentioned to me as a culprit) take a long
> time to discover all the devices attached to them. Even for ones which
> are relatively quick, if you put a lot of them in a machine, it will
> take a long time in aggregate. This can be fixed by adding support for
> asynchronous scsi scans, which causes the time-consuming portions of
> initialisation to take place in threads.
>
> Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Did you look at SATA alone?
Since SATA does its own scan asynchronously from SCSI itself, doing this
seems of little value. This patch doesn't change AHCI scanning at all,
for example.
Quite willing to be convinced otherwise, though...
Jeff
next prev parent reply other threads:[~2007-10-02 14:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-06 21:05 [PATCH] Asynchronous scan support for libata Matthew Wilcox
2007-09-08 8:10 ` Tejun Heo
2007-09-08 17:19 ` Matthew Wilcox
2007-09-08 17:34 ` Jeff Garzik
2007-09-08 20:27 ` Tejun Heo
2007-09-08 17:40 ` Tejun Heo
2007-09-08 18:48 ` Alan Cox
2007-10-02 14:41 ` Jeff Garzik [this message]
2007-10-04 13:21 ` Matthew Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47025887.2090006@garzik.org \
--to=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=matthew@wil.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).