[LU-9167] lctl mdt.*.hsm_control=purge uses the CDT's env Created: 28/Feb/17 Updated: 14/Mar/17 Resolved: 14/Mar/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.10.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
hsm_cancel_all_actions() assumes that we are running in the CDT's context but we are really running in the context of some user process (usually lctl). Therefore hsm_cancel_all_actions() must not use the CDT environment (via mdt->mdt_coordinator.cdt_env). |
| Comments |
| Comment by Gerrit Updater [ 02/Mar/17 ] |
|
John L. Hammond (john.hammond@intel.com) uploaded a new patch: https://review.whamcloud.com/25730 |
| Comment by Gerrit Updater [ 14/Mar/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25730/ |
| Comment by Peter Jones [ 14/Mar/17 ] |
|
Landed for 2.10 |