]> git.neil.brown.name Git - history.git/commit
[PATCH] remove /proc/sys/vm/dirty_sync_thresh
authorAndrew Morton <akpm@digeo.com>
Thu, 19 Sep 2002 15:36:34 +0000 (08:36 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 19 Sep 2002 15:36:34 +0000 (08:36 -0700)
commitda1eca6061198690ea08118d78fde70216dcf093
tree6ee637d0160948bc595dbd5ea02b7d8c5d249fe3
parent6fda85f284986ede5458990e5b82115336d4f694
[PATCH] remove /proc/sys/vm/dirty_sync_thresh

This was designed to be a really sterm throttling threshold: if dirty
memory reaches this level then perform writeback and actually wait on
it.

It doesn't work.  Because memory dirtiers are required to perform
writeback if the amount of dirty AND writeback memory exceeds
dirty_async_ratio.

So kill it, and rely just on the request queues being appropriately
scaled to the machine size (they are).

This is basically what 2.4 does.
Documentation/filesystems/proc.txt
Documentation/sysctl/vm.txt
fs/fs-writeback.c
include/linux/sysctl.h
include/linux/writeback.h
kernel/sysctl.c
mm/page-writeback.c