Working TRIM for md RAID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, I've written a simple utility which TRIMs empty space on MD RAID-1
devices, ext4/3 on RAID-1 are supported. My script was inspired by
raid1ext4trim.sh-1.4 script in hdparm, but my script also supports TRIM on
arbitrary partitioned devices.

Since it calls TRIM on raw devices there is a possibility of really bad data
corruption bugs. So there's test/test.sh script which try to test mdtrim by
creating MD array on a single SSD drive, filling it up with random data and
then TRIMing empty space. So far, it works for me but it would be great to
have more test results.

You can get it here: https://github.com/Cyberax/mdtrim
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux