RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1899552 - [RHEL8 man-pages]: Add STATX_ATTR_DAX info in man statx
Summary: [RHEL8 man-pages]: Add STATX_ATTR_DAX info in man statx
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: man-pages-overrides
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Nikola Forró
QA Contact: Dita Stehlikova
URL:
Whiteboard:
Depends On:
Blocks: 1966134
TreeView+ depends on / blocked
 
Reported: 2020-11-19 14:21 UTC by xiaoli feng
Modified: 2021-11-10 01:25 UTC (History)
4 users (show)

Fixed In Version: man-pages-overrides-8.5.0.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 18:48:46 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4293 0 None None None 2021-11-09 18:48:51 UTC

Description xiaoli feng 2020-11-19 14:21:18 UTC
Description of problem:
From the kernel kernel-4.18.0-250.el8.dt1, STATX_ATTR_DAX is supported. But the statx man pages doesn't include this. Please add it. 

kernel patch:
"
commit 72c01f0f9720697fcb9430c3fb7dd80383544a3e
Author: Eric Sandeen <sandeen>
Date:   Thu Oct 29 17:39:01 2020 -0400

    [fs] fs/stat: Define DAX statx attribute
    
    Message-id: <20201029173930.11735-26-sandeen>
    Patchwork-id: 336294
    Patchwork-instance: patchwork
    O-Subject: [RHEL8 PATCH V2 25/54] fs/stat: Define DAX statx attribute
    Bugzilla: 1838876 1854346 1838344
    RH-Acked-by: Jeff Moyer <jmoyer>
    RH-Acked-by: Carlos Maiolino <cmaiolino>
    
    From: Ira Weiny <ira.weiny>
    
    In order for users to determine if a file is currently operating in DAX
    state (effective DAX).  Define a statx attribute value and set that
    attribute if the effective DAX flag is set.
    
    To go along with this we propose the following addition to the statx man
    page:
    
    STATX_ATTR_DAX
    
            The file is in the DAX (cpu direct access) state.  DAX state
            attempts to minimize software cache effects for both I/O and
            memory mappings of this file.  It requires a file system which
            has been configured to support DAX.
    
            DAX generally assumes all accesses are via cpu load / store
            instructions which can minimize overhead for small accesses, but
            may adversely affect cpu utilization for large transfers.
    
            File I/O is done directly to/from user-space buffers and memory
            mapped I/O may be performed with direct memory mappings that
            bypass kernel page cache.
    
            While the DAX property tends to result in data being transferred
            synchronously, it does not give the same guarantees of O_SYNC
            where data and the necessary metadata are transferred together.
    
            A DAX file may support being mapped with the MAP_SYNC flag,
            which enables a program to use CPU cache flush instructions to
            persist CPU store operations without an explicit fsync(2).  See
            mmap(2) for more information.
"

https://man7.org/linux/man-pages/man2/statx.2.html

Version-Release number of selected component (if applicable):
man-pages-4.15-6.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. man statx
2.
3.

Actual results:
There is no info for STATX_ATTR_DAX in statx man pages

Expected results:
Add STATX_ATTR_DAX info in statx man pages

Additional info:

Comment 11 errata-xmlrpc 2021-11-09 18:48:46 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 (man-pages-overrides 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-2021:4293


Note You need to log in before you can comment on or make changes to this bug.