aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorMiao Xie <[email protected]>2013-06-06 03:28:03 +0000
committerJosef Bacik <[email protected]>2013-07-01 08:52:25 -0400
commit5bc7247ac47cf100309e4d7e24214889c46a1636 (patch)
tree2e28c383acea82994e54c330ba7345b436b69656 /lib/mpi/mpi-bit.c
parent8c2a1a3028d560cfb95f1c583e872c65ed2f0b3d (diff)
Btrfs: fix broken nocow after balance
Balance will create reloc_root for each fs root, and it's going to record last_snapshot to filter shared blocks. The side effect of setting last_snapshot is to break nocow attributes of files. Since the extents are not shared by the relocation tree after the balance, we can recover the old last_snapshot safely if no one snapshoted the source tree. We fix the above problem by this way. Reported-by: Kyle Gates <[email protected]> Signed-off-by: Liu Bo <[email protected]> Signed-off-by: Miao Xie <[email protected]> Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions