Bug 846949
Summary: | TRIM doesn't work on EXT4 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mykola Ulianytskyi <lystor> |
Component: | kernel | Assignee: | Red Hat Kernel Manager <kernel-mgr> |
Status: | CLOSED NOTABUG | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3 | CC: | rwheeler |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-10 01:28: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: |
Description
Mykola Ulianytskyi
2012-08-09 08:40:11 UTC
If you want to verify TRIM, you need to be consistent in which level you test at (block level using hdparm or via the file system). Also note that the behavior of each device can vary - TRIM commands can be ignored by a target. If you are a RH customer, please open an official support ticket so we can track and escalate properly. If you don't have a RH support contract, I would suggest taking this report to linux-ext4 mailing list or possible linux-ide.org. Hi, Ric It seems to be the SSD firmware bug. I just tested other SSD PLEXTOR PX-256M3 with the same Marvell chipset - TRIM works perfectly on RHEL kernel and on vanilla kernel 3.5. Thank you Please close as not_a_bug. Hi Nikolay, Please note that the specification has various options in it - devices have a specific option to return "0" or not for trimmed regions (not sure if Martin Peterson's doc covers this, but have a look in google for linux-advanced-storage-6.0.pdf for some details). The device might be compliant with the spec and return you garbage after a TRIM command (although that is not really useful!). |