Message ID | 20180710195703.GA16252@vader (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, 2018-07-10 at 12:57 -0700, Omar Sandoval wrote: > As a further improvement, is it possible to configure multipathd to read > from a custom configuration path? That way we could, e.g., dump the > required multipath.conf in $TMPDIR instead of requiring the system-level > configuration. To my own surprise, not yet. The /etc/multipath.conf path is hardcoded in multipathd. I can look into making this path configurable but I'm afraid it will take a while before that patch ends up in the majority of the Linux distro's. > If not, can you please make the group_requires automatically make the > symlink instead of requiring it? Obviously checking if there was already > a prod config file there. OK, will do. > I also had to apply the following patch: > > diff --git a/tests/srp/002 b/tests/srp/002 > index c07e76f..74c5fee 100755 > --- a/tests/srp/002 > +++ b/tests/srp/002 > @@ -45,6 +45,7 @@ test_disconnect_repeatedly() { > } Thanks, I will apply this patch. Bart.
On Tue, 2018-07-10 at 20:40 +0000, Bart Van Assche wrote: > On Tue, 2018-07-10 at 12:57 -0700, Omar Sandoval wrote: > > As a further improvement, is it possible to configure multipathd to read > > from a custom configuration path? That way we could, e.g., dump the > > required multipath.conf in $TMPDIR instead of requiring the system-level > > configuration. > > To my own surprise, not yet. The /etc/multipath.conf path is hardcoded in > multipathd. I can look into making this path configurable but I'm afraid it > will take a while before that patch ends up in the majority of the Linux > distro's. > > > If not, can you please make the group_requires automatically make the > > symlink instead of requiring it? Obviously checking if there was already > > a prod config file there. > > OK, will do. > > > I also had to apply the following patch: > > > > diff --git a/tests/srp/002 b/tests/srp/002 > > index c07e76f..74c5fee 100755 > > --- a/tests/srp/002 > > +++ b/tests/srp/002 > > @@ -45,6 +45,7 @@ test_disconnect_repeatedly() { > > } > > Thanks, I will apply this patch. Hello Omar, These changes have been implemented and the corresponding pull request has been updated (https://github.com/osandov/blktests/pull/24). Please let me know if you would like me to repost this patch series. Thanks, Bart.
diff --git a/tests/srp/002 b/tests/srp/002 index c07e76f..74c5fee 100755 --- a/tests/srp/002 +++ b/tests/srp/002 @@ -45,6 +45,7 @@ test_disconnect_repeatedly() { } test() { + : "${TIMEOUT:=30}" trap 'trap "" EXIT; teardown' EXIT setup && test_disconnect_repeatedly && echo Passed } diff --git a/tests/srp/003 b/tests/srp/003 index fc85e29..9b8eeb4 100755 --- a/tests/srp/003 +++ b/tests/srp/003 @@ -45,6 +45,7 @@ test_disconnect_repeatedly() { } test() { + : "${TIMEOUT:=30}" trap 'trap "" EXIT; teardown' EXIT setup && test_disconnect_repeatedly && echo Passed } diff --git a/tests/srp/004 b/tests/srp/004 index 9c37fd2..1e8766a 100755 --- a/tests/srp/004 +++ b/tests/srp/004 @@ -45,6 +45,7 @@ test_disconnect_repeatedly() { } test() { + : "${TIMEOUT:=30}" trap 'trap "" EXIT; teardown' EXIT setup && test_disconnect_repeatedly && echo Passed } diff --git a/tests/srp/011 b/tests/srp/011 index 3561662..df99da5 100755 --- a/tests/srp/011 +++ b/tests/srp/011 @@ -41,6 +41,7 @@ test_disconnect_repeatedly() { } test() { + : "${TIMEOUT:=30}" trap 'trap "" EXIT; teardown' EXIT setup && test_disconnect_repeatedly && echo Passed }