xfs
[Top] [All Lists]

procfs on ia64

To: linux-xfs@xxxxxxxxxxx
Subject: procfs on ia64
From: ASANO Masahiro <masano@xxxxxxxxxxxxxx>
Date: Thu, 25 Jul 2002 20:14:18 +0900 (JST)
Sender: owner-linux-xfs@xxxxxxxxxxx
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


<Prev in Thread] Current Thread [Next in Thread>