[Ocfs2-test-devel] [PATCH 2/2] multiple reflink: stress test truncate wrong files
zren at suse.com
zren at suse.com
Thu Oct 8 19:08:52 PDT 2015
From: Eric Ren <zren at suse.com>
Error message:
Test 1: Multi-nodes stress refcount test.
*SubTest 1: Stress test with tremendous refcount trees.
*SubTest 2: Stress test with tremendous shared inodes on one refcount tree.
xxx (rank 1): truncate refcount file ocfs2-multi-refcount-tests/multi_original_stress_refile_1r1
failed: 2:No such file or directory
Signed-off-by: Eric Ren <zren at suse.com>
---
programs/reflink_tests/multi_reflink_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/reflink_tests/multi_reflink_test.c b/programs/reflink_tests/multi_reflink_test.c
index bd980c6..dcb8e51 100755
--- a/programs/reflink_tests/multi_reflink_test.c
+++ b/programs/reflink_tests/multi_reflink_test.c
@@ -1466,7 +1466,7 @@ static int stress_test(void)
if (get_rand(0, 1))
continue;
- snprintf(ref_path, PATH_MAX, "%s_%dr%ld", orig_path,
+ snprintf(ref_path, PATH_MAX, "%s_%dr%ld", dest,
rank, i);
if (truncate(ref_path, 0) < 0) {
--
2.1.4
More information about the Ocfs2-test-devel
mailing list