linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wang Sheng-Hui <shhuiw@gmail.com>
To: "Lukáš Czerner" <lczerner@redhat.com>
Cc: Allison Henderson <achender@linux.vnet.ibm.com>,
	Theodore Ts'o <tytso@mit.edu>,
	linux-ext4@vger.kernel.org
Subject: Re: Question about extents.c/ext4_ext_punch_hole
Date: Mon, 16 Jul 2012 16:04:54 +0800	[thread overview]
Message-ID: <5003CB26.9040401@gmail.com> (raw)
In-Reply-To: <alpine.LFD.2.00.1207160829280.3857@dhcp-1-248.brq.redhat.com>

On 2012年07月16日 14:36, Lukáš Czerner wrote:
> Indeed we're going to align
> the range to the block size, but that's because blocks in this range
> are going to be freed. Then, the rest of the range (non block
> aligned) is going to be zeroed manually. The reason is that we can
> not free those blocks, because it still contains valid data and we
> can not just leave it alone, since after the punch hole finishes
> we'll have to read zeroes from entire punched region.
> 

Got it. Thanks, Lukas!
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2012-07-16  8:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-15 13:03 Question about extents.c/ext4_ext_punch_hole Wang Sheng-Hui
2012-07-16  6:36 ` Lukáš Czerner
2012-07-16  8:04   ` Wang Sheng-Hui [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=5003CB26.9040401@gmail.com \
    --to=shhuiw@gmail.com \
    --cc=achender@linux.vnet.ibm.com \
    --cc=lczerner@redhat.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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).