From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Subject: Re: SSD - TRIM command Date: Tue, 22 Feb 2011 14:45:40 +1100 Message-ID: <20110222144540.7cd53e7d@notabene.brown> References: <4D62CF5F.6080007@cfl.rr.com> <20110222003610.GB29101@bounceswoosh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Roberto Spadim Cc: Guy Watkins , Mikael Abrahamsson , linux-raid@vger.kernel.org List-Id: linux-raid.ids On Mon, 21 Feb 2011 23:27:26 -0300 Roberto Spadim wrote: > tape drive = harddisk with only one head, the head can't move, only > the tape (disk/plate or any other name you want) > > could we get back and answer the main question? > -------------------------- > getting back to the first question, can MD support trim? yes/no/not > now/some levels and layouts only? > MD currently doesn't accept 'discard' requests. RAID0 and LINEAR could be made to accept 'discard' if any member device accepted 'discard'. Patches welcome. Other levels need md to know not to try to resync/recover regions that have been discarded. See "non-sync bitmap" section of the recent md roadmap. NeilBrown