Bug 1274834
Summary: | check_cache 'slowness' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
Component: | device-mapper-persistent-data | Assignee: | Joe Thornber <thornber> |
Status: | CLOSED ERRATA | QA Contact: | Jakub Krysl <jkrysl> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | agk, heinzm, jbrassow, jkrysl, lmiksik, lvm-team, msnitzer, thornber |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-10 13:15: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: | |||
Bug Blocks: | 1469559 |
Description
Corey Marthaler
2015-10-23 15:25:54 UTC
I just tried to reproduce and it works for me: ejt@reti:~/work/RedHat/thin-provisioning-tools$ time sudo bin/cache_check /dev/mapper/errdev examining superblock superblock is corrupt bad checksum in superblock real 0m0.041s user 0m0.008s sys 0m0.000s So it's quite possible I've already fixed this one, I've certainly done a fair amount of work on the libaio block cache in the last couple of years. Could we retest this one with the latest version please? Tested with build device-mapper-persistent-data-0.7.2-1.el7: # dmsetup create --table '0 20000 error' errdev # time cache_check /dev/mapper/errdev examining superblock superblock is corrupt bad checksum in superblock real 0m0.008s user 0m0.001s sys 0m0.001s I tried 0.7.0-0.1.rc6.el7 with the same result: # time cache_check /dev/mapper/errdev examining superblock superblock is corrupt bad checksum in superblock real 0m0.008s user 0m0.002s sys 0m0.004s However in 0.6.3-1.el7 it is still broken: # time cache_check /dev/mapper/errdev examining superblock superblock is corrupt incomplete io for block 0, e.res = 18446744073709551611, e.res2 = 0, offset = 0, nbytes = 4096 ^C real 0m42.958s user 0m0.003s sys 0m0.000s So this got fixed somewhere between 0.7.0-0.1.rc6.el7 and 0.6.3-1.el7. 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, 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/RHEA-2018:0776 |