Whamcloud - gitweb
LU-1607 tests: allow MODOPTS_LIBCFS module params
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 15 Sep 2012 02:53:18 +0000 (20:53 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 6 Oct 2012 22:17:28 +0000 (18:17 -0400)
commita9257f57ad27a1b1219cfd8ce29fbfabdca1df84
tree7e7bc8d6feda71d49dddb3f713c7d4c78a68b1ce
parent19ca690b5150a316d505f8f72671906682fbfb28
LU-1607 tests: allow MODOPTS_LIBCFS module params

The changes made for forcing non-default CPT partition counts in
commit 95d67b28076f7938a6c962a5256e9b581a439f71 now prevents
overriding libcfs module options using MODOPTS_LIBCFS, because
there is always the cpu_npartitions parameter specified at module
loading time that overrides the environment variable.

Instead add the cpu_npartitions=2 argument to the environment
variable instead of making it a parameter.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I94bf500164dc23e81080bd2675646b5fa7500c1e
Reviewed-on: http://review.whamcloud.com/3999
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/test-framework.sh