This set reworks the xfs_inactive() path with the intent to clean up the
transaction management overall. This is preparation work for the free
inode btree set and subsequent work in the area. The patches clean up
the remote symlink work, truncate work and ifree work respectively.
This passes through a quick xfstests run (with debug and lockdep)
without any major explosions. Thoughts appreciated.
- Cleaned up error handling throughout the set.
- Added inode locking to xfs_inactive_symlink().
- Added patch 4 to clean up xfs_inactive() after transaction management
Brian Foster (4):
xfs: push down inactive transaction mgmt for remote symlinks
xfs: push down inactive transaction mgmt for truncate
xfs: push down inactive transaction mgmt for ifree
xfs: clean up xfs_inactive() error handling, kill
fs/xfs/xfs_inode.c | 241 +++++++++++++++++++++++++++++----------------------
fs/xfs/xfs_inode.h | 2 +-
fs/xfs/xfs_symlink.c | 81 ++++++++---------
fs/xfs/xfs_symlink.h | 2 +-
fs/xfs/xfs_vnode.h | 8 --
5 files changed, 174 insertions(+), 160 deletions(-)