[Ocfs2-test-devel] [PATCH 2/2] multiple reflink: stress test truncate wrong files
Eric Ren
zren at suse.com
Fri Oct 9 00:19:37 PDT 2015
OMG, mistake to miss that patch!
Thanks, Junxiao!
Eric
On Fri, Oct 09, 2015 at 02:51:44PM +0800, Junxiao Bi wrote:
> On 10/09/2015 10:08 AM, zren at suse.com wrote:
> > 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
> This had been fixed by [PATCH 41/59] reflink-test: fix multiple stress test
>
> Thanks,
> Junxiao.
> >
> > 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) {
> >
>
>
More information about the Ocfs2-test-devel
mailing list