[Ocfs2-tools-devel] [PATCH 6/6] Add read write support for unwritten extents.

Joel Becker Joel.Becker at oracle.com
Mon Sep 24 17:35:33 PDT 2007


On Mon, Sep 24, 2007 at 05:21:15PM +0800, Tao Ma wrote:
> Modify ocfs2_file_write and ocfs2_file_read to be
> compatible with unwritten extents.

> +		if (!p_blkno || extent_flags & OCFS2_EXT_UNWRITTEN) {

	Once again, accessors instead of naked bit tests would be cool.
Mark says they could even go in the filesystem header.

Joel

-- 

"There is a country in Europe where multiple-choice tests are
 illegal."
        - Sigfried Hulzer

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