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 1816493 - [RHEL 8.3] Discard request from mkfs.xfs takes too much time on raid10
Summary: [RHEL 8.3] Discard request from mkfs.xfs takes too much time on raid10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kernel
Version: 8.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: 8.3
Assignee: XiaoNi
QA Contact: Fine Fan
URL:
Whiteboard:
Depends On: 1956355
Blocks: 2020418
TreeView+ depends on / blocked
 
Reported: 2020-03-24 06:12 UTC by XiaoNi
Modified: 2023-10-06 19:29 UTC (History)
13 users (show)

Fixed In Version: kernel-4.18.0-314.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2020418 (view as bug list)
Environment:
Last Closed: 2021-11-09 18:57:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5001901 0 None None None 2020-08-24 16:42:28 UTC
Red Hat Knowledge Base (Solution) 6073691 0 None None None 2021-05-25 13:05:53 UTC
Red Hat Product Errata RHSA-2021:4356 0 None None None 2021-11-09 18:57:43 UTC

Comment 10 Nigel Croxon 2020-10-01 12:52:22 UTC
In Song's md-next branch


commit d3ee2d8415a6256c1c41e1be36e80e640c3e6359
Author: Xiao Ni <xni>
Date:   Wed Sep 2 20:00:23 2020 +0800
md/raid10: improve discard request for far layout
    

commit bcc90d280465ebd51ab8688be86e1f00c62dccf9
Author: Xiao Ni <xni>
Date:   Wed Sep 2 20:00:22 2020 +0800
md/raid10: improve raid10 discard request

Comment 12 XiaoNi 2020-12-17 08:16:01 UTC
Hi all

The patch set which can fix this problem has data corruption problem. I'm looking at this problem.
And I'll send the patch again to upstream once the problem is fixed.

You can check the detail about the data corruption problem at https://www.spinics.net/lists/kernel/msg3765302.html

Thanks
Xiao

Comment 13 XiaoNi 2020-12-24 10:39:40 UTC
The root cause has been found. https://marc.info/?l=linux-raid&m=160880530629526&w=2

Comment 20 Nigel Croxon 2021-05-11 16:49:09 UTC
#16 patch set submitted into RHEL-8.5.0
MR: https://gitlab.com/redhat/rhel/src/kernel/rhel-8/-/merge_requests/554

Comment 32 Nitin Yewale 2021-05-27 14:15:32 UTC
Customer has informed that it will take one or two weeks for them to test the kernel.

Comment 38 Jonathan Earl Brassow 2021-06-23 14:28:01 UTC
this bug has been fixed by patches for bug 1956355 and is now a TestOnly bug.

Comment 47 errata-xmlrpc 2021-11-09 18:57:12 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-2021:4356


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