xfs
[Top] [All Lists]

TAKE - break apart /proc sysctl interface for pagebuf

To: unlisted-recipients:; (no To-header on input)
Subject: TAKE - break apart /proc sysctl interface for pagebuf
From: Steve Lord <lord@xxxxxxx>
Date: Fri, 11 Aug 2000 09:14:52 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
We now have a directory /proc/sys/vm/pagebuf which contails 6 different
files each controlling one parameter of the pagebuf module. The files are

        clean_int               Interval in HZ that page cleaner runs
        cluster_limit           Maximum number of pages to cluster in one
                                kiobuf write of delalloc pages
        debug                   turns on pagebuf internal logging, needs kdb
                                to view log.
        delalloc_count          maximum delayed allocate pages allowed
        flush_age               Age in HZ before a dirty metadata buffer
                                is a candidate for flushing by the pagebuf
                                daemon
        flush_int               Interval in HZ at which the pagebuf daemon runs
                                

Date:  Fri Aug 11 07:11:29 PDT 2000
Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.2.4.0-test5

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs


Modid:  2.4.0-test1-xfs:slinx:71900a
linux/include/linux/page_buf.h - 1.60
        - Add some definitions for pagebuf sysctl.

linux/kdb/modules/kdbm_pg.c - 1.12
        - Remove setting of debug_pagebuf on module load, the sysctl interface 
should
          now be used to turn tracing on and off.

linux/fs/pagebuf/page_buf.c - 1.21
        - Break the sysctl interface for pagebuf up into a set of separate
          /proc files one per parameter.

linux/fs/pagebuf/page_buf_locking.c - 1.7
        - Add a small function call to give us a useable stack frame for 
detecting
          which pagebuf a thread is sleeping waiting for.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - break apart /proc sysctl interface for pagebuf, Steve Lord <=