[LU-16590] Initialize ra_cur_pages Created: 24/Feb/23  Updated: 16/Mar/23  Resolved: 16/Mar/23

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Patrick Farrell Assignee: Patrick Farrell
Resolution: Not a Bug Votes: 0
Labels: None

Issue Links:
Related
Rank (Obsolete): 9223372036854775807

 Description   

The 'ra_cur_pages' atomic, used to track currently used pages in readahead, is not initialized.  This means it will occasionally contain some unexpected value rather than 0, which can break readahead.

Initialize it to 0.



 Comments   
Comment by Gerrit Updater [ 24/Feb/23 ]

"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50133
Subject: LU-16590 llite: Initialize ra_cur_pages
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 5b6883cc638bb4615b037fe93881e86865cede67

Comment by Patrick Farrell [ 16/Mar/23 ]

As Andreas pointed out, this memory is zeroed on load, so the idea of this bug is incorrect.

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