[XFS updates] XFS development tree branch, master, updated. v3.2-rc1-11440-g92b2e5b
xfs at oss.sgi.com
xfs at oss.sgi.com
Fri Feb 10 14:02:14 CST 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "XFS development tree".
The branch, master has been updated
92b2e5b xfs: use a normal shrinker for the dquot freelist
from 4177af3a8a6f119484c7903845c6693d7381c13e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 92b2e5b31dd2ad2c9273578c2289d17f417fe32d
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Feb 1 13:57:20 2012 +0000
xfs: use a normal shrinker for the dquot freelist
Stop reusing dquots from the freelist when allocating new ones directly, and
implement a shrinker that actually follows the specifications for the
interface. The shrinker implementation is still highly suboptimal at this
point, but we can gradually work on it.
This also fixes an bug in the previous lock ordering, where we would take
the hash and dqlist locks inside of the freelist lock against the normal
lock ordering. This is only solvable by introducing the dispose list,
and thus not when using direct reclaim of unused dquots for new allocations.
As a side-effect the quota upper bound and used to free ratio values in
/proc/fs/xfs/xqm are set to 0 as these values don't make any sense in the
new world order.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Ben Myers <bpm at sgi.com>
(cherry picked from commit 04da0c8196ac0b12fb6b84f4b7a51ad2fa56d869)
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/kmem.h | 6 -
fs/xfs/xfs_dquot.c | 103 +++++-------------
fs/xfs/xfs_qm.c | 291 +++++++++++++++++++------------------------------
fs/xfs/xfs_qm.h | 14 ---
fs/xfs/xfs_qm_stats.c | 4 +-
fs/xfs/xfs_trace.h | 5 +-
6 files changed, 141 insertions(+), 282 deletions(-)
hooks/post-receive
--
XFS development tree
More information about the xfs
mailing list