summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorJan Kara2011-10-19 11:44:41 +0200
committerWu Fengguang2011-12-18 07:20:18 +0100
commit1bc36b6426ae49139e9f56491db76b95921454d7 (patch)
tree66708091d7628c45cb81279dcdefd911b11aa3e1 /kernel/exit.c
parentwriteback: show writeback reason with __print_symbolic (diff)
downloadkernel-qcow2-linux-1bc36b6426ae49139e9f56491db76b95921454d7.tar.gz
kernel-qcow2-linux-1bc36b6426ae49139e9f56491db76b95921454d7.tar.xz
kernel-qcow2-linux-1bc36b6426ae49139e9f56491db76b95921454d7.zip
writeback: Include all dirty inodes in background writeback
Current livelock avoidance code makes background work to include only inodes that were dirtied before background writeback has started. However background writeback can be running for a long time and thus excluding newly dirtied inodes can eventually exclude significant portion of dirty inodes making background writeback inefficient. Since background writeback avoids livelocking the flusher thread by yielding to any other work, there is no real reason why background work should not include all dirty inodes so change the logic in wb_writeback(). Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions