[Ocfs2-devel] data inconsistency when write in a memory map way

Joel Becker Joel.Becker at oracle.com
Wed Aug 11 14:36:24 CDT 2004


On Wed, Aug 11, 2004 at 05:38:10PM +0800, Chen, Yukun wrote:
> 1.on node a, write to a file residing on a ocfs2 partition in a way of
> memory 
> 
> map
> 
> 2.then on node b , check the writtent data but nothing will be found.

	Try using msync() on the memory map after writing to it.

Joel

-- 

 "I'm living so far beyond my income that we may almost be said
 to be living apart."
         - e e cummings

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127


More information about the Ocfs2-devel mailing list