[PATCH 00/12] xfsprogs: introduce the free inode btree

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

 



Hi all,

This is the userspace portion of v1 finobt support corresponding to:

http://oss.sgi.com/archives/xfs/2013-10/msg00206.html

Patches 1-9 are straight application of the corresponding kernel patches
with omissions where appropriate. At this point, I'd suggest review of
those patches target the kernel equivalents, as this set will progress
using the kernel set as a base.

The remaining three patches add basic mkfs support, the ability to print
the agi_free_root and agi_free_level from xfs_db and fix a minor bug in
repair. Real support for repair is not yet available. Reviews on the
additional userspace specific bits are appreciated. Otherwise, this set
is probably more useful for testing/experimentation on the feature
itself.

Brian

Brian Foster (12):
  xfsprogs: refactor xfs_ialloc_btree.c to support multiple inobt
    numbers
  xfsprogs: reserve v5 superblock read-only compat. feature bit for
    finobt
  xfsprogs: support the XFS_BTNUM_FINOBT free inode btree type
  xfsprogs: update inode allocation/free transaction reservations for
    finobt
  xfsprogs: insert newly allocated inode chunks into the finobt
  xfsprogs: use and update the finobt on inode allocation
  xfsprogs: refactor xfs_difree() inobt bits into xfs_difree_inobt()
    helper
  xfsprogs: update the finobt on inode free
  xfsprogs: enable the finobt feature on v5 superblocks
  xfsprogs/mkfs: finobt mkfs support
  xfsprogs/db: finobt support
  xfsprogs/repair: account for finobt in ag 0 geometry pre-calculation

 db/agi.c                   |   2 +
 db/btblock.c               |  12 +
 include/xfs_ag.h           |  32 ++-
 include/xfs_btree.h        |   3 +
 include/xfs_ialloc_btree.h |  17 +-
 include/xfs_sb.h           |  10 +-
 include/xfs_trans_space.h  |   7 +-
 include/xfs_types.h        |   2 +-
 libxfs/xfs_btree.c         |   6 +-
 libxfs/xfs_ialloc.c        | 616 ++++++++++++++++++++++++++++++++++++++-------
 libxfs/xfs_ialloc_btree.c  |  68 ++++-
 libxfs/xfs_trans_resv.c    |  47 +++-
 mkfs/xfs_mkfs.c            |  97 +++++--
 repair/xfs_repair.c        |   2 +
 14 files changed, 770 insertions(+), 151 deletions(-)

-- 
1.8.1.4

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux