[Ocfs2-devel] [PATCH] Treat writes as new when holes span across page boundaries
Joel Becker
jlbec at evilplan.org
Wed Feb 23 13:37:31 PST 2011
On Wed, Feb 23, 2011 at 03:35:36PM -0600, Goldwyn Rodrigues wrote:
> On Wed, Feb 23, 2011 at 3:17 PM, Joel Becker <jlbec at evilplan.org> wrote:
> >> 2. the previous write ended in a page boundary, but not a cluster
> >> boundary. eg, clustersize=16K but pos is at the page boundary = 4k
> >
> > Must it be a page boundary? What about a block boundary? ;-)
>
> I am not sure of this, but I would like to stick with page boundary. I
> am too poor to afford a machine with a page size bigger than 4k to
> test this ;)
Create a filesystem with 1K blocks and 16K clusters. Now you
have four blocks per page, and you can test block vs page boundaries.
Joel
--
"There is a country in Europe where multiple-choice tests are
illegal."
- Sigfried Hulzer
http://www.jlbec.org/
jlbec at evilplan.org
More information about the Ocfs2-devel
mailing list