summaryrefslogtreecommitdiff
path: root/libbcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-12-06 16:30:19 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-12-06 16:30:19 -0500
commit2aeeac7785d647c02ef5612795025f3c9ce436ec (patch)
tree28fb930dc69de79b7ad234e7a16419a70eb4847c /libbcachefs/btree_trans_commit.c
parent83cc57700f1e2c37c889279f724f0f51dcd9ffc5 (diff)
bcachefs: cmd_set_option() can now set device options on multi device filesystems
Currently, 'bcachefs set-fs-option' requires all devices to be specified when setting options on an offline multidevice filesystem - it can't yet scan for the rest of the filesystem members. We do need to fix this, but the scan code is written in Rust, so that either means a lot of ugly FFI code or rewriting cmd_set_option() in Rust - neither of which are happening today. So as an interim hack, add a --dev-idx option: this can be specified (multiple times if desired) for indicating which devices the device specific options should be applied to. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions