xfs
[Top] [All Lists]

Re: [patch 1/1] Update laptop mode control script with XFS_HZ=100

To: bart@xxxxxxxxx
Subject: Re: [patch 1/1] Update laptop mode control script with XFS_HZ=100
From: Andrew Morton <akpm@xxxxxxxx>
Date: Tue, 11 May 2004 15:40:57 -0700
Cc: linux-xfs@xxxxxxxxxxx, Nathan Scott <nathans@xxxxxxx>
In-reply-to: <E1BNdCk-0008BN-TJ@samwel.tk>
References: <E1BNdCk-0008BN-TJ@samwel.tk>
Sender: linux-xfs-bounce@xxxxxxxxxxx
bart@xxxxxxxxx wrote:
>
> The laptop mode control script incorrectly guesses XFS_HZ=1000.

aargh.  XFS is broken.  It shouldn't be exposing jiffy-based tunables into
/proc, or `mount -o remount' or whatever.

It would be much better to rework XFS so that these user-visible tunables
are in units of milliseconds, centiseconds or whatever.

Is this possible, please?

If so, please make the /proc filename reflect the tunable's units:

        /proc/sys/fs/xfs/lm_sync_centisecs
        /proc/sys/fs/xfs/age_buffer_centisecs
        etc.

thanks.


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