]> www.infradead.org Git - nvme.git/commit
btrfs: add documentation around snapshot delete
authorJosef Bacik <josef@toxicpanda.com>
Tue, 7 May 2024 18:12:16 +0000 (14:12 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Jul 2024 13:33:25 +0000 (15:33 +0200)
commit33b804fae7ad0d8890e6df827c287fadc9542f3f
tree6b5362b222b5dca23a096aa8a2298b06d8ebb059
parent5eb178f373b4f16f3b42d55ff88fc94dd95b93b1
btrfs: add documentation around snapshot delete

Snapshot delete has some complicated looking code that is weirdly subtle
at times.  I've cleaned it up the best I can without re-writing it, but
there are still a lot of details that are non-obvious.  Add a bunch of
comments to the main parts of the code to help future developers better
understand the mechanics of snapshot deletion.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c