]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't wait for all the async delalloc when shrinking delalloc
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 4 Nov 2013 15:13:24 +0000 (23:13 +0800)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:13:37 +0000 (22:13 -0500)
commitc95cf4136a08631d07bdb4a660db664f905d1fea
tree3cf949baa98476e1eb189bce349b34b14af13ce3
parent8ea142a3031cbb17f8bceab4bf72f6e027bceeed
Btrfs: don't wait for all the async delalloc when shrinking delalloc

It was very likely that there were lots of async delalloc pages in the
filesystem, if we waited until all the pages were flushed, we would be
blocked for a long time, and the performance would also drop down.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/extent-tree.c