[Ocfs2-tools-devel] [PATCH 05/11] Add ocfs2_cached_inode_insert_extent in libocfs2.

Joel Becker Joel.Becker at oracle.com
Thu Jul 24 16:48:17 PDT 2008


On Wed, Jul 23, 2008 at 06:52:24AM +0800, Tao Ma wrote:
> Abstract the work of ocfs2_insert_extent to another function named
> ocfs2_cached_inode_insert_extent. With this new added function,
> we move the read/write of ocfs2_dinode out so that inline data
> can be removed safely after it has been written to extent list.
> 
> The caller can use ocfs2_cached_inode_insert_extent if they use
> ocfs2_cached_inode while others can still use ocfs2_insert_extent
> if they just want to use i_blkno to manipulate extent list.

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


-- 

"Behind every successful man there's a lot of unsuccessful years."
        - Bob Brown

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



More information about the Ocfs2-tools-devel mailing list