[PATCH] avoid lock oder violation between xattr.tdb and g_lock.tdb

Amitay Isaacs amitay at gmail.com
Wed Jul 13 07:14:54 UTC 2016

On Wed, Jul 13, 2016 at 1:29 AM, Volker Lendecke <vl at samba.org> wrote:

> On Tue, Jul 12, 2016 at 05:12:48PM +0200, Michael Adam wrote:
> > Ouch. So without the below-mentioned rework of dbwrap_watch
> > (or another solution), we would need an additional lock oder
> > value(4)?
> Yep.

Do we need to add the new priority soon?  If yes, then I will have to fix
ctdb code with additional priority.

In the long term (matter of few weeks), I am going to drop database
priorities from CTDB completely.  With parallel database recovery, there is
no need for database priorities in CTDB.  They should only be required in
Samba code to avoid deadlock between samba processes.


More information about the samba-technical mailing list