]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove ref_tree implementation from backref.c
authorEdmund Nadolski <enadolski@suse.com>
Thu, 29 Jun 2017 03:56:59 +0000 (21:56 -0600)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 12:19:53 +0000 (14:19 +0200)
commit4b33fe5cf74e15ecfbfe213b1bf70d40b351a881
tree9cf20420738725f77434f99fd59d91cd75c5ed57
parentd800a431ebe7905f636049a871c4c8bbfd2364df
btrfs: remove ref_tree implementation from backref.c

Commit 753c44f5b605 ("btrfs: fix check_shared for fiemap ioctl") added
the ref_tree code in backref.c to reduce backref searching for
shared extents under the FIEMAP ioctl. This code will not be
compatible with the upcoming rbtree changes for improved backref
searching, so this patch removes the ref_tree code.  The rbtree
changes will provide the equivalent functionality for FIEMAP.

The above commit also introduced transaction semantics around calls to
btrfs_check_shared() in order to accurately account for delayed refs.
This functionality needs to be retained, so a complete revert of the
above commit is not desirable. This patch therefore removes the
ref_tree portion of the commit as above, however it does not remove
the transaction portion.

Signed-off-by: Edmund Nadolski <enadolski@suse.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c