[Unionfs] Locking issue with unionfs
Erez Zadok
ezk at cs.sunysb.edu
Fri Nov 2 10:24:38 EDT 2007
In message <200711011338.54587.herton at mandriva.com.br>, Herton Ronaldo Krzesinski writes:
> Em Wednesday 31 October 2007 22:27:18 Erez Zadok escreveu:
> > Oliver/Herton,
> >
> > Here's a patch that cleanly solves this self-deadlock issue. You should
> > apply it on a clean unionfs-2.1.7 (and *remove* the write_unlock/re-lock
> > around the do_remount_*_option calls which you've added). With this patch,
> > you won't get into a deadlock if you change the branch configuration of a
> > pivot_rooted union, and at the same time you won't open yourself to a
> > concurrency risk between normal branch-management commands and in-flight
> > file operations.
> >
> > I'd appreciate if you can test this patch and report back.
>
> Thanks, works fine now, no more deadlocks. If you want you can add:
> Tested by: Herton Ronaldo Krzesinski <herton at mandriva.com>
Great. I'll add an Acked-by you.
Erez.
More information about the unionfs
mailing list