diff options
author | 2020-01-16 13:04:07 +0800 | |
---|---|---|
committer | 2020-03-23 17:01:23 +0100 | |
commit | 0c891389705698821ab59147bbcfffba22372a91 (patch) | |
tree | e07c800cd37ca090877312a8c0253cbf7ca3cb6a /fs/btrfs/tree-log.c | |
parent | Btrfs: don't iterate mod seq list when putting a tree mod seq (diff) | |
download | wireguard-linux-0c891389705698821ab59147bbcfffba22372a91.tar.xz wireguard-linux-0c891389705698821ab59147bbcfffba22372a91.zip |
btrfs: relocation: Add introduction of how relocation works
Relocation is one of the most complex part of btrfs, while it's also the
foundation stone for online resizing, profile converting.
For such a complex facility, we should at least have some introduction
to it.
This patch will add an basic introduction at pretty a high level,
explaining:
- What relocation does
- How relocation is done
Only mentioning how data reloc tree and reloc tree are involved in the
operation.
No details like the backref cache, or the data reloc tree contents.
- Which function to refer.
More detailed comments will be added for reloc tree creation, data reloc
tree creation and backref cache.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions