Hm, I don't recall if this actually fixes anything... I don't think it
does. :) But it makes it much harder to screw up the sysctl initializations
in the code, now they're all neatly organized in tables, like this:
pagebuf_param_t pb_params = {
/* MIN DFLT MAX */
flush_interval: { HZ/2, HZ, 30*HZ },
age_buffer: { 1*HZ, 15*HZ, 300*HZ },
stats_clear: { 0, 0, 1 },
debug: { 0, 0, 1 },
};
*the crowd goes wild*
-------------
rework sysctl initialization to avoid confusion
Date: Tue Jul 1 19:35:27 PDT 2003
Workarea: penguin.americas.sgi.com:/src/sandeen/2.4.x-xfs/workarea-alwaysclean
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: xfs-linux:slinx:152419a
linux/fs/xfs/xfs_rw.c - 1.381
linux/fs/xfs/xfs_vfsops.c - 1.424
linux/fs/xfs/pagebuf/page_buf_internal.h - 1.26
linux/fs/xfs/pagebuf/page_buf.c - 1.124
linux/fs/xfs/linux/xfs_globals.c - 1.53
linux/fs/xfs/linux/xfs_linux.h - 1.108
linux/fs/xfs/linux/xfs_super.c - 1.261
linux/fs/xfs/linux/xfs_sysctl.c - 1.23
linux/fs/xfs/linux/xfs_sysctl.h - 1.16
|