From: James Simmons Date: Sat, 12 Mar 2016 01:29:50 +0000 (-0500) Subject: staging: lustre: report minimum of two buffers for LNet selftest load test X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d7fc52bdf2e09e21daab2a8a4986b6c09260d3ae;p=deliverable%2Flinux.git 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 --- 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; }