[Ocfs2-devel] [PATCH 1/2 v3] ocfs2: Flush drive's caches on fdatasync

Joel Becker Joel.Becker at oracle.com
Wed Aug 11 17:32:42 PDT 2010


On Thu, Aug 05, 2010 at 08:32:45PM +0200, Jan Kara wrote:
> When 'barrier' mount option is specified, we have to issue a cache flush
> during fdatasync(2). We have to do this even if inode doesn't have
> I_DIRTY_DATASYNC set because we still have to get written *data* to disk so
> that they are not lost in case of crash.
> 
> Acked-by: Tao Ma <tao.ma at oracle.com>
> Signed-off-by: Jan Kara <jack at suse.cz>

        This patch is now in the merge-window branch of ocfs2.git

Joel

-- 

Life's Little Instruction Book #335

	"Every so often, push your luck."

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



More information about the Ocfs2-devel mailing list