[PATCH] xfs: Remove obsoleted m_inode_shrink from xfs_mount structure

Jeff Liu jeff.liu at oracle.com
Mon Mar 11 01:31:02 CDT 2013


Looks the old m_inode_shrink is obsoleted as we perform inodes reclaim per AG via
m_reclaim_workqueue, this patch remove it from the xfs_mount structure if so.

Signed-off-by: Jie Liu <jeff.liu at oracle.com>
Cc: Dave Chinner <dchinner at redhat.com>
---
 fs/xfs/xfs_mount.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h
index bc90706..687c171 100644
--- a/fs/xfs/xfs_mount.h
+++ b/fs/xfs/xfs_mount.h
@@ -207,7 +207,6 @@ typedef struct xfs_mount {
 						     trimming */
 	__int64_t		m_update_flags;	/* sb flags we need to update
 						   on the next remount,rw */
-	struct shrinker		m_inode_shrink;	/* inode reclaim shrinker */
 	int64_t			m_low_space[XFS_LOWSP_MAX];
 						/* low free space thresholds */
 
-- 
1.7.9.5



More information about the xfs mailing list