Re: [patch] xfs: properly account for reclaimed inodes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Weiner
Date: Monday, October 4, 2010 - 3:22 am

Hi,

On Mon, Oct 04, 2010 at 06:19:04PM +1100, Dave Chinner wrote:

Here is my suggestion of a backport to .34.  Dave, Alex, do you
approve?

	Hannes

diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c
index 6845db9..3314f2a 100644
--- a/fs/xfs/xfs_iget.c
+++ b/fs/xfs/xfs_iget.c
@@ -499,6 +499,7 @@ xfs_ireclaim(
 	write_lock(&pag->pag_ici_lock);
 	if (!radix_tree_delete(&pag->pag_ici_root, agino))
 		ASSERT(0);
+	pag->pag_ici_reclaimable--;
 	write_unlock(&pag->pag_ici_lock);
 	xfs_perag_put(pag);
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] xfs: properly account for reclaimed inodes, Johannes Weiner, (Fri Oct 1, 12:43 am)
Re: [patch] xfs: properly account for reclaimed inodes, Dave Chinner, (Fri Oct 1, 7:02 am)
Re: [patch] xfs: properly account for reclaimed inodes, Dave Chinner, (Mon Oct 4, 12:19 am)
Re: [patch] xfs: properly account for reclaimed inodes, Johannes Weiner, (Mon Oct 4, 3:22 am)
Re: [patch] xfs: properly account for reclaimed inodes, Hans-Peter Jansen, (Tue Oct 5, 2:26 am)
Re: [patch] xfs: properly account for reclaimed inodes, Dave Chinner, (Tue Oct 5, 9:53 pm)