Date: Wed Sep 26 12:08:38 PDT 2001
Workarea: stout.americas.sgi.com:/localhome/eric/2.4.x-xfs/workarea
The nfs refcache was taking a fairly long time to empty on Linux,
which led to some unexpected results due to extra space allocation.
This mod makes both the size of the refcache, and the number of entries
purged on each sync tuneable via /proc/sys/fs/xfs/refcache_size and
/proc/sys/fs/xfs/refcache_purge. The defaults are also smaller
than they were, so without any fiddling, the refcache will drain more
quickly.
There is now a sysctl framework for XFS parameters.
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:103457a
linux/fs/xfs/linux/xfs_sysctl.h - 1.1
linux/fs/xfs/linux/xfs_sysctl.c - 1.1
- New file for xfs sysctls
linux/include/linux/sysctl.h - 1.38
- Add sysctl entry for fs/xfs
linux/fs/xfs/xfs_rw.h - 1.61
- Define XFS_REFCACHE_SIZE_MAX
Prototype for xfs_refcache_resize
linux/fs/xfs/xfs_rw.c - 1.346
- Make refcache size and purge quantity sysctl tuneable
Add xfs_refcache_resize function to handle resizing
linux/fs/xfs/xfs_vfsops.c - 1.326
- Register and unregister sysctl interface
linux/fs/xfs/linux/xfs_linux.h - 1.55
- include xfs_sysctl.h
linux/fs/xfs/linux/Makefile - 1.43
- Add xfs_sysctl
linux/fs/xfs/linux/Makefile.in - 1.2
- add xfs_sysctl
|