]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: report minimum of two buffers for LNet selftest load test
authorJames Simmons <jsimmons@infradead.org>
Sat, 12 Mar 2016 01:29:50 +0000 (20:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:26:02 +0000 (22:26 -0800)
The minimum number reserve buffer for lnet selftest load test is two
not one.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/framework.c

index 2ff47d2b6b02d980f5e20f4647270a9d241ab812..55f92da02bc09dba5e13daa3d567b08f742e9989 100644 (file)
@@ -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;
 }