diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2015-03-30 11:03:00 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-06-10 18:25:03 +0200 |
commit | c6fc24549960f26910cd0c6e4b5f48f2f306b11d (patch) | |
tree | 374c6af58fb08a000f09fa1e1966e4bd157731b9 /net/hsr | |
parent | btrfs: backref: Don't merge refs which are not for same block. (diff) | |
download | linux-c6fc24549960f26910cd0c6e4b5f48f2f306b11d.tar.xz linux-c6fc24549960f26910cd0c6e4b5f48f2f306b11d.zip |
btrfs: delayed-ref: Use list to replace the ref_root in ref_head.
This patch replace the rbtree used in ref_head to list.
This has the following advantage:
1) Easier merge logic.
With the new list implement, we only need to care merging the tail
ref_node with the new ref_node.
And this can be done quite easy at insert time, no need to do a
indicated merge at run_delayed_refs().
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'net/hsr')
0 files changed, 0 insertions, 0 deletions