[LU-14437] Use NSEC_PER_USEC when converting between NSEC and USEC values Created: 16/Feb/21  Updated: 30/Nov/21  Resolved: 30/Nov/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Story Points: 1
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Andreas noted that ("LU-14080 gnilnd: updates for SUSE 15 SP2") introduced a defect where an incorrect constant was used to convert from usec to msec.

In general the constant: NSEC_PER_USEC should be used.



 Comments   
Comment by Gerrit Updater [ 16/Feb/21 ]

Shaun Tancheff (shaun.tancheff@hpe.com) uploaded a new patch: https://review.whamcloud.com/41679
Subject: LU-14437 gnilnd: Use NSEC_PER_USEC to convert nsec to usec
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8337acdf616d4083385a41cec1f5184deda090f9

Comment by Gerrit Updater [ 30/Nov/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/41679/
Subject: LU-14437 gnilnd: use ktime_get_seconds() to get time
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6750e0230a9a3eda1b920b10b66faad221244293

Comment by Peter Jones [ 30/Nov/21 ]

Landed for 2.15

Generated at Sat Feb 10 03:09:44 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.