Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Md2Y4-0008SN-5M for mharc-grub-devel@gnu.org; Mon, 17 Aug 2009 09:46:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Md2Xw-0008Om-6M for grub-devel@gnu.org; Mon, 17 Aug 2009 09:46:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Md2Xq-0008LY-VZ for grub-devel@gnu.org; Mon, 17 Aug 2009 09:46:47 -0400 Received: from [199.232.76.173] (port=57508 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md2Xq-0008Kw-25 for grub-devel@gnu.org; Mon, 17 Aug 2009 09:46:42 -0400 Received: from mail-fx0-f219.google.com ([209.85.220.219]:54423) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Md2Xp-0002cd-Ez for grub-devel@gnu.org; Mon, 17 Aug 2009 09:46:41 -0400 Received: by fxm19 with SMTP id 19so2441627fxm.2 for ; Mon, 17 Aug 2009 06:46:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=F+MSBLuefJ02V3carXwm+Mrzqq7Wo8l86siAVGrI0Ss=; b=OCoPyicVJ/lQgDgf1q+Cmzv5fUE3JC2DaRzDB+0QaYL5eMF4Z+16l+mok7f35vHHaZ WHuxvLgu927P1z0j8P9lW7ZhkcOGhav/nbMxC1+dEjbH7JLB83Exbrn6nivoTy66GWWd s1RDxJ7Undy1Nsy650y4oNJCB6sNLZExAdmdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Rrp9DarjCCING3PSaNpLEBsxER1qQ+1XXHCBzcpx6NBpnjrqwA/eGDiLed2RLBGPZG u3BJGu3NMlI8pC+NSOR0fss6iCuz40iefIY+qDJArNWejhTnb38TW93/y5UYQbmEx2zD susSeTDc8xW6xa2Sxv0ES6sQ19+/luF6gvxQk= MIME-Version: 1.0 Received: by 10.204.3.10 with SMTP id 10mr2700073bkl.196.1250516800138; Mon, 17 Aug 2009 06:46:40 -0700 (PDT) In-Reply-To: <20090817133230.GF32551@thorin> References: <20090817133230.GF32551@thorin> Date: Mon, 17 Aug 2009 15:46:40 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] make search faster by first trying without module autoloading X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 13:46:48 -0000 On Mon, Aug 17, 2009 at 3:32 PM, Robert Millan wrote: > On Fri, Aug 14, 2009 at 05:58:20PM +0200, Vladimir 'phcoder' Serbinenko w= rote: >> 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. =A0Also, 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. > -- > Robert Millan > > =A0The DRM opt-in fallacy: "Your data belongs to us. We will decide when = (and > =A0how) you may access your data; but nobody's threatening your freedom: = we > =A0still allow you to remove your data and not access it at all." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git