aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/sysfs.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2009-10-08 15:30:04 -0400
committerChris Mason <chris.mason@oracle.com>2009-10-08 15:30:04 -0400
commitff782e0a131c7f669445c07fe5c7ba91e043b7ed (patch)
treeff7773e6ce60bf977ed29897c13605f257647684 /fs/btrfs/sysfs.c
parente3ccfa989752c083ceb23c823a84f7ce3a081e61 (diff)
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 <jbacik@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/sysfs.c')
0 files changed, 0 insertions, 0 deletions