Re: Software RAID and TRIM

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

 



NeilBrown <neilb@xxxxxxx> writes:

> On Wed, 29 Jun 2011 11:32:55 +0100 (BST) Tom De Mulder <tdm27@xxxxxxxxx>
> wrote:
>
>> On Tue, 28 Jun 2011, Mathias Burén wrote:
>> 
>> > IIRC md can already pass TRIM down, but I think the filesystem needs
>> > to know about the underlying architecture, or something, for TRIM to
>> > work in RAID.
>> 
>> Yes, it's (usually/ideally) the filesystem's job to invoke the TRIM 
>> command, and that's what ext4 can do. I have it working just fine on 
>> single drives, but for reasons of service reliability would need to get 
>> RAID to work.
>> 
>> I tried (on an admittedly vanilla Ubuntu 2.6.38 kernel) the same on a two 
>> drive RAID1 md and it definitely didn't work (the blocks didn't get marked 
>> as unused and zeroed).
>> 
>> > There's numerous discussions on this in the archives of
>> > this mailing list.
>> 
>> Given how fast things move in the world of SSDs at the moment, I wanted to 
>> check if any progress was made since. :-) I don't seem to be able to find 
>> any reference to this in recent kernel source commits (but I'm a complete 
>> amateur when it comes to git).
>
>
> Trim support for md is a long way down my list of interesting projects (and
> no-one else has volunteered).
>

Just out of curiosity, what are there in your list? :)


-- 
Regards,
Namhyung Kim
--
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