summaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_update_interior.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-06-13 22:12:04 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:10:04 +0300
commit91ecd41b7f02b95279dddcb2193af454efd39497 (patch)
tree2aa5f8fecb243e4e32ae85a23d94ce631c403f3f /fs/bcachefs/btree_update_interior.c
parent253748a26a14ae22123f3ab670ae04eb15fccc2e (diff)
downloadlinux-91ecd41b7f02b95279dddcb2193af454efd39497.tar.xz
bcachefs: bch2_extent_ptr_desired_durability()
This adds a new helper for getting a pointer's durability irrespective of the device state, and uses it in the the data update path. This fixes a bug where we do a data update but request 0 replicas to be allocated, because the replica being rewritten is on a device marked as failed. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update_interior.c')
0 files changed, 0 insertions, 0 deletions