grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] btree support in xfs driver


From: Marco Gerards
Subject: Re: [PATCH] btree support in xfs driver
Date: Fri, 01 Feb 2008 17:55:34 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Bean <address@hidden> writes:

Hi!

> change in this new patch:
>
> Fix small bug in xfs
> Fix a bug in fshelp
> Define NESTED_FUNC_ATTR as regparm(1) and us it for call_hook.
>
> With this patch, i'm able to load a highly sparse file about 200M.
>
>
> 2008-02-01  Bean  <address@hidden>
>       
>       * fs/xfs.c (grub_xfs_sblock): New member log2_dirblk.
>       (grub_xfs_btree_node): New structure.
>       (grub_xfs_btree_root): New structure.
>       (grub_xfs_inode): New members nblocks, extsize, nextents and btree.
>       (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 NESTED_FUNC_ATTR in call_hook.
>       Use directory block as basic unit.
>
>       * fs/fshelp.c (grub_fshelp_read_file): Bug fix for sparse block.
>       
>       * aclocal.m4 (grub_i386_CHECK_REGPARM_BUG): Define NESTED_FUNC_ATTR as
>       __attribute__ ((__regparm__ (1))).

Looks fine to me! :-)

--
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]