[syslinux] [PATCH] xfs: Add support for v3 directories

Ady ady-sf at hotmail.com
Fri Jan 8 05:06:13 PST 2016


> Besides supporting newer version of xfs file system, this patch also
> does some code refactoring and fix completely broken listing and
> searching on v2-3 node directories.
> 

> Signed-off-by: Paulo Alcantara <pcacjr at zytor.com>
> ---
>  core/fs/xfs/xfs.c         |  19 +--
>  core/fs/xfs/xfs.h         | 155 +++++++++++++++++++-----
>  core/fs/xfs/xfs_dinode.c  |   2 +-
>  core/fs/xfs/xfs_dir2.c    | 296 +++++++++++++++++++++++++---------------------
>  core/fs/xfs/xfs_dir2.h    |   6 +-
>  core/fs/xfs/xfs_readdir.c | 151 ++++++++++++++---------
>  6 files changed, 399 insertions(+), 230 deletions(-)
> 
 
Are there any reasons not to commit this patch (sent during 2015Dec)?

Additionally:

1_ There was a patch sent by Paulo during 2015Jul:

 xfs: use cache_read() to read contiguous fs blocks 

Is it still adequate / relevant / valid / current/ needed / desired?

Another patch, "xfs: rename xfs_is_valid_magicnum to xfs_is_valid_sb", 
also sent during 2015Jul, was already committed.


2_ In "mbr/mbr.S" as of v.6.03, there is specific code for XFS' VBRs.

Besides the resulting "mbr.bin", are others "bios/mbr/*.bin" binaries 
capable of a similar / equivalent resulting feature (i.e. using XFS as 
boot partition for EXTLINUX)?

If this feature is currently (v.6.03) available only to "mbr.bin", is 
there a way to make this feature more "*mbr*.bin"-generic, making it 
available to additional "bios/mbr/*.bin" binaries? Would this feature 
be useful / needed for any other "bios/mbr/*.bin" binary?

Is there a need to add a similar / equivalent feature to "gptmbr.S"? 
Or, in other words, can XFS be used to boot EXTLINUX in a GPT scheme 
(in BIOS)? Normally, I would had tested this matter before asking here; 
unfortunately I am unable to perform tests at this time (and will be 
unable to test for the foreseeable future).

TIA,
Ady.


More information about the Syslinux mailing list