From: Josef Bacik Date: Thu, 8 Oct 2009 19:30:04 +0000 (-0400) Subject: Btrfs: optimize fsync for the single writer case X-Git-Tag: v2.6.32-rc4~7^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff782e0a131c7f669445c07fe5c7ba91e043b7ed;p=pandora-kernel.git Btrfs: optimize fsync for the single writer case This patch optimizes the tree logging stuff so it doesn't always wait 1 jiffie for new people to join the logging transaction if there is only ever 1 writer. This helps a little bit with latency where we have something like RPM where it will fdatasync every file it writes, and so waiting the 1 jiffie for every fdatasync really starts to add up. Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed