From: Theodore Ts'o <tytso@mit.edu>
To: Lukas Czerner <lczerner@redhat.com>
Cc: linux-ext4@vger.kernel.org, namjae.jeon@samsung.com
Subject: Re: [PATCH] ext4: Use truncate_pagecache() in collapse range
Date: Fri, 18 Apr 2014 10:21:53 -0400 [thread overview]
Message-ID: <20140418142153.GA31794@thunk.org> (raw)
In-Reply-To: <1397820124-16885-1-git-send-email-lczerner@redhat.com>
On Fri, Apr 18, 2014 at 01:22:04PM +0200, Lukas Czerner wrote:
> We should be using truncate_pagecache() instead of
> truncate_pagecache_range() in the collapse range because we're
> truncating page cache from offset to the end of file.
> truncate_pagecache() also get rid of the private COWed pages from the
> range because we're going to shift the end of the file.
>
> Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Thanks, applied.
- Ted
prev parent reply other threads:[~2014-04-18 14:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <002101cf5ac76d97bf048c73d0samsung.com>
2014-04-18 11:22 ` [PATCH] ext4: Use truncate_pagecache() in collapse range Lukas Czerner
2014-04-18 14:21 ` Theodore Ts'o [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=20140418142153.GA31794@thunk.org \
--to=tytso@mit.edu \
--cc=lczerner@redhat.com \
--cc=linux-ext4@vger.kernel.org \
--cc=namjae.jeon@samsung.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.