[Ocfs2-devel] [PATCH] Treat writes as new when holes span across page boundaries

Goldwyn Rodrigues rgoldwyn at gmail.com
Thu Feb 24 08:32:44 PST 2011


Hi Joel,

On Wed, Feb 23, 2011 at 3:44 PM, Joel Becker <jlbec at evilplan.org> wrote:
>
>        I would love to see you modify tailtest to expose this bug.  You
> should be able to do it with one set of writes (your write(4k),
> write(32b), write(4K at someplace past 4K+32b)) test).  It will be a lot
> easier to debug if it is a simple script rather than a bunch of C
> writes.
>

I have posted the patch for ocfs2-test on the test mailing list.

While coding the test, I discovered that the problem does not occur
for sparse,inline-data. I thought it might be because it is the first
test in the series so I changed the order and confirmed that the test
does not fail for sparse,inline-data. Any ideas?

-- 
Goldwyn



More information about the Ocfs2-devel mailing list