Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KFME1-00083t-Uc for mharc-grub-devel@gnu.org; Sun, 06 Jul 2008 00:51:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KFME0-00083j-Bq for grub-devel@gnu.org; Sun, 06 Jul 2008 00:51:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KFMDy-00083X-H2 for grub-devel@gnu.org; Sun, 06 Jul 2008 00:51:47 -0400 Received: from [199.232.76.173] (port=53800 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFMDy-00083U-Ds for grub-devel@gnu.org; Sun, 06 Jul 2008 00:51:46 -0400 Received: from ti-out-0910.google.com ([209.85.142.184]:49565) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KFMDx-0004Si-PQ for grub-devel@gnu.org; Sun, 06 Jul 2008 00:51:46 -0400 Received: by ti-out-0910.google.com with SMTP id u5so228003tia.10 for ; Sat, 05 Jul 2008 21:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1LNtfGoj4VP2IAOOfZz5XZ/yczVj1kSoTJhoYqTqlK8=; b=cLSlrIvkgZM4yD+mgI+wGYI5kjgHqzMVRvGC3nE5IhrX/Xts1B+PlIU6bfLRPrxjyR Xc7QKaq+7H4zusUC3Tj8DqC1YwiCHohBTcNkjzEVo9GLRWoJeVUoyNdVhjOGgulmWXWi Cqn4eia5PDiV+EM4TX8ePUtfWaATY3EchvZBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OiM2Hl6I6t7G30CnsLobYSOqE4JAX3fiDprpOGpGW8WQ9oICvACLK8JzCKFp7DoJfg L/hhXnQ4YFHhaAMoPRYo7k1kjqByoKhAfnW3JrKASLk+izbTjyqp203HbUFMwmki9GT2 IjmpR1TGEGd7ARleGV++QeslOUL6tKjwZjUP0= Received: by 10.110.84.2 with SMTP id h2mr1440729tib.53.1215319903690; Sat, 05 Jul 2008 21:51:43 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Sat, 5 Jul 2008 21:51:43 -0700 (PDT) Message-ID: Date: Sun, 6 Jul 2008 12:51:43 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <1215281387.26019.165.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <093372862DBE4609B5E55A4C604737C8@fz> <1215264343.26019.156.camel@localhost> <262BB7DC1FC147F1B3D090FC721CCB00@fz> <1215281387.26019.165.camel@localhost> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] ext4 extent support 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: Sun, 06 Jul 2008 04:51:48 -0000 On Sun, Jul 6, 2008 at 2:09 AM, Javier Mart=EDn wrot= e: > El s=E1b, 05-07-2008 a las 19:15 +0200, Felix Zielcke escribi=F3: >> From: "JavierMart=EDn" >> Sent: Saturday, July 05, 2008 3:25 PM >> To: "The development of GRUB 2" >> Subject: Re: [PATCH] ext4 extent support >> >> >I think flex_bg support is unimplemented right now (at least I didn't >> >see it anywhere), but it "worked" because it's not being used? Just a >> >guess >> >> I just checked. >> Kernel 2.6.26-rc8 has a bit code with flex_bg >> e2fsprogs 1.41WIP from Debian experimantel has a bit more code with flex >> (not much with flex_bg more flexbg or just _flex) >> But I don't know much C so I don't understand the code :) >> Anyway I think the most important ext4 support are extents, because you = can >> enable them by just remounting to ext4 as long as you don't use noextent= s >> mount option >> flex_bg can only be enabled by mkfs.ext4(dev) not afterwards with tune2f= s >> but it's default enabled in mke2fs.conf for ext4(dev) >> uninit_bg isn't enabled by default and can be enabled afterwards with >> tune2fs but resize2fs isn't currently working with it > I mean unimplemented in GRUB right now. IIrc, flex_bg relaxes some of > the rules governing the location of the metadata block groups or > something like that, so that they can be placed in "arbitrary" > locations. Hi, I found the description of flex_bg: This feature relaxes check restrictions on where each block groups meta dat= a is located within the storage media. This allows for the allocation of bitmaps= or inode tables outside the block group boundaries in cases where bad blocks f= orces us to look for new blocks which the owning block group can not satisfy. Thi= s will also allow for new meta-data allocation schemes to improve performance= and scalability. The reallocation only occurs when bad blocks force us to use another block group, which is quite rare. So we should silently ignore this flag. --=20 Bean