summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSu Yue <suy.fnst@cn.fujitsu.com>2018-04-24 13:52:31 +0800
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:35 +0200
commit6a42806d74c148b7a46c1ea04c53c03e9b12b472 (patch)
treea73e3def4f49a7a325369ae0d200733937082c31
parent8606fe4bcb8ff88a67a939911af9336499486c85 (diff)
btrfs-progs: remove comments about delayed ref in backref.c
There is no delayed ref in btrfs-progs, so remove related comments. Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--backref.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/backref.c b/backref.c
index 27309e07..c144dbf0 100644
--- a/backref.c
+++ b/backref.c
@@ -155,19 +155,6 @@ static void init_pref_state(struct pref_state *prefstate)
* - if you cannot add the parent or a correct key, then we will look into the
* block later to set a correct key
*
- * delayed refs
- * ============
- * backref type | shared | indirect | shared | indirect
- * information | tree | tree | data | data
- * --------------------+--------+----------+--------+----------
- * parent logical | y | - | - | -
- * key to resolve | - | y | y | y
- * tree block logical | - | - | - | -
- * root for resolving | y | y | y | y
- *
- * - column 1: we've the parent -> done
- * - column 2, 3, 4: we use the key to find the parent
- *
* on disk refs (inline or keyed)
* ==============================
* backref type | shared | indirect | shared | indirect
@@ -735,9 +722,9 @@ static int __add_keyed_refs(struct btrfs_fs_info *fs_info,
}
/*
- * this adds all existing backrefs (inline backrefs, backrefs and delayed
- * refs) for the given bytenr to the refs list, merges duplicates and resolves
- * indirect refs to their parent bytenr.
+ * this adds all existing backrefs (inline backrefs, backrefs for the given
+ * bytenr to the refs list, merges duplicates and resolves indirect refs to
+ * their parent bytenr.
* When roots are found, they're added to the roots list
*
* FIXME some caching might speed things up