From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKfVo-0003Kz-WB for mharc-grub-devel@gnu.org; Thu, 31 Jan 2008 14:55:53 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKfVm-0003Ka-Ur for grub-devel@gnu.org; Thu, 31 Jan 2008 14:55:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKfVi-0003JP-Cm for grub-devel@gnu.org; Thu, 31 Jan 2008 14:55:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKfVi-0003JD-4J for grub-devel@gnu.org; Thu, 31 Jan 2008 14:55:46 -0500 Received: from smtp-vbr11.xs4all.nl ([194.109.24.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JKfVh-0003Sl-Qb for grub-devel@gnu.org; Thu, 31 Jan 2008 14:55:46 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0VJtiiS097303 for ; Thu, 31 Jan 2008 20:55:44 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: Mail-Copies-To: mgerards@xs4all.nl Date: Thu, 31 Jan 2008 20:57:21 +0100 In-Reply-To: (bean123ch@gmail.com's message of "Fri, 1 Feb 2008 03:40:20 +0800") Message-ID: <87prvhg44e.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: [PATCH] btree support in xfs driver 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: Thu, 31 Jan 2008 19:55:51 -0000 Bean writes: Hi Bean! > I add btree support for the xfs driver, and fix a few bugs. Now i' m > able to list a directory of over 5000 files, please test it. You rock! Can you load big files now, that are stored in BTrees. Did you use code from elsewhere? > 2008-02-01 Bean > > * fs/xfs.h (grub_xfs_sblock): New member log2_dirblk. > (grub_xfs_btree_node): New structure. > (grub_xfs_btree_root): New structure. > (grub_xfs_inode): New member nblocks, extsize, nextents and btree. members > (GRUB_XFS_EXTENT_OFFSET): Use exts instead of inode->data.extents. > (GRUB_XFS_EXTENT_BLOCK): Likewise. > (GRUB_XFS_EXTENT_SIZE): Likewise. > (grub_xfs_read_block): Support btree format type. > (grub_xfs_iterate_dir): Use regparm(1) attribute in call_hook. > Use directory block as basic unit. This won't work on non-i386. So I think this has to be fixed like that other bug, for example with the autoconf check extension you proposed. -- Marco