]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Btrfs: don't flush delalloc arbitrarily
authorJosef Bacik <josef@redhat.com>
Fri, 15 Jul 2011 16:01:03 +0000 (16:01 +0000)
committerChris Mason <chris.mason@oracle.com>
Wed, 27 Jul 2011 16:46:43 +0000 (12:46 -0400)
commita5991428064e98c7367fe1c1686ea6a23fb6a4b3
tree4e063831c205d707bd1e85fb5814a95f61843dc8
parenta94733d0bc630edaedc6ca156752dd5a7cb82521
Btrfs: don't flush delalloc arbitrarily

Kill the check to see if we have 512mb of reserved space in delalloc and
shrink_delalloc if we do.  This causes unexpected latencies and we have other
logic to see if we need to throttle.  Thanks,

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