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.
This is actually a 'Feature' (and even major bug fix).
Now the longer story behind - older lvm2 has had a hidden problem in its device scan processing where it has unintentionally called status on device with 'flushing' - so commands like 'lvs' had basically always flushed thin-pool - causing thin-pool commit point to happen - lots of associated actions....
Lvm2 command now does not cause flushing of thin-pool - also lvs displays values 'known' in kernel without flushing - this is much faster and saves lots of disk access at the price of possible impression of presented result.
The reason why we need to do it this way is - we have to avoid 'deadlock' - which would be the case thin-pool flush would run out-of-space. While such command would be waiting for resize - this actually could never happen - since we would be already holding VG lock.
So regarding to this BZ - lvm2 command is not supposed to be transitioning pool in 'F' state with i.e. lvs command - it should be some user's write/fsync whatever command and lvm2 command should be 'plain' observer.
To get the matching 'dmsetup' behavior use:
dmsetup status --noflush --nolockfs