aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <[email protected]>2016-10-10 16:48:06 +0000
committerMike Snitzer <[email protected]>2016-10-14 15:55:17 +0000
commit12a7cf5ba6c776a2621d8972c7d42e8d3d959d20 (patch)
tree8e492c8a13d3a79a81e39d1a7cb16fcd3b85dbea /net/switchdev/switchdev.c
parentdm mirror: fix read error on recovery after default leg failure (diff)
downloadkernel-12a7cf5ba6c776a2621d8972c7d42e8d3d959d20.tar.gz
kernel-12a7cf5ba6c776a2621d8972c7d42e8d3d959d20.zip
dm mirror: use all available legs on multiple failures
When any leg(s) have failed, any read will cause a new operational default leg to be selected and the read is resubmitted to it. If that new default leg fails the read too, no other still accessible legs are used to resubmit the read again -- thus failing the io. Fix by allowing the read to get resubmitted until all operational legs have been exhausted. Also, remove any details.bi_dev use as a flag. Signed-off-by: Heinz Mauelshagen <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions