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
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kernel
Version: 8.3
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 8.3
Assignee: XiaoNi
QA Contact: Fine Fan
Depends On: 1956355
Blocks: 2020418
TreeView+ depends on / blocked
Reported: 2020-03-24 06:12 UTC by XiaoNi
Modified: 2021-11-30 13:54 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)
Last Closed: 2021-11-09 18:57:12 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

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


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.


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