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 2094045 - mm: Fix stall observed when xfs calls alloc_pages_bulk_array()
Summary: mm: Fix stall observed when xfs calls alloc_pages_bulk_array()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: kernel
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Joel Savitz
QA Contact: Li Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-06 16:29 UTC by Eric Sandeen
Modified: 2022-11-15 12:41 UTC (History)
3 users (show)

Fixed In Version: kernel-5.14.0-126.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 11:07:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/src/kernel centos-stream-9 merge_requests 1019 0 None opened mm/page_alloc: always attempt to allocate at least one page during bulk allocation 2022-07-06 15:13:23 UTC
Linux Kernel 216007 0 P1 RESOLVED XFS hangs in iowait when extracting large number of files 2022-06-06 16:29:07 UTC
Red Hat Issue Tracker RHELPLAN-124383 0 None None None 2022-06-06 16:31:11 UTC
Red Hat Product Errata RHSA-2022:8267 0 None None None 2022-11-15 11:07:41 UTC

Description Eric Sandeen 2022-06-06 16:29:08 UTC
Description of problem:

A bug was reported on the kernel.org bugzilla at https://bugzilla.kernel.org/show_bug.cgi?id=216007 in which XFS was observed to stall or hang when extracting a large number of files from a tar archive.

Eventually, the behavior change was bisected to

c9fa563072e13337713a441cf30171feb4e96e6d is the first bad commit
commit c9fa563072e13337713a441cf30171feb4e96e6d
Author: Dave Chinner <dchinner>
Date:   Tue Jun 1 13:40:36 2021 +1000

    xfs: use alloc_pages_bulk_array() for buffers

which landed upstream in v5.14.  Subsequent debugging identified a flaw in alloc_pages_bulk_array() itself, introduced in:

387ba26fb1cb ("mm/page_alloc: add a bulk page allocator")

A patch was submitted upstream to resolve this, at

https://lore.kernel.org/all/20220526091210.GC3441@techsingularity.net/

("mm/page_alloc: Always attempt to allocate at least one page during bulk allocation")

It would be good to fix this in RHEL9 once the patch lands upstream, maybe even considering 9.0.z.

Thanks,
-Eric

Comment 4 Joel Savitz 2022-06-10 00:15:45 UTC
Oops, double comment due to my attempt to correct a typo. Pls ignore

Comment 17 errata-xmlrpc 2022-11-15 11:07:16 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 (Moderate: kernel security, 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/RHSA-2022:8267


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