diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-07 02:14:36 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-21 18:39:49 +0300 |
commit | 035d72f72c9172a29bba4e09620d286ed8496356 (patch) | |
tree | 123b8f98fcf7bb4bb6cae3bf4af864b3d685bcb2 /rust/helpers/build_bug.c | |
parent | 83ccd9b31d5356f9943b8fd0f996ec9fefcb25f1 (diff) | |
download | linux-035d72f72c9172a29bba4e09620d286ed8496356.tar.xz |
bcachefs: bch2_ec_stripe_head_get() now checks for change in rw devices
This factors out ec_strie_head_devs_update(), which initializes the
bitmap of devices we're allocating from, and runs it every time
c->rw_devs_change_count changes.
We also cancel pending, not allocated stripes, since they may refer to
devices that are no longer available.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions