From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Tso Subject: Re: [RFC][PATCH 1/3] ext4: Add EXT4_IOC_DEFRAG ioctl and basic defrag functions Date: Wed, 4 Feb 2009 09:59:51 -0500 Message-ID: <20090204145951.GD14762@mit.edu> References: <49829A37.8050701@rs.jp.nec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Akira Fujita Return-path: Received: from THUNK.ORG ([69.25.196.29]:38246 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751423AbZBDO7x (ORCPT ); Wed, 4 Feb 2009 09:59:53 -0500 Content-Disposition: inline In-Reply-To: <49829A37.8050701@rs.jp.nec.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Jan 30, 2009 at 03:12:07PM +0900, Akira Fujita wrote: > + * > + * Note that the extents of target file(@o_filp) are always converted > + * from "uninitialized" to "initialized" after swapping the blocks > + * between the original file and the destination one(@d_filp). > + * In the next version, this behavior will be fixed not to change extents' > + * initializing status. Note also that if the extent in the target file is "uninitialized", it's not necessary to force the page into memory and then force it to be written out again. This is important if the file involved is a large database file which still has large areas preallocated, but not yet initialized. - Ted