[PATCHSET v1.0 00/26] libxfs: hoist inode operations to libxfs

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

 



Hi all,

Add libxfs code from the kernel from the inode refactoring, then fix up
xfs_repair and mkfs to use library functions instead of open-coding
inode (re)creation.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=inode-refactor

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=inode-refactor
---
 db/sb.c                   |    4 
 include/libxfs.h          |    1 
 include/xfs_inode.h       |   85 ++++--
 include/xfs_mount.h       |    1 
 include/xfs_trace.h       |    6 
 libxfs/Makefile           |    5 
 libxfs/inode.c            |  279 ++++++++++++++++++
 libxfs/iunlink.c          |  126 ++++++++
 libxfs/iunlink.h          |   22 +
 libxfs/libxfs_api_defs.h  |    7 
 libxfs/libxfs_priv.h      |   36 ++
 libxfs/rdwr.c             |   87 ------
 libxfs/util.c             |  282 ------------------
 libxfs/xfs_bmap.c         |   42 +++
 libxfs/xfs_bmap.h         |    3 
 libxfs/xfs_dir2.c         |  480 +++++++++++++++++++++++++++++++
 libxfs/xfs_dir2.h         |   19 +
 libxfs/xfs_format.h       |    9 -
 libxfs/xfs_ialloc.c       |   20 +
 libxfs/xfs_inode_util.c   |  695 +++++++++++++++++++++++++++++++++++++++++++++
 libxfs/xfs_inode_util.h   |   79 +++++
 libxfs/xfs_shared.h       |    7 
 libxfs/xfs_trans_inode.c  |    2 
 mdrestore/xfs_mdrestore.c |    6 
 mkfs/proto.c              |   94 +++++-
 repair/agheader.c         |   12 -
 repair/phase6.c           |  199 ++++---------
 27 files changed, 2037 insertions(+), 571 deletions(-)
 create mode 100644 libxfs/inode.c
 create mode 100644 libxfs/iunlink.c
 create mode 100644 libxfs/iunlink.h
 create mode 100644 libxfs/xfs_inode_util.c
 create mode 100644 libxfs/xfs_inode_util.h




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux