Skip to contentSkip to conversation

TRIM + RAID Support?

DISCUSSION Justin 2 participants 2 messages May 4, 2010 – May 5, 2010 Btrfs file system

lore
Share & tools
lore

Justin

author
#0 lore raw

Awesome.

Has there been a lot of testing with RAID + TRIM setups?

---------- Original Message ----------
From: Josef Bacik <[email protected]>
To: Justin <[email protected]>
Cc: [email protected]
Subject: Re: TRIM + RAID Support?
Date: Tue, 4 May 2010 11:58:35 -0400

Quoted 2 lines · Justin

As I understand it, hardware RAID controllers do not pass the TRIM command to it's disks; btrfs deals with the disk directly, supports TRIM, and supports RAID. I have seen no explicit mention of being able to combine RAID and TRIM support using btrfs with independent disks so I'm asking: When btrfs is in RAID mode, does it still pass the TRIM commands to the SSD?

If TRIM is enabled then yes it should. Thanks,

Josef

____________________________________________________________
Penny Stock Jumping 2000%
Sign up to the #1 voted penny stock newsletter for free today!
http://thirdpartyoffers.netzero.net/TGL3231/4be0477ea76d4349041st01vuc

#1 lore raw
Quoted 1 line · Justin

Awesome.

Which is more than we can say for your use of email. Please don't top-post, and please don't use broken mail clients which omit the correct References: and In-Reply-To: threading headers from replies, thus disassociating your response from the thread it was supposed to be part of.

Quoted 1 line

Has there been a lot of testing with RAID + TRIM setups?

Not so much that anyone else has shown any interest in these patches, or even independently noticed and reported the bugs they fix:

http://git.infradead.org/users/dwmw2/btrfs-raid56.git/commitdiff/3885963f
http://git.infradead.org/users/dwmw2/btrfs-raid56.git/commitdiff/3de9680a

Signature · 2 lines
David Woodhouse                            Open Source Technology Centre
[email protected]                              Intel Corporation