[PATCH v2 0/4] xfs: rework xfs_inactive()

Brian Foster
2013-09-19T19:15:24Z

Hi all,

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.

Brian

v2:
- 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
purge.

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
VN_INACTIVE_[NO]CACHE

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(-)