]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Device state is now a runtime option
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 13 Mar 2025 04:55:52 +0000 (00:55 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 24 Mar 2025 13:50:35 +0000 (09:50 -0400)
commit8d7b7ac367cd0e7f0e496ba6526799994b3c1237
treedf23b493f75aac2f26544537f9a6ed3687b7dd26
parent7b84d934a16274eaedfb38cb94b909426048c48e
bcachefs: Device state is now a runtime option

Other options can normally be set at runtime via sysfs, no reason for
this one not to be as well - it just doesn't support the degraded flags
argument this way, that requires the ioctl.

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