list_lru-dynamically-adjust-node-arrays-super-fix-for-destroy-lrus.patch removed from -mm tree
Subsystems (2)
Subject: [folded-merged] list_lru-dynamically-adjust-node-arrays-super-fix-for-destroy-lrus.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 10 Sep 2013 15:34:01 -0700
The patch titled
Subject: super: fix for destroy lrus
has been removed from the -mm tree. Its filename was
list_lru-dynamically-adjust-node-arrays-super-fix-for-destroy-lrus.patch
This patch was dropped because it was folded into list_lru-dynamically-adjust-node-arrays.patch
------------------------------------------------------
From: Glauber Costa <[email protected]>
Subject: super: fix for destroy lrus
This patch adds the missing call to list_lru_destroy (spotted by Li Zhong) and moves the deletion to after the shrinker is unregistered, as correctly spotted by Dave
---
fs/super.c | 3 +++ fs/xfs/xfs_buf.c | 2 +- fs/xfs/xfs_qm.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-)
fs/super.c renamed from fs/super.c~list_lru-dynamically-adjust-node-arrays-super-fix-for-destroy-lrus +3 -0
@@ -328,6 +328,9 @@ void deactivate_locked_super(struct supe/* caches are now gone, we can safely kill the shrinker now */ unregister_shrinker (&s->s_shrink); +list_lru_destroy (&s->s_dentry_lru); +list_lru_destroy (&s->s_inode_lru); +put_filesystem (fs);put_super (s); }else {
fs/xfs/xfs_buf.c renamed from fs/xfs/xfs_buf.c~list_lru-dynamically-adjust-node-arrays-super-fix-for-destroy-lrus +1 -1
@@ -1592,8 +1592,8 @@ xfs_free_buftarg(struct xfs_mount *mp, struct xfs_buftarg *btp) { - list_lru_destroy(&btp->bt_lru); unregister_shrinker(&btp->bt_shrinker); +list_lru_destroy (&btp->bt_lru);if (mp->m_flags &XFS_MOUNT_BARRIER )xfs_blkdev_issue_flush (btp);
fs/xfs/xfs_qm.c renamed from fs/xfs/xfs_qm.c~list_lru-dynamically-adjust-node-arrays-super-fix-for-destroy-lrus +1 -1
@@ -940,8 +940,8 @@ xfs_qm_destroy_quotainfo( qi = mp->m_quotainfo;ASSERT (qi !=NULL ); -list_lru_destroy (&qi->qi_lru);unregister_shrinker (&qi->qi_shrinker); +list_lru_destroy (&qi->qi_lru);if (qi->qi_uquotaip) {IRELE (qi->qi_uquotaip);
_
Patches currently in -mm which might be from [email protected] are
origin.patch memcg-vmscan-integrate-soft-reclaim-tighter-with-zone-shrinking-code.patch inode-convert-inode-lru-list-to-generic-lru-list-code.patch list_lru-per-node-list-infrastructure.patch list_lru-remove-special-case-function-list_lru_dispose_all.patch list_lru-dynamically-adjust-node-arrays.patch