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

Volker Lendecke vl at samba.org
Wed Jul 20 19:56:18 UTC 2016


On Wed, Jul 20, 2016 at 12:03:07PM -0500, Steve French wrote:
> Created large directory tree and did ls -lR (from cifs mount to Samba
> 4.4-test branch equivalent to about two weeks ago + your patch
> series).   (By the way Michael's small original patch did work without
> problems in the same scenario as an alternative).

Any chance you run smbd under valgrind?

Michael's patch is incomplete, dbwrap_watchers.tdb needs a lock order
number 4.

Volker



More information about the samba-technical mailing list