summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_vnops.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2000-01-10 00:07:24 +0000
committermckusick <mckusick@FreeBSD.org>2000-01-10 00:07:24 +0000
commita44e14097670c6ae3a2b4aa04f3af217928b2385 (patch)
treea08f2adb23e9ba4b91ac53ae99862009c265ffcc /sys/kern/vfs_vnops.c
parentdb94728905e902371a7b05c0d5248885340aa16b (diff)
downloadFreeBSD-src-a44e14097670c6ae3a2b4aa04f3af217928b2385.zip
FreeBSD-src-a44e14097670c6ae3a2b4aa04f3af217928b2385.tar.gz
Remove the P_BUFEXHAUST flag from the syncer process (leaving
it only on the buf_daemon process). The problem is that when the syncer process starts running the worklist, it wants to delete lots of files. It does this by VFS_VGET'ing the vnodes, clearing the blocks in them and bdwrite'ing the buffer. It can process close to a thousand files per second which generates a large number of dirty buffers. So, giving it special priviledge at the buffer trough leads to trouble as the buf_daemon does occationally need a free buffer to proceed and if the syncer has used every last one up, we are toast.
Diffstat (limited to 'sys/kern/vfs_vnops.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud