Thanks, I guess /proc/sys/fs/xfs/ is broken in the same way. I'll get
these fixed up.
-Eric
On Thu, 2002-07-25 at 06:14, ASANO Masahiro wrote:
> Hi,
>
> On 64bit linux system, "/proc/sys/vm/pagebuf/*" interface is a
> little broken. I cannot get the parameters.
>
> linux/fs/xfs/pagebuf/page_buf.c:
> static ctl_table pagebuf_table[] = {
> {PB_FLUSH_INT, "flush_int", &pb_params.data[0],
> sizeof(int), 0644, NULL, &proc_doulongvec_ms_jiffies_minmax,
> &sysctl_intvec, NULL, &pagebuf_min[0], &pagebuf_max[0]},
>
> {PB_FLUSH_AGE, "flush_age", &pb_params.data[1],
> sizeof(int), 0644, NULL, &proc_doulongvec_ms_jiffies_minmax,
> &sysctl_intvec, NULL, &pagebuf_min[1], &pagebuf_max[1]},
>
> {PB_STATS_CLEAR, "stats_clear", &pb_params.data[3],
> sizeof(int), 0644, NULL, &pb_stats_clear_handler,
> &sysctl_intvec, NULL, &pagebuf_min[3], &pagebuf_max[3]},
>
> "sizeof(int)" must be "sizeof(ulong)" :).
> And "/proc/sys/fs/xfs/*" is likewise.
> --
> Masano
--
Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx SGI, Inc. 651-683-3102
|