summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2017-04-06 17:01:57 -0400
committerJens Axboe <axboe@fb.com>2017-04-17 09:58:42 -0600
commitf3733247ae7c5fc0fa4c7303438f9e18a6ebb5ec (patch)
tree4742034116698892b2da029876df3342372531f4 /tools/perf/scripts/python/syscall-counts.py
parent9b1355d5e3f094ef671033f38c4357cd1455c571 (diff)
nbd: handle single path failures gracefully
Currently if we have multiple connections and one of them goes down we will tear down the whole device. However there's no reason we need to do this as we could have other connections that are working fine. Deal with this by keeping track of the state of the different connections, and if we lose one we mark it as dead and send all IO destined for that socket to one of the other healthy sockets. Any outstanding requests that were on the dead socket will timeout and be re-submitted properly. Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions