]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/xfs_ialloc_btree.c
libxfs: sync files with 2.6.38 kernel code
authorDave Chinner <david@fromorbit.com>
Mon, 25 Jul 2011 20:46:18 +0000 (06:46 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 25 Jul 2011 20:46:18 +0000 (06:46 +1000)
commit56b2de8004705cc3fb08d98afd27b87a9b886962
treeab00c10568edde29e96788c18ebaf17dff5b113a
parentc40bdaa2343c31471f96093b69af546ffca7955f
libxfs: sync files with 2.6.38 kernel code

Bring the libxfs headers and code into sync with the 2.6.37 kernel code.
Update the rest of xfsprogs to work with the new code.

Note: this does not convert xfsprogs to the kernel xfs_trans_ijoin\ijoin_ref
interface, it maintains the older ijoin/ihold interface because of the
different way the inode reference counting works in libxfs. More work will be
needed to change it over to a manner compatible with the current kernel API.

Note: log sector size handling needs to be sorted out. Specifically,
initialising l_sectbb_log/l_sectBBsize correctly and removing the hacks in
xlog_bread and friends (libxlog/xfs_log_recover.c) to work around the fact they
are not initialised correctly. (FWIW, I don't think xfsprogs handles large log
sector size correctly as a result, and especially not if the log device sector
size is different to the data device sector size).

Testing:

Currently passes xfstests on x86_64 w/ 4k block sizes and 512 byte block/2k
directory block filesystems. No obvious regressions are occurring during
xfstests runs.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
78 files changed:
db/attr.c
db/attrset.c
db/bmap.c
db/bmap.h
db/check.c
db/convert.c
db/dir2sf.c
db/field.c
db/frag.c
db/inode.c
db/metadump.c
include/Makefile
include/libxfs.h
include/xfs_ag.h
include/xfs_alloc.h
include/xfs_arch.h
include/xfs_attr_leaf.h
include/xfs_attr_sf.h
include/xfs_bit.h
include/xfs_bmap.h
include/xfs_bmap_btree.h
include/xfs_btree.h
include/xfs_btree_trace.h
include/xfs_da_btree.h
include/xfs_dfrag.h
include/xfs_dinode.h
include/xfs_dir2.h
include/xfs_dir2_data.h
include/xfs_dir2_node.h
include/xfs_dir2_sf.h
include/xfs_fs.h
include/xfs_ialloc.h
include/xfs_ialloc_btree.h
include/xfs_imap.h [deleted file]
include/xfs_inode.h
include/xfs_inode_item.h
include/xfs_inum.h
include/xfs_mount.h
include/xfs_quota.h
include/xfs_rtalloc.h
include/xfs_sb.h
include/xfs_trace.h
include/xfs_trans_space.h
include/xfs_types.h
libxfs/init.c
libxfs/logitem.c
libxfs/trans.c
libxfs/util.c
libxfs/xfs.h
libxfs/xfs_alloc.c
libxfs/xfs_alloc_btree.c
libxfs/xfs_attr.c
libxfs/xfs_attr_leaf.c
libxfs/xfs_bmap.c
libxfs/xfs_bmap_btree.c
libxfs/xfs_btree.c
libxfs/xfs_da_btree.c
libxfs/xfs_dir2.c
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_dir2_sf.c
libxfs/xfs_ialloc.c
libxfs/xfs_ialloc_btree.c
libxfs/xfs_inode.c
libxfs/xfs_mount.c
logprint/log_misc.c
mkfs/proto.c
mkfs/xfs_mkfs.c
repair/attr_repair.c
repair/dino_chunks.c
repair/dinode.c
repair/dir.c
repair/dir2.c
repair/incore.h
repair/phase6.c
repair/prefetch.c
repair/rt.c