From d7fc52bdf2e09e21daab2a8a4986b6c09260d3ae Mon Sep 17 00:00:00 2001 From: James Simmons Date: Fri, 11 Mar 2016 20:29:50 -0500 Subject: [PATCH] staging: lustre: report minimum of two buffers for LNet selftest load test The minimum number reserve buffer for lnet selftest load test is two not one. Signed-off-by: James Simmons Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/lnet/selftest/framework.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/selftest/framework.c b/drivers/staging/lustre/lnet/selftest/framework.c index 2ff47d2b6b02..55f92da02bc0 100644 --- a/drivers/staging/lustre/lnet/selftest/framework.c +++ b/drivers/staging/lustre/lnet/selftest/framework.c @@ -588,7 +588,7 @@ sfw_load_test(struct sfw_test_instance *tsi) CDEBUG(D_NET, "Reserved %d buffers for test %s\n", nbuf * (srpc_serv_is_framework(svc) ? - 1 : cfs_cpt_number(cfs_cpt_table)), svc->sv_name); + 2 : cfs_cpt_number(cfs_cpt_table)), svc->sv_name); return 0; } -- 2.34.1