]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't wait for the completion of all the ordered extents
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 4 Nov 2013 15:13:25 +0000 (23:13 +0800)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:13:44 +0000 (22:13 -0500)
commit1f632a9a7f1b3a682c3f40be0533d7ad444a059c
tree36f8e823f3ee84528f3f030323b472a72a915094
parentc95cf4136a08631d07bdb4a660db664f905d1fea
Btrfs: don't wait for the completion of all the ordered extents

It is very likely that there are lots of ordered extents in the filesytem,
if we wait for the completion of all of them when we want to reclaim some
space for the metadata space reservation, we would be blocked for a long
time. The performance would drop down suddenly for a long time.

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/dev-replace.c
fs/btrfs/extent-tree.c
fs/btrfs/ioctl.c
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h
fs/btrfs/relocation.c
fs/btrfs/super.c
fs/btrfs/transaction.c