]> err.no Git - linux-2.6/commit
[XFS] Improve xfsbufd delayed write submission patterns, after blktrace
authorNathan Scott <nathans@sgi.com>
Thu, 28 Sep 2006 00:52:15 +0000 (10:52 +1000)
committerTim Shimmin <tes@sgi.com>
Thu, 28 Sep 2006 00:52:15 +0000 (10:52 +1000)
commitf07c225036358038bf8a64f75351f10cdca2fb22
treeb64bb87fa152240d77ae749c3b4a95af9190d583
parentf37ea14969bf85633d3bd29ddf008171a5618855
[XFS] Improve xfsbufd delayed write submission patterns, after blktrace
analysis.

Under a sequential create+allocate workload, blktrace reported backward
writes being issued by xfsbufd, and frequent inappropriate queue unplugs.
We now insert at the tail when moving from the delwri lists to the temp
lists, which maintains correct ordering, and we avoid unplugging queues
deep in the submit paths when we'd shortly do it at a higher level anyway.
blktrace now reports much healthier write patterns from xfsbufd for this
workload (and likely many others).

SGI-PV: 954310
SGI-Modid: xfs-linux-melb:xfs-kern:26396a

Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c