diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-07 10:50:49 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-14 21:02:16 -0400 |
commit | d71e023376d3e56bf2a787c9b5d2600a2db2aabf (patch) | |
tree | c73c114d81711c509b0dd83bdf50024ac05fadd5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cf164a91066d9af7db3cfa9ee2ac2e36f692dc5e (diff) |
bcachefs: Change BCH_MEMBER_STATE_failed semantics
Previously, we woudn't try to read at all from a failed device - that
doesn't make much sense, the device may be unhealthy (perhaps taking
longer than it should to service reads), but if it's our only option we
should still try to read from it.
Now, bch2_bkey_pick_read_device() will pick failed devices only if there
are no non-failed replicas to read from.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions