]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cls_lock: expired lock before unlock and start check
authorNitzanMordhai <nmordech@redhat.com>
Sun, 17 Jul 2022 08:01:30 +0000 (08:01 +0000)
committerNitzanMordhai <nmordech@redhat.com>
Tue, 1 Aug 2023 07:56:07 +0000 (07:56 +0000)
commitd3457c64b1bdc26a4379197ae206019a615d2ebc
treea18bc4032b2de8498bf0a568d7978ee318f6fb71
parent88170fe5dd31619ad0502af26794654420e87f7c
cls_lock: expired lock before unlock and start check

If the lock expired, the stat check shouldn't return -ENOENT,
We will change the lock duration to prevent lock expired before the
stat check.

Fixes: https://tracker.ceph.com/issues/56575
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
src/test/cls_lock/test_cls_lock.cc