Bug 837096

Summary: RFE: Handle FITRIM in md raid
Product: Red Hat Enterprise Linux 7 Reporter: Eric Sandeen <esandeen>
Component: kernelAssignee: Jes Sorensen <Jes.Sorensen>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: dledford
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 837097 (view as bug list) Environment:
Last Closed: 2012-07-13 09:13:40 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: 837097, 974315, 1023424    

Description Eric Sandeen 2012-07-02 18:37:55 UTC
The current MD driver does not pass FITRIM (trim/discard) commands down to the underlying devices, so a mirror or raid of SSDs cannot be trimmed with offline tools such as "fstrim" (and I presume online trim, i.e. mount -o discard probably won't work either).

dm was fixed a while ago, it seems that md should handle this too.

-Eric

Comment 1 Jes Sorensen 2012-07-13 09:13:40 UTC

*** This bug has been marked as a duplicate of bug 714644 ***