]> 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)
commit424d41ff2b569c18e96183882103304e44904576
tree36f8e823f3ee84528f3f030323b472a72a915094
parente41410231e459062426a727fe8f9b20825ce608a
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