From mboxrd@z Thu Jan 1 00:00:00 1970 From: jim owens Subject: Re: Discard support (was Re: [PATCH] swap: send callback when swap slot is freed) Date: Mon, 17 Aug 2009 12:56:36 -0400 Message-ID: <4A898BC4.70704@hp.com> References: <3e8340490908131354q167840fcv124ec56c92bbb830@mail.gmail.com> <4A85E0DC.9040101@rtr.ca> <20090814234539.GE27148@parisc-linux.org> <1250341176.4159.2.camel@mulgrave.site> <4A86B69C.7090001@rtr.ca> <1250344518.4159.4.camel@mulgrave.site> <20090816150530.2bae6d1f@lxorguk.ukuu.org.uk> <20090816083434.2ce69859@infradead.org> <20090816154430.GE17958@mit.edu> <4A8841D7.10506@rtr.ca> <4A8843C3.3020409@rtr.ca> <4A8985B6.30103@tmr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A8985B6.30103@tmr.com> Sender: linux-ide-owner@vger.kernel.org To: Bill Davidsen Cc: Mark Lord , Theodore Tso , Arjan van de Ven , Alan Cox , James Bottomley , Chris Worley , Matthew Wilcox , Bryan Donlan , david@lang.hm, Greg Freemyer , Markus Trippelsdorf , Matthew Wilcox , Hugh Dickins , Nitin Gupta , Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org, Linux RAID List-Id: linux-raid.ids Bill Davidsen wrote: > > I assume that it really is artificial, rather than the device really > being ready for another operation (other than another TRIM). I lack the > hardware, but the test would be the time to complete a read, trim and > read, and two trim and read operations. Just my thought that the TRIM in > progress may only block the next TRIM, rather than other operations. I don't know his test sequence but READ is not the likely command before and after TRIM unless we are talking about TRIM being issued only in delayed host garbage collection. Filesystems send WRITES during delete. jim