]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds/cache: don't assume non-auth xlocks to be remote locks 57020/head
authorLeonid Usov <leonid.usov@ibm.com>
Sun, 21 Apr 2024 19:14:06 +0000 (22:14 +0300)
committerLeonid Usov <leonid.usov@ibm.com>
Mon, 22 Apr 2024 15:45:07 +0000 (18:45 +0300)
commit3aa055d89c6d72b614423b7d6945e2780e7db74d
treef99acd08dddc1e7058ad3095d6eafd9bea7e761d
parent8e5d4841d618e0cb445bc094c0c8f9e7f0d2544a
mds/cache: don't assume non-auth xlocks to be remote locks

A few places in the code assumed that non-auth xlocks
must be remote, which prevented a proper drop lock procedure
when those locks turned out to be locallocks.

Fixes: https://tracker.ceph.com/issues/65606
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
src/mds/Locker.cc
src/mds/MDCache.cc
src/mds/Server.cc