[Ocfs2-devel] [PATCH 13/15] ocfs2: Write support for inline data

Joel Becker Joel.Becker at oracle.com
Thu Sep 20 16:39:26 PDT 2007


On Fri, Sep 07, 2007 at 02:46:51PM -0700, Mark Fasheh wrote:
> This fixes up write, truncate, mmap, and RESVSP/UNRESVP to understand inline
> inode data.
> 
> For the most part, the changes to the core write code can be relied on to do
> the heavy lifting. Any code calling ocfs2_write_begin (including shared
> writeable mmap) can count on it doing the right thing with respect to
> growing inline data to an extent tree.
> 
> Size reducing truncates, including UNRESVP can simply zero that portion of
> the inode block being removed. Size increasing truncatesm, including RESVP
> have to be a little bit smarter and grow the inode to an extent tree if
> necessary.
> 
> Signed-off-by: Mark Fasheh <mark.fasheh at oracle.com>

Signed-off-by: Joel Becker <joel.becker at oracle.com>


-- 

None of our men are "experts."  We have most unfortunately found
it necessary to get rid of a man as soon as he thinks himself an
expert -- because no one ever considers himself expert if he really
knows his job.  A man who knows a job sees so much more to be done
than he has done, that he is always pressing forward and never
gives up an instant of thought to how good and how efficient he is.
Thinking always ahead, thinking always of trying to do more, brings
a state of mind in which nothing is impossible. The moment one gets
into the "expert" state of mind a great number of things become
impossible.
	- From Henry Ford Sr., "My Life and Work"

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