summaryrefslogtreecommitdiff
path: root/drivers/input/tests
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-08-23 20:18:32 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-09-17 11:37:16 -0400
commit1a64c52bac4085601538041ff371480bb598809e (patch)
tree3bb76d9254891b33d4a562f0c764c6a2e04041c3 /drivers/input/tests
parent0e986243e41b7f5808b23f536852dbbbe6539e03 (diff)
bcachefs: next_rebalance_extent() now handles replicas changesbcachefs-testing
This obsoletes BCH_DATA_OP_drop_extra_replicas, BCH_DATA_OP_rereplicate. (And the code is taken from drop_extra_replicas_pred() and rereplicate_pred() in move.c). Changes to the data_replicas setting will now automatically be applied to existing data without any additional user action. NOTE: we don't yet have a mechanism for guessing how much space an option change will require (and reserving said space), until we have that users will have to be careful not to run a filesystem out of free space with an option change. XXX: support metadata XXX: BCH_DATA_OP_rereplicate additionally calls bch2_replicas_gc2(): this clears out stale replicas entries from the superblock (based on the accounting btree), ensuring the "can we mount degraded without missing data?" table is accurate. We'll need to figure out a new place to plumb this. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'drivers/input/tests')
0 files changed, 0 insertions, 0 deletions