[ceph-users] Re: Dovecot and fnctl locks

2020-11-10 Thread Eugen Block
Hi Dan, one of our customers reported practically the same issue with fnctl locks but no negative PIDs: 0807178332093/mailboxes/Spam/rbox-Mails/dovecot.index.log (WRITE lock held by pid 25164) 0807178336211/mailboxes/INBOX/rbox-Mails/dovecot.index.log (WRITE lock held by pid 8143)

[ceph-users] Re: Dovecot and fnctl locks

2020-11-09 Thread Dan van der Ster
Hi, Yeah the negative pid is interesting. AFAICT we use a negative pid to indicate that the lock was taken on another host: https://github.com/torvalds/linux/blob/master/fs/ceph/locks.c#L119 https://github.com/torvalds/linux/commit/9d5b86ac13c573795525ecac6ed2db39ab23e2a8 "Finally, we convert