[Ocfs2-users] MMAP shared in OCFS2 filesystem
    Nuno Fernandes 
    npf-mlists at eurotux.com
       
    Wed May 16 10:10:06 PDT 2007
    
    
  
What about this patch  
http://kernel.org/pub/linux/kernel/people/mfasheh/ocfs2/mmap/ocfs2-shared-writeable-mmap.patch
?
Have you tried it already? Is it safe? I've read that there some bugs in 
several implementations of shared mmap in ocfs..
Thanks
Nuno Fernandes
On Wednesday 16 May 2007 17:57:19 you wrote:
> Yes, shared writeable mmap is not yet supported on ocfs2.
> We are close to nailing down this feature. Hopefully will make
> it in time for the next mainline kernel check-in window (2.6.23).
> If so, will be available with ocfs2 1.4.
>
> Nuno Fernandes wrote:
> > Hi,
> >
> > My homedir is inside an ocfs2. When i use mysql client it should create
> > a .mysql_history file with the commands i've inputted so far.
> >
> > The file is created but no data is recorded inside. If i do a simlink
> > outside ocfs everything is ok..
> >
> > I've narrowed it down to the following code:
> >
> > ...
> > open("/home/rv/.mysql_history", O_RDWR|O_CREAT|O_TRUNC, 0600) = 3
> > ftruncate(3, 13)                        = 0
> > mmap(NULL, 13, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = -1 EINVAL
> > (Invalid argument)
> > close(3)                                = 0
> > write(1, "Bye\n", 4Bye
> > )                    = 4
> > exit_group(0)                           = ?
> > Process 10776 detached
> >
> > I'm using 2.6.9-48.ELxenU with ocfs2-tools-1.2.4-1 and
> > ocfs2-2.6.9-48.ELxen-1.2.5-0.local.
> >
> > Any info on this?
> > Thanks
> > Nuno Fernandes
> >
> > _______________________________________________
> > Ocfs2-users mailing list
> > Ocfs2-users at oss.oracle.com
> > http://oss.oracle.com/mailman/listinfo/ocfs2-users
    
    
More information about the Ocfs2-users
mailing list