From: Bart Van Assche Date: Tue, 25 Sep 2018 23:43:09 +0000 (-0700) Subject: common/multipath-over-rdma: Make teardown() shut down the client X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2b1f9273a3a088ae39ab6279df12c602dece4fef;p=users%2Fhch%2Fblktests.git common/multipath-over-rdma: Make teardown() shut down the client This ensures that no multipath definitions created during a test remain after a test has finished. Signed-off-by: Bart Van Assche --- diff --git a/common/multipath-over-rdma b/common/multipath-over-rdma index 210fe4c..c87667e 100644 --- a/common/multipath-over-rdma +++ b/common/multipath-over-rdma @@ -601,9 +601,11 @@ setup_rdma() { # Undo setup() teardown() { + shutdown_client killall -9 multipathd >&/dev/null rm -f /etc/multipath.conf stop_target + stop_rdma_rxe unload_null_blk }