diff options
| author | Jan Kara <[email protected]> | 2011-01-13 15:45:44 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-01-13 17:32:32 -0800 |
| commit | 6585027a5e8cb490e3a761b2f3f3c3acf722aff2 (patch) | |
| tree | ac856c00c148d590d6b7632cc11bc23be6a9ccc2 /tools/perf/scripts/python/syscall-counts.py | |
| parent | b44129b30652c8771db2265939bb8b463724043d (diff) | |
writeback: integrated background writeback work
Check whether background writeback is needed after finishing each work.
When bdi flusher thread finishes doing some work check whether any kind of
background writeback needs to be done (either because
dirty_background_ratio is exceeded or because we need to start flushing
old inodes). If so, just do background write back.
This way, bdi_start_background_writeback() just needs to wake up the
flusher thread. It will do background writeback as soon as there is no
other work.
This is a preparatory patch for the next patch which stops background
writeback as soon as there is other work to do.
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Wu Fengguang <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Jan Engelhardt <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions