Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Lustre 2.8.0
-
None
-
3
-
9223372036854775807
Description
Taking a lease, releasing it and then taking it again will fail.
llapi_lease_get(fd, LL_LEASE_RDLCK); -> returns 0 llapi_lease_put(fd); -> returns LL_LEASE_RDLCK llapi_lease_check(fd) -> returns 0 = no lease llapi_lease_get(fd, LL_LEASE_RDLCK); -> return -EBUSY
http://review.whamcloud.com/13441 has a commented out reproducer. Change the "#if 0" to "#if 1" in swap_layout_test.c:test15().
Attachments
Issue Links
- duplicates
-
LU-8174 Taking a lease for the 2nd time fails with -EBUSY
- Resolved