diff options
author | 2014-10-21 11:11:41 +0100 | |
---|---|---|
committer | 2014-11-25 07:41:23 -0800 | |
commit | e5fa8f865b3324aebd055e4054bf479cbab37e5a (patch) | |
tree | e30b50c0b5143544ca2aa4205b151a70fe9ea1e2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Btrfs: fix freeing used extent after removing empty block group (diff) | |
download | linux-dev-e5fa8f865b3324aebd055e4054bf479cbab37e5a.tar.xz linux-dev-e5fa8f865b3324aebd055e4054bf479cbab37e5a.zip |
Btrfs: ensure send always works on roots without orphans
Move the logic from the snapshot creation ioctl into send. This avoids
doing the transaction commit if send isn't used, and ensures that if
a crash/reboot happens after the transaction commit that created the
snapshot and before the transaction commit that switched the commit
root, send will not get a commit root that differs from the main root
(that has orphan items).
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions