On Wed, Sep 28, 2005 at 05:08:50PM +0200, Patrik Weiskircher wrote:
> > > > > I've got a little problem here and I'm not sure if I did something 
> > > > > wrong
> > > > > on my side or if there is something wrong with unionfs 1.0.14 (up to 
> > > > > the
> > > > > latest snapshot).
> > > > > 
> > > > > My problem:
> > > > > I have three branches mounted on /:
> > > > > 0: /mnt/rw (tmpfs, read-write)
> > > > > 1: /mnt/custom (ext2, read-only)
> > > > > 2: /mnt/rootfs (ext2, read-only)
> > > > > 
> > > > > I'm in my home directory.
> > > > > I do a 'unionctl / --add --mode ro /mnt/test'.
> > > > > This one works without a problem.
> 
> I just tried a few snapshots in between the 1.0.13 and 1.0.14 release.
> It still works without a deadlock in 20050811-0941, but is broken in
> 20050829-0915.  I'm going to further track it down tomorrow..

OK, tracked it down to the addition of the dentry locks.
It deadlocks if it enteres the following if:
if (!restart && (pdgen != sbgen)) {

This is in dentry.c line 74, unionfs_d_revalidate..
I unfortunatly couldn't fix it, and I doubt that I'll have the time to
do it anytime soon.  Would be great if anybody could offer some help
with this, as deadlocks are really a pain.

Best Regards,
Patrik

_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to