Bug 2143747

Summary: Pull nfsrahead changes to RHEL9
Product: Red Hat Enterprise Linux 9 Reporter: Thiago Rafael Becker <tbecker>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED ERRATA QA Contact: Yongcheng Yang <yoyang>
Severity: urgent Docs Contact: Michal Stubna <mstubna>
Priority: unspecified    
Version: 9.2CC: dwysocha, gfialova, mstubna, pasik, steved, xzhou
Target Milestone: rcKeywords: CustomerScenariosInitiative, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nfs-utils-2.5.4-17.el9 Doc Type: Enhancement
Doc Text:
.`nfsrahead` has been added to RHEL 9 With the introduction of the `nfsrahead` tool, you can use it to modify the `readahead` value for NFS mounts, and thus affect the NFS read performance.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 08:19:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thiago Rafael Becker 2022-11-17 17:55:06 UTC
Description of problem:
The patches for nfsrahead are not yet present in RHEL9, and customers are having issues with performance.

Version-Release number of selected component (if applicable):
nfs-utils-2.5.4.el9

How reproducible:
100%

Actual results:
nfsrahead is not present, so customers need to set these values at every reboot, or implement a similar solution themselves.

Expected results:
nfsrahead to be present.

Additional info:
Upstream patches:
844d3ad5 (tag: nfs-utils-2-6-3-rc2) configure.ac: allow to disable nfsrahead tool
627c95b2 nfsrahead: fix order on static linking
f347c3c8 nfsrahead: getopt return type is int
18ac9c85 nfsrahead: fix and improve logging
4efb87e7 nfsrahead: fix oops caused by non-starndard naming schemes
3dd9292a nfsrahead: Add parameters to nfs.conf
170394f6 nfsrahead: retry getting the device if it fails.
589b0f89 nfsrahead: User documentation
0cc3a8aa nfsrahead: get the information from the config file.
d8a462e2 nfsrahead: add logging
15ea4f10 nfsrahead: only set readahead for nfs devices.
6011418c nfsrahead: configure udev
f86c4c90 Create the nfsrahead command.

Comment 3 Dave Wysochanski 2022-11-23 14:03:59 UTC
Needs a release note similar/same as https://bugzilla.redhat.com/show_bug.cgi?id=1946283

Comment 4 Yongcheng Yang 2022-12-06 02:37:35 UTC
Verified in nfs-utils-2.5.4-17.el9:

https://beaker.engineering.redhat.com/jobs/7311657
https://beaker.engineering.redhat.com/jobs/7311655

Comment 12 errata-xmlrpc 2023-05-09 08:19:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (nfs-utils bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2510

Comment 13 Red Hat Bugzilla 2023-09-19 04:30:14 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days