aboutsummaryrefslogtreecommitdiff
path: root/release/powerpc
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2022-01-27 10:49:04 +0000
committerAndriy Gapon <avg@FreeBSD.org>2022-01-27 11:22:52 +0000
commit5d5f44623eb3d121d528060d131ee5d6bcd63489 (patch)
tree3d0fa1fa8cac5daef4c85eae2551dee54c8df478 /release/powerpc
parenta95fcd81d5713dd10d70ce9980f15309b3fb7cb6 (diff)
downloadsrc-5d5f44623eb3d121d528060d131ee5d6bcd63489.tar.gz
src-5d5f44623eb3d121d528060d131ee5d6bcd63489.zip
g_mirror: don't fail reads while losing next-to-last disk
I observed a situation where some read requests failed when a 2-way geom mirror lost one disk. The problem appears to be in the logic that skips retrying a failed request when a mirror has only one active disk. Generally, that makes sense. But during a transition from two disks to one it is possible that the request failed on the failing disk before it was inactivated and, so, the remaining active disk is the disk that should be tried. This change adds an additional check to ensure that it was the (only) active disk that was already tried. Reviewed by: mav MFC after: 3 weeks
Diffstat (limited to 'release/powerpc')
0 files changed, 0 insertions, 0 deletions