From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dongjun Shin" Subject: Re: Proposal to improve filesystem/block snapshot interaction Date: Tue, 30 Oct 2007 18:35:08 +0900 Message-ID: <7fe698080710300235v3ce49613nfe3c5e733f1b6f5b@mail.gmail.com> References: <20070927063113.GD2989@sgi.com> <20071030010453.GF27385@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "Linux Filesystem Mailing List" , "David Chinner" , "Donald Douwsma" , "Christoph Hellwig" , "Roger Strassburg" , "Mark Goodwin" , "Brett Jon Grandbois" , "Arnd Bergmann" To: "Greg Banks" Return-path: Received: from nz-out-0506.google.com ([64.233.162.230]:22047 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758255AbXJ3JfK (ORCPT ); Tue, 30 Oct 2007 05:35:10 -0400 Received: by nz-out-0506.google.com with SMTP id s18so1395080nze for ; Tue, 30 Oct 2007 02:35:10 -0700 (PDT) In-Reply-To: <20071030010453.GF27385@sgi.com> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 10/30/07, Greg Banks wrote: > > BIO_HINT_RELEASE > The bio's block extent is no longer in use by the filesystem > and will not be read in the future. Any storage used to back > the extent may be released without any threat to filesystem > or data integrity. > I'd like to second the proposal, but it would be more useful to bring the hint down to the physical devices. There is an ongoing discussion about adding 'Trim' ATA command for notifying the drive about the deleted blocks. http://www.t13.org/Documents/UploadedDocuments/docs2007/e07154r3-Data_Set_Management_Proposal_for_ATA-ACS2.pdf This is especially useful for the storage device like Solid State Drive (SSD). Dongjun