Bug 1710551
Summary: | "Unknown feature in status:" messages in lvs output | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
lvm2 sub component: | Displaying and Reporting | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED NEXTRELEASE | Docs Contact: | |
Severity: | low | ||
Priority: | unspecified | CC: | agk, cluster-qe, evansjahja13, heinzm, jbrassow, lvm-team, mcsontos, msnitzer, prajnoha, rhandlin, zkabelac |
Version: | 8.0 | Keywords: | FutureFeature |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.03.04-1.el8 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | 1706984 | Environment: | |
Last Closed: | 2019-08-21 18:27:56 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: | |||
Bug Depends On: | 1706984 | ||
Bug Blocks: |
Comment 1
Corey Marthaler
2019-05-15 18:19:08 UTC
Seems the kernel has been 'enhanced' with new reported feature 'no_discard_passdown' - and lvm2 doens't know about it yet. So it reports the 'unknown' feature. Patch is needed to enhance libdm API to understand (and report) this bit of info. Requires relatively 'low amount' of work to fix this - but it's not a one-liner patch. If the lvm2 should also support setting this feature - it's a further enhancement. I assume 'no_discard_passdown' got set as a side-effect of the underlying origin device not supporting discards. As for missing the need to support this feature.. sorry: commit de7180ff908b2bc0342e832dbdaa9a5f1ecaa33a Author: Mike Snitzer <snitzer> Date: Mon Feb 25 11:07:10 2019 -0500 dm cache: add support for discard passdown to the origin device DM cache now defaults to passing discards down to the origin device. User may disable this using the "no_discard_passdown" feature when creating the cache device. If the cache's underlying origin device doesn't support discards then passdown is disabled (with warning). Similarly, if the underlying origin device's max_discard_sectors is less than a cache block discard passdown will be disabled (this is required because sizing of the cache internal discard bitset depends on it). Signed-off-by: Mike Snitzer <snitzer> Upstream commit into stable branch enhances lvm to report new field and understand report feature: lvs -o+kernel-discards will show if no_discard_passdown is present as 'nopassdown' Associated test-case: https://www.redhat.com/archives/lvm-devel/2019-June/msg00008.html Actually the patch reference of the fixing commit is missing in comment 4: stable branch 2.02/RH7.7: https://www.redhat.com/archives/lvm-devel/2019-June/msg00006.html Cherry-pick of upstream master commit: https://www.redhat.com/archives/lvm-devel/2019-June/msg00003.html This is already fixed in version included in rhel-8.1 |