Whamcloud - gitweb
LU-958 tests: debug_mb set incorrectly for smp or vm
authorDenis Kondratenko <Denis_Kondratenko@xyratex.com>
Tue, 27 Mar 2012 07:47:51 +0000 (10:47 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 29 Mar 2012 02:36:16 +0000 (22:36 -0400)
commit28817cbd133c626042f9b142600c03187ba4a7ce
treec2e27872c1d4e11c1f1f532041190d97ff3f9d80
parentc7b8a20ad9981702794e416ba53991aa08119936
LU-958 tests: debug_mb set incorrectly for smp or vm

For cpus with number of cores or for some VMs,
number of possible CPUs in the system could
be greater than number of cpu reported by getconf.
Added check for maximum debug buffer size.
Added check that "possible" is exist, if not - use old method.

Xyratex-bug-id: MRP-219 incorrect settings for debug_mb
Signed-off-by: Denis Kondratenko <Denis_Kondratenko@xyratex.com>
Change-Id: I1ea367d1b956ae1009c4a501e0f02b6c9209a2f7
Reviewed-on: http://review.whamcloud.com/2377
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/cfg/local.sh
lustre/tests/test-framework.sh