f321e4910398cf7922265d269fb17fd26f312571
To check whether a given file extent is referenced by multiple snapshots, the checker walks down the fs tree through dead root and checks all tree blocks in the path. We can easily detect whether a given tree block is directly referenced by other snapshot. We can also detect any indirect reference from other snapshot by checking reference's generation. The checker can always detect multiple references, but can't reliably detect cases of single reference. So btrfs may do file data cow even there is only one reference. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Description
No description provided
Languages
C
97.2%
Assembly
1.4%
C++
0.5%
Makefile
0.3%
Shell
0.3%
Other
0.2%