[LU-15082] osp can stop refreshing statfs data Created: 12/Oct/21  Updated: 30/Mar/23  Resolved: 11/Jun/22

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

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-16685 update OSP statfs when max_create_cou... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

there is a race between osp_statfs_timer_cb() and osp_precreate_thread() when the timer callback is called just before statfs data gets stale (according to @opd_statfs_fresh_till) and then woken osp_precreate_thread() finds statfs data valid. essentially it's early-wakeup leading stale statfs data. if no creates happen on this OST for a reason (e.g. current space usage), then statfs data won't be refreshed for a long time.



 Comments   
Comment by Gerrit Updater [ 12/Oct/21 ]

"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45199
Subject: LU-15082 osp: invalidate statfs data from the timer callback
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0519e8912ca1fa8bb9105985f3e21f1696931e74

Comment by Gerrit Updater [ 11/Jun/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45199/
Subject: LU-15082 osp: invalidate statfs data from the timer callback
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a75f269cbdaed52985893cfbdebb35e9a2b484dd

Comment by Peter Jones [ 11/Jun/22 ]

Landed for 2.16

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