]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't call btrfs_throttle in file write
authorJosef Bacik <josef@redhat.com>
Fri, 13 Jan 2012 00:10:12 +0000 (19:10 -0500)
committerChris Mason <chris.mason@oracle.com>
Mon, 16 Jan 2012 20:28:55 +0000 (15:28 -0500)
commit1f794e8909b04fea55f2e1bdfc3aff41bed579b4
tree2a13259734f99cbc8f176ed395a2d1f35e36ad27
parentb42f4c3851ec4760c0333b03311a475fe52c3727
Btrfs: don't call btrfs_throttle in file write

Btrfs_throttle will make us wait if there is a currently committing transaction
until we can open new transactions, which is ridiculous since we don't actually
start any transactions within the file write path anyway, so all this does is
introduce big latencies if we have a sync/fsync heavy workload going on while
somebody else is trying to do work.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c