xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH v3 0/4] xfs: rework xfs_inactive()
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Fri, 20 Sep 2013 11:06:08 -0400
Delivered-to: xfs@xxxxxxxxxxx
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

v3:
- Error handling fixes: cancel transaction before iunlock.
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 |  86 +++++++++---------
 fs/xfs/xfs_symlink.h |   2 +-
 fs/xfs/xfs_vnode.h   |   8 --
 5 files changed, 180 insertions(+), 159 deletions(-)

-- 
1.8.1.4

<Prev in Thread] Current Thread [Next in Thread>