[Samba] renaming over to a busy file: traces

Michael Tokarev mjt at tls.msk.ru
Wed Mar 20 18:11:44 UTC 2024


20.03.2024 20:18, Ralph Boehme via samba:

> I guess the problem is that we can't lock two locking.tdb records simultaneously. We already have the source file record locked, also locking the the 
> destination record is not possible.

Why it is not possible?

Second lock can't be done in waiting mode, it can only be done
in lock-or-fail mode obviously (or else it is too prone to deadlocks).

/mjt



More information about the samba mailing list