[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] make search faster by first trying without module autoloadin
Re: [PATCH] make search faster by first trying without module autoloading
Mon, 17 Aug 2009 15:32:30 +0200
On Fri, Aug 14, 2009 at 05:58:20PM +0200, Vladimir 'phcoder' Serbinenko wrote:
> Hello. When search encounters an unknown filesystem or filesystem
> without partition it triggers fs module autoload which takes
> noticeable time. To improve the situation I propose (after discussing
> with Robert Millan) to first search without autoloading modules if we
> need to find only one device (with --set ) and retry with autoloading
> if without autoloading the search failed. Additionally I modify
> grub-mkconfig to load correct module manually before issuing search to
> decrease booting time if filesystem is different that our boot one.
Looks good to me. Also, I think Yves suggestion is a good idea.
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."