[LU-15145] hsm_cancel on an inactive HSM restore request do not free the EX lock Created: 22/Oct/21 Updated: 26/Oct/22 Resolved: 18/Jan/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Etienne Aujames | Assignee: | Etienne Aujames |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
VMs + Lustre 2.14.55_43_g6a08df2 |
||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
For an inactive HSM RESTORE request (not sent to a copytool), CANCEL action (or purge) only delete the record inside the llog but it does not unlock the MDS_INODELOCK_LAYOUT exclusive lock. This causes an orphan EX lock on the fid. |
| Comments |
| Comment by Gerrit Updater [ 22/Oct/21 ] |
|
"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/45341 |
| Comment by Gerrit Updater [ 18/Jan/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45341/ |
| Comment by Gerrit Updater [ 18/Jan/22 ] |
|
"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/46168 |
| Comment by Peter Jones [ 18/Jan/22 ] |
|
Landed for 2.15 |