linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: Akira Fujita <a-fujita@rs.jp.nec.com>
Cc: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org
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	[thread overview]
Message-ID: <20090204145951.GD14762@mit.edu> (raw)
In-Reply-To: <49829A37.8050701@rs.jp.nec.com>

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

      parent reply	other threads:[~2009-02-04 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-30  6:12 [RFC][PATCH 1/3] ext4: Add EXT4_IOC_DEFRAG ioctl and basic defrag functions Akira Fujita
2009-02-04 14:54 ` Theodore Tso
2009-02-04 14:59 ` Theodore Tso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090204145951.GD14762@mit.edu \
    --to=tytso@mit.edu \
    --cc=a-fujita@rs.jp.nec.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).