[LU-14455] mdt_dom_resource_prolong() can miss needed lock Created: 19/Feb/21 Updated: 22/Feb/21 Resolved: 22/Feb/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Mikhail Pershin | Assignee: | Mikhail Pershin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
mdt_dom_resource_prolong() should find all locks on the resource to prolong them when needed but it stops after the first one found. That is not correct because found lock could be even from different export and mdt_rw_hpreq_check() will end with -ESTALE error wrongly |
| Comments |
| Comment by Gerrit Updater [ 19/Feb/21 ] |
|
Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41701 |
| Comment by Gerrit Updater [ 22/Feb/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41701/ |
| Comment by Peter Jones [ 22/Feb/21 ] |
|
Landed for 2.15 |