[Ocfs2-devel] [PATCH 17/41] ocfs2: Add CoW support.

Joel Becker Joel.Becker at oracle.com
Fri Aug 21 00:10:00 PDT 2009


On Fri, Aug 21, 2009 at 11:04:11AM +0800, Tao Ma wrote:
> oh, actually I drafted up this code in the hypothesis that write_len
> <= max_clusters, so if we want to write 1.5MB, I am afraid we need
> to rethink it carefully.

	While the write_begin code generally will honor your idea, I
think it's better for ocfs2_refcount_cow() to be able to handle
anything.  Then we can use it wherever.  For example, really large
extended attributes.

Joel

-- 

"To announce that there must be no criticism of them president, or
 that we are to stand by the president, right or wrong, is not only
 unpatriotic and servile, but is morally treasonable to the American
 public."
	- Theodore Roosevelt

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list