[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:
Related
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
Subject: LU-9167 hsm: use a new environment during HSM purge
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: bc5468a98de30f36d81116525a0bd9597a8d5081

Comment by Gerrit Updater [ 14/Mar/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25730/
Subject: LU-9167 hsm: use a new environment during HSM purge
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4651199d1c0c2d88f253b6b6478ce1aa8c0649e8

Comment by Peter Jones [ 14/Mar/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:23:49 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.