Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2171340

Summary: Revert "block: freeze the queue earlier in del_gendisk"
Product: Red Hat Enterprise Linux 9 Reporter: Akemi Yagi <toracat>
Component: kernelAssignee: LVM and device-mapper development team <lvm-team>
kernel sub component: RAID QA Contact: cluster-qe <cluster-qe>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: medium    
Priority: unspecified CC: agk, ajb, ashikuma, heinzm, jbrassow, msnitzer, neil, phil, stijn
Version: 9.1Flags: pm-rhel: mirror+
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-15 19:43:46 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 Akemi Yagi 2023-02-20 02:22:46 UTC
Description of problem:

Upstream commit a09b314005f3a0956ebf56e01b3b80339df577cc was backported to the RHEL 9.1 kernel.
  - block: freeze the queue earlier in del_gendisk (Ming Lei) [2094256]

However this has been reverted in upstream commit 4c66a326b5ab784cddd72de07ac5b6210e9e1b06.
  Revert "block: freeze the queue earlier in del_gendisk"

Therefore it is requested that the revert commit be backported to RHEL. Problems caused by the original commit have been reported by users of Rocky Linux [1] and AlmaLinux [2].

For testing purposes I built RHEL 9.1 kernels with the revert commit applied [3]. Two users confirmed that the issue had been fixed with the patched kernel.

[1] https://forums.rockylinux.org/t/shutdown-gets-into-an-infinite-loop-rocky-linux-9-1/8106
[2] https://bugs.almalinux.org/view.php?id=359
[3] https://toracat.org/test/kernel/4c66a32/

Comment 2 Akemi Yagi 2023-05-15 19:24:46 UTC
I see that the patch is now in the RHEL GA kernel 5.14.0-284.11.1.el9_2. 

This ticket can be closed as resolved.

Comment 3 Jonathan Earl Brassow 2023-05-15 19:43:46 UTC
(In reply to Akemi Yagi from comment #2)
> I see that the patch is now in the RHEL GA kernel 5.14.0-284.11.1.el9_2. 
> 
> This ticket can be closed as resolved.

thanks for the update!  (closed CURRENTRELEASE)