diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-04 03:21:34 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:56 -0400 |
commit | 57c723de7d4c592ab3a38e77d414d0021e8483ee (patch) | |
tree | 87724b7eaf0dfbaaedbb45abbf1a6eb3e389f3f0 /fs/bcachefs/ec.c | |
parent | 702ffea204840455e4f2d918538c39cc5c59666b (diff) | |
download | linux-stable-57c723de7d4c592ab3a38e77d414d0021e8483ee.tar.gz linux-stable-57c723de7d4c592ab3a38e77d414d0021e8483ee.tar.bz2 linux-stable-57c723de7d4c592ab3a38e77d414d0021e8483ee.zip |
bcachefs: Rework __bch2_data_update_index_update()
This makes some improvements to the logic for adding/removing replicas,
as part of the larger erasure coding improvements. We now directly
consider number of replicas desired for the given inode, and
extent/pointer durability: this ensures that the extent ends up with the
desired number of replicas when we're replacing multiple pointers with
one that has higher durability (e.g. erasure coded).
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/ec.c')
0 files changed, 0 insertions, 0 deletions