From: Bart Van Assche <bvanassche@acm.org>
To: Omar Sandoval <osandov@fb.com>
Cc: linux-block@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH blktests 2/4] common/multipath-over-rdma: Rename two functions
Date: Fri, 15 Nov 2019 09:07:09 -0800 [thread overview]
Message-ID: <20191115170711.232741-3-bvanassche@acm.org> (raw)
In-Reply-To: <20191115170711.232741-1-bvanassche@acm.org>
Since the meaning of this functions will change, make sure that the
function name will match the new meaning.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
common/multipath-over-rdma | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/multipath-over-rdma b/common/multipath-over-rdma
index 15f296ef2ab7..9f645f759d2d 100644
--- a/common/multipath-over-rdma
+++ b/common/multipath-over-rdma
@@ -409,7 +409,7 @@ has_rdma_rxe() {
}
# Load the rdma_rxe kernel module and associate it with all network interfaces.
-start_rdma_rxe() {
+start_soft_rdma() {
{
modprobe rdma_rxe || return $?
(
@@ -425,7 +425,7 @@ start_rdma_rxe() {
# Dissociate the rdma_rxe kernel module from all network interfaces and unload
# the rdma_rxe kernel module.
-stop_rdma_rxe() {
+stop_soft_rdma() {
(
cd /sys/class/net &&
for i in *; do
@@ -608,7 +608,7 @@ unload_null_blk() {
}
setup_rdma() {
- start_rdma_rxe
+ start_soft_rdma
(
echo "RDMA interfaces:"
cd /sys/class/infiniband &&
@@ -627,7 +627,7 @@ teardown_uncond() {
killall -9 multipathd >&/dev/null
rm -f /etc/multipath.conf
stop_target
- stop_rdma_rxe
+ stop_soft_rdma
unload_null_blk
}
next prev parent reply other threads:[~2019-11-15 17:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-15 17:07 [PATCH blktests 0/4] Add an SRP test for the SoftiWARP driver Bart Van Assche
2019-11-15 17:07 ` [PATCH blktests 1/4] common/multipath-over-rdma: Fix expand_ipv6_addr() Bart Van Assche
2019-11-15 17:07 ` Bart Van Assche [this message]
2019-11-15 17:07 ` [PATCH blktests 3/4] common/multipath-over-rdma, tests/srp: Make it easy to use siw instead of rdma_rxe Bart Van Assche
2019-11-15 17:07 ` [PATCH blktests 4/4] tests/srp/015: Add a test that uses the SoftiWARP (siw) driver Bart Van Assche
2019-11-25 20:13 ` Omar Sandoval
2019-11-25 20:49 ` Bart Van Assche
2019-11-25 21:10 ` Omar Sandoval
2019-11-25 21:41 ` Bart Van Assche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191115170711.232741-3-bvanassche@acm.org \
--to=bvanassche@acm.org \
--cc=linux-block@vger.kernel.org \
--cc=osandov@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).