[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 16:07:51 +0200
On Mon, Aug 17, 2009 at 03:46:40PM +0200, Vladimir 'phcoder' Serbinenko wrote:
> On Mon, Aug 17, 2009 at 3:32 PM, Robert Millan<address@hidden> wrote:
> > 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.
> In this case 'var' stands for a 'variable' which is sensible in this
> case since it's environment variable name.
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."