From 41184c69e2823a4690b3cea8bcf3e4687575dc05 Mon Sep 17 00:00:00 2001 From: Richard Mohr Date: Tue, 1 Dec 2020 01:22:31 -0500 Subject: [PATCH] mdtest: fix reference to unique_dir_per_task for builds --with-lustre --- src/mdtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdtest.c b/src/mdtest.c index 433ce7b..1a71174 100644 --- a/src/mdtest.c +++ b/src/mdtest.c @@ -1708,7 +1708,7 @@ static void mdtest_iteration(int i, int j, MPI_Group testgroup, mdtest_results_t } #ifdef HAVE_LUSTRE_LUSTREAPI /* internal node for branching, can be non-striped for children */ - if (o.global_dir_layout && unique_dir_per_task && llapi_dir_set_default_lmv_stripe(o.testdir, -1, 0, LMV_HASH_TYPE_FNV_1A_64, NULL) == -1) { + if (o.global_dir_layout && o.unique_dir_per_task && llapi_dir_set_default_lmv_stripe(o.testdir, -1, 0, LMV_HASH_TYPE_FNV_1A_64, NULL) == -1) { FAIL("Unable to reset to global default directory layout"); } #endif /* HAVE_LUSTRE_LUSTREAPI */