]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Knob for manual snapshot deletion
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 7 May 2025 18:26:18 +0000 (14:26 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:49 +0000 (20:14 -0400)
commit8c69e2b52ea81b102ace48debd114467199ca77a
tree05cd41ba6d2009dfa8ba2fbae8b4a3aaa79ba33c
parenta8539ad8fa88e39c3f566b7c35029f25ab90b72e
bcachefs: Knob for manual snapshot deletion

Add 'opts.snapshot_deletion_enabled', enabled by default.

This may be turned off so that the new sysfs knob,
'internal/trigger_delete_dead_snapshots', may be used instead - this
will allow snapshot deletion to be profiled more easily.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/opts.h
fs/bcachefs/snapshot.c
fs/bcachefs/snapshot.h
fs/bcachefs/snapshot_types.h
fs/bcachefs/sysfs.c