diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-13 15:12:04 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:04 -0400 |
commit | 91ecd41b7f02b95279dddcb2193af454efd39497 (patch) | |
tree | 2aa5f8fecb243e4e32ae85a23d94ce631c403f3f /fs/overlayfs | |
parent | 253748a26a14ae22123f3ab670ae04eb15fccc2e (diff) | |
download | lwn-91ecd41b7f02b95279dddcb2193af454efd39497.tar.gz lwn-91ecd41b7f02b95279dddcb2193af454efd39497.zip |
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/overlayfs')
0 files changed, 0 insertions, 0 deletions