On Fri, Oct 24, 2008 at 09:48:57AM +0900, [EMAIL PROTECTED] wrote:
> Hi,

Sorry for answering late, was offline for the last days.
> 
> Louis Rilling:
> > With aufs20081020 and Debian kernel Linux 2.6.25, an aufs mount exported by=
> >  NFS,
> > I got a deadlock when using udba=3Dinotify to copy a file under an aufs bra=
> > nch,
> > while several NFS clients were accessing the server simultaneously.
> > 
> > /proc/mounts on the server:
> > /dev/sda10 /srv ext3 rw,errors=3Dcontinue,data=3Dordered 0 0
> > /dev/ram14 /srv/.nfsroot64-scratch ext2 rw,errors=3Dcontinue 0 0
> > none /srv/nfsroot64 aufs rw,si=3Dfe5774f273e5041a,xino=3D/srv/.nfsroot64-sc=
> > ratch/.aufs.xino,noplink,udba=3Dinotify,br:/srv/.nfsroot64-scratch=3Drw:/sr=
> > v/.nfsroot64-base=3Dro 0 0
> > 
> > The command using udba was something like this:
> > 
> > ~louis$ cp foo /srv/.nfsroot64-base/lib/
> 
> In your /proc/mount, I can see /srv/.nfsroot64-scratch but
> /srv/.nfsroot64-base. What is the filesystem of ...-base?

/srv/.nfsroot64-base is a simple subdir of /srv. That's the reason why I showed
/srv in /proc/mounts.

> And you execute cp on nfs server, aren't you?

Yes. NFS clients are only using aufs indirectly, that is through the NFS server.

> 
> If you can set RR instead of RO to ...-base, then try it. The RR makes
> the branch an exception of inotiry watch.

I'm sorry, I'm not familiar with RR. If it disables inotify in the RO branch,
that's not what I want. I do want the modifications to be visible from NFS
clients.

> If you cannot, then try this patch.

I'll try in the next days. Thanks!

Louis

-- 
Dr Louis Rilling                        Kerlabs
Skype: louis.rilling                    Batiment Germanium
Phone: (+33|0) 6 80 89 08 23            80 avenue des Buttes de Coesmes
http://www.kerlabs.com/                 35700 Rennes

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Reply via email to