Bug 1991958

Summary: block: return ELEVATOR_DISCARD_MERGE if possible
Product: Red Hat Enterprise Linux 9 Reporter: Ming Lei <minlei>
Component: kernelAssignee: Ming Lei <minlei>
kernel sub component: Block Layer QA Contact: ChanghuiZhong <czhong>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: czhong, hkrzesin, jmoyer
Version: 9.0Keywords: Bugfix
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-5.14.0-10.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 15:38:55 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 Ming Lei 2021-08-10 13:33:41 UTC
Description of problem:

https://lore.kernel.org/linux-block/YRHyYmqxNSMMdyXo@T590/T/#t

block layer can't support mixed traditional discard range and
multi-range discard. But the issue existed since adding
multi-range discard.

The fix will land v5.15, so rhel9 needs to backport the fix


Version-Release number of selected component (if applicable):

9.0

How reproducible:

not easy to reproduce


Steps to Reproduce:

N/A


Actual results:


Expected results:


Additional info:

Comment 4 Ming Lei 2021-10-20 13:51:05 UTC
Hello Changhui,

Any chance to review and ack this BZ if you are fine.

Comment 5 ChanghuiZhong 2021-10-21 01:39:33 UTC
(In reply to Ming Lei from comment #4)
> Hello Changhui,
> 
> Any chance to review and ack this BZ if you are fine.

Hello,Ming

setting qa_ack +

there is no reproducer available here. you mentioned that this issue is not easy to reproduce. 
is it enough for QE to run sanity testing here?

Thanks

Comment 9 ChanghuiZhong 2021-10-25 03:18:53 UTC
sanity test passed with 5.14.0-9.mr79_211021_1728.el9:
https://beaker.engineering.redhat.com/jobs/5923128
https://beaker.engineering.redhat.com/jobs/5926381
https://beaker.engineering.redhat.com/jobs/5923129

setting to verified:tested

Comment 13 ChanghuiZhong 2021-10-30 06:47:49 UTC
regression test pass with  kernel-5.14.0-10.el9:
https://beaker.engineering.redhat.com/jobs/5950305

all patches are included to kernel tree,
move to verified

Comment 15 errata-xmlrpc 2022-05-17 15:38:55 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 (new packages: kernel), 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-2022:3907