Whamcloud - gitweb
LU-7004 mgs: remove using obdname2fsname() from mgs layer. 84/32784/21
authorJames Simmons <uja.ornl@yahoo.com>
Wed, 21 Nov 2018 22:53:10 +0000 (17:53 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Jan 2019 04:44:56 +0000 (04:44 +0000)
commit5da91cd4e44f8113b00035324738a9bb67f8a597
treec7dae20eaddf49ae7e043fcbfaa408a06474a8ee
parent93ef6e7863b4e3aadfb3171f7f4958c5040446ec
LU-7004 mgs: remove using obdname2fsname() from mgs layer.

Further testing shows that with the complex of obd device names
as well as wild card handling makes covering every case in
obdname2fsname() very difficult. Instead of mining the file
system name out of obd device name take advantage of the fact
the MGS device will know all the file system names and test if
the file system name is present in the lctl set_param -P
cmd.

Fix up the PERM_CMD test in the test suite which was wrong.
Make config-sanity test 29 wait until the tunables are set
after mounting the client.

Test-Parameters: envdefinitions="PERM_CMD=$LCTL set_param -P"

Change-Id: Ie3f5c8e1e1ff5ec309a31ba598f7cdf2f19c791f
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/32784
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Vladimir Saveliev <c17830@cray.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mgs/mgs_llog.c
lustre/tests/conf-sanity.sh
lustre/tests/ost-pools.sh
lustre/tests/sanity-quota.sh
lustre/tests/sanity.sh
lustre/tests/test-framework.sh