]> git.hungrycats.org Git - linux/commit
[PATCH] ext3 scheduling latency fix
authorAndrew Morton <akpm@osdl.org>
Mon, 29 Dec 2003 13:43:22 +0000 (05:43 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 29 Dec 2003 13:43:22 +0000 (05:43 -0800)
commit9e77aa68d4fa3034805dcc61e887d52a93b5395c
tree17303cc4078931bc06017a9b3b0bf27a269de5cf
parentc5427c6878eb984c334984e40f35501c986d7e3f
[PATCH] ext3 scheduling latency fix

Sometimes kjournald has to refile a huge number of buffers, because someone
else wrote them out beforehand - they are all clean.

This happens under a lock and scheduling latencies of 88 milliseconds on a
2.7GHx CPU were observed.

The patch forward-ports a little bit of the 2.4 low-latency patch to fix this
problem.

Worst-case on ext3 is now sub-half-millisecond, except for when the RCU
dentry reaping softirq cuts in :(
fs/jbd/commit.c