[LU-5385] HSM: do not call the JSON log functions if no log is open Created: 21/Jul/14  Updated: 08/Oct/14  Resolved: 27/Aug/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.7.0, Lustre 2.5.4

Type: Bug Priority: Minor
Reporter: Frank Zago (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: hsm, patch

Severity: 3
Rank (Obsolete): 14997

 Description   

llapi_hsm_log_ct_registration() and llapi_hsm_log_ct_progress() are
very expensive (fid2path+allocations). Do not let them do anything
if llapi_hsm_write_json_event() is going to discard the JSON record.

This impacts the performance of the copytool.



 Comments   
Comment by Frank Zago (Inactive) [ 21/Jul/14 ]

http://review.whamcloud.com/11164

Comment by James Nunez (Inactive) [ 27/Aug/14 ]

Landed to master (2.7.0)

Comment by James Nunez (Inactive) [ 27/Aug/14 ]

Patch for b2_5 at http://review.whamcloud.com/#/c/11617/

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