aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
authorDonald Douwsma <donaldd@sgi.com>2008-03-05 21:43:20 -0500
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-17 21:36:55 -0400
commit163d3686bb09d88e2120bffe780a3f2d7cc4c948 (patch)
tree8503962ad2c4641f0796b5bb864996994c1ca137 /fs/xfs/xfs_vfsops.c
parent461aa8a22595e3bd3e6f4dc2894d7c4315ea2bb9 (diff)
[XFS] Remove the xfs_refcache
Remove the xfs_refcache, it was only needed while we were still building for 2.4 kernels. SGI-PV: 971186 SGI-Modid: xfs-linux-melb:xfs-kern:30472a Signed-off-by: Donald Douwsma <donaldd@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r--fs/xfs/xfs_vfsops.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index 7094caff13cf..79bdfb3d6081 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -43,7 +43,6 @@
43#include "xfs_error.h" 43#include "xfs_error.h"
44#include "xfs_bmap.h" 44#include "xfs_bmap.h"
45#include "xfs_rw.h" 45#include "xfs_rw.h"
46#include "xfs_refcache.h"
47#include "xfs_buf_item.h" 46#include "xfs_buf_item.h"
48#include "xfs_log_priv.h" 47#include "xfs_log_priv.h"
49#include "xfs_dir2_trace.h" 48#include "xfs_dir2_trace.h"
@@ -157,7 +156,6 @@ xfs_cleanup(void)
157 156
158 xfs_cleanup_procfs(); 157 xfs_cleanup_procfs();
159 xfs_sysctl_unregister(); 158 xfs_sysctl_unregister();
160 xfs_refcache_destroy();
161 xfs_filestream_uninit(); 159 xfs_filestream_uninit();
162 xfs_mru_cache_uninit(); 160 xfs_mru_cache_uninit();
163 xfs_acl_zone_destroy(xfs_acl_zone); 161 xfs_acl_zone_destroy(xfs_acl_zone);
@@ -584,11 +582,6 @@ xfs_unmount(
584 0 : DM_FLAGS_UNWANTED; 582 0 : DM_FLAGS_UNWANTED;
585 } 583 }
586#endif 584#endif
587 /*
588 * First blow any referenced inode from this file system
589 * out of the reference cache, and delete the timer.
590 */
591 xfs_refcache_purge_mp(mp);
592 585
593 /* 586 /*
594 * Blow away any referenced inode in the filestreams cache. 587 * Blow away any referenced inode in the filestreams cache.
@@ -652,7 +645,6 @@ xfs_quiesce_fs(
652{ 645{
653 int count = 0, pincount; 646 int count = 0, pincount;
654 647
655 xfs_refcache_purge_mp(mp);
656 xfs_flush_buftarg(mp->m_ddev_targp, 0); 648 xfs_flush_buftarg(mp->m_ddev_targp, 0);
657 xfs_finish_reclaim_all(mp, 0); 649 xfs_finish_reclaim_all(mp, 0);
658 650
@@ -1323,18 +1315,6 @@ xfs_syncsub(
1323 } 1315 }
1324 1316
1325 /* 1317 /*
1326 * If this is the periodic sync, then kick some entries out of
1327 * the reference cache. This ensures that idle entries are
1328 * eventually kicked out of the cache.
1329 */
1330 if (flags & SYNC_REFCACHE) {
1331 if (flags & SYNC_WAIT)
1332 xfs_refcache_purge_mp(mp);
1333 else
1334 xfs_refcache_purge_some(mp);
1335 }
1336
1337 /*
1338 * If asked, update the disk superblock with incore counter values if we 1318 * If asked, update the disk superblock with incore counter values if we
1339 * are using non-persistent counters so that they don't get too far out 1319 * are using non-persistent counters so that they don't get too far out
1340 * of sync if we crash or get a forced shutdown. We don't want to force 1320 * of sync if we crash or get a forced shutdown. We don't want to force