path: root/ctree.h
diff options
authorJosef Bacik <>2015-02-09 10:02:25 -0500
committerJosef Bacik <>2015-02-09 14:53:15 -0500
commit08a45972234b3edb1348641e188f233bab6e50c1 (patch)
tree1fe22dd486f7f558f720e86a6bf0ea2644c208b7 /ctree.h
parentbce7dbba2859a47554c122eae32ead87e6a6510a (diff)
Btrfs-progs: remove global transaction from fsck
We hold a transaction open for the entirety of fixing extent refs. This works out ok most of the time but we can be tight on space and run out of space when fixing things. To get around this just push down the transaction starting dance into the functions that actually fix things. This keeps us from ending up with ENOSPC because we pinned everything and allows the code to be a bit simpler. Thanks, Signed-off-by: Josef Bacik <>
Diffstat (limited to 'ctree.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index be30cb63..f4275d9f 100644
--- a/ctree.h
+++ b/ctree.h
@@ -963,6 +963,7 @@ struct btrfs_fs_info {
struct extent_io_tree pinned_extents;
struct extent_io_tree pending_del;
struct extent_io_tree extent_ins;
+ struct extent_io_tree *excluded_extents;
/* logical->physical extent mapping */
struct btrfs_mapping_tree mapping_tree;