diff options
| author | Andrew Morton <akpm@zip.com.au> | 2002-04-09 21:29:59 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-04-09 21:29:59 -0700 |
| commit | efa1c8b5f358f105122ad7ef2c47a2474098ce4a (patch) | |
| tree | 652007bc602639cc5e7df5f2cb3b518d00b6b6e4 /fs/buffer.c | |
| parent | 1ed704e93c0ba1dd930f8a451765f054ba218f1b (diff) | |
[PATCH] use pdflush for unused inode writeback
This is pdflush's first application! The writeback of
the unused inodes list by keventd is removed, and a
pdflush thread is dispatched instead.
There is a need for exclusion - to prevent all the
pdflush threads from working against the same request
queue. This is implemented locally. And this is a
problem, because other pdflush threads can be dispatched
to writeback other filesystem objects, and they don't
know that there's already a pdflush thread working that
request queue.
So moving the exclusion into the request queue itself
is on my things-to-do-list. But the code as-is works
OK - under a `dbench 100' load the number of pdflush
instances can grow as high as four or five. Some fine
tuning is needed...
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions
