[LU-7505] A released file lease cannot be taken again Created: 01/Dec/15 Updated: 19/Apr/17 Resolved: 19/Apr/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.8.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Frank Zago (Inactive) | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 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(). |
| Comments |
| Comment by Jinshan Xiong (Inactive) [ 01/Dec/15 ] |
|
Hi Frank, Nice test code. Did you have a chance to look into it? |
| Comment by Frank Zago (Inactive) [ 01/Dec/15 ] |
|
Hi Jinshan. No, I haven't looked into it. |
| Comment by Henri Doreau (Inactive) [ 19/Apr/17 ] |
|
This is a duplicate of |
| Comment by Peter Jones [ 19/Apr/17 ] |
|
Thanks Henri |