Open darkbasic opened 6 years ago
Defragmenting a file which has a COW copy (either a snapshot copy or one made with cp --reflink or bcp) plus using the -c switch with a compression algorithm may result in two unrelated files effectively increasing the disk usage.
This is only true of some kernel versions. See the btrfs wiki
All of the kernel versions which do not break reflinks in defrag are so old that they are missing the necessary ioctl for dedupe.
Defragmenting a file which has a COW copy (either a snapshot copy or one made with cp --reflink or bcp) plus using the -c switch with a compression algorithm may result in two unrelated files effectively increasing the disk usage.