[LU-5946] jobstats are not expired if no new jobs arrive Created: 22/Nov/14  Updated: 13/Aug/15  Resolved: 19/Jul/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0, Lustre 2.5.3
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: Andreas Dilger Assignee: Niu Yawei (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 16603

 Description   

The jobstats data is not expired for a device if new jobids are not arriving at the server. This means that the stats may stick around far longer than necessary. They should be expired when they get too old.



 Comments   
Comment by Andreas Dilger [ 22/Nov/14 ]

Completely untested, but probably reasonably close patch at http://review.whamcloud.com/12821

Comment by Gerrit Updater [ 28/Nov/14 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: http://review.whamcloud.com/12872
Subject: LU-5946 lprocfs: cleanup stats locking code
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 91e7986a81b0643ffb363d5c290ed06da12e2ea7

Comment by Gerrit Updater [ 04/Jan/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12872/
Subject: LU-5946 lprocfs: cleanup stats locking code
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c3e8e9d37fa6ea74d10b850a6e02af9fc477e719

Comment by Peter Jones [ 09/Jul/15 ]

Niu

Could you please complete the work Andreas has started on this issue?

Thanks

Peter

Comment by Niu Yawei (Inactive) [ 10/Jul/15 ]

Peter, the patch has been landed to master, what else would you like me to do?

Comment by Niu Yawei (Inactive) [ 10/Jul/15 ]

Peter, the patch has been landed to master, what else would you like me to do?

Ah, there is sill one patch not landed, I'll work on that one.

Comment by Peter Jones [ 10/Jul/15 ]

Right As per Andreas, the patch that landed was cleanup and the remaining patch is the primary bug.

Comment by Gerrit Updater [ 19/Jul/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12821/
Subject: LU-5946 lprocfs: free expired jobstats after /proc read
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: dd99ddf9f22921535c3f083e91bfc06a566e382b

Comment by Peter Jones [ 19/Jul/15 ]

Landed for 2.8

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