From: Joel Becker <jlbec@evilplan.org>
To: Hugh Dickins <hughd@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Christoph Hellwig <hch@infradead.org>,
linux-fsdevel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH] mm for fs: add truncate_pagecache_range
Date: Thu, 17 May 2012 02:25:00 -0700 [thread overview]
Message-ID: <20120517092459.GB6773@dhcp-172-17-9-228.mtv.corp.google.com> (raw)
In-Reply-To: <alpine.LSU.2.00.1205131354380.1547@eggly.anvils>
On Sun, May 13, 2012 at 02:03:03PM -0700, Hugh Dickins wrote:
> On Fri, 23 Mar 2012, Hugh Dickins wrote:
> > I do have patches for ext4, ocfs2 and xfs to use this, but they're too
> > late now for v3.4. However, it would be helpful if this function could
> > go ahead into v3.4, so filesystems can convert to it at leisure afterwards.
>
> I just sent out the little ext4 and xfs patches, but decided not
> to bother you with the ocfs2 one. ocfs2 is already doing it right with
> unmap_mapping_range; and since file.c is using unmap_mapping_range with
> truncate_inode_pages in other places, it seemed wrong to force a different
> convention upon you in this one place (perhaps they can all be converted
> to truncate_pagecache_range, but if it ain't broke...)
Works for me. Thanks.
Joel
>
> Hugh
--
"There are only two ways to live your life. One is as though nothing
is a miracle. The other is as though everything is a miracle."
- Albert Einstein
http://www.jlbec.org/
jlbec@evilplan.org
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2012-05-17 9:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-23 20:46 Hugh Dickins
2012-03-23 21:01 ` Andrew Morton
2012-03-23 21:14 ` Hugh Dickins
2012-03-23 22:59 ` Andrew Morton
2012-03-25 20:26 ` Hugh Dickins
2012-03-25 20:50 ` Andrew Morton
2012-03-25 21:55 ` Hugh Dickins
2012-04-03 5:45 ` Joel Becker
2012-05-13 21:03 ` Hugh Dickins
2012-05-17 9:25 ` Joel Becker [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=20120517092459.GB6773@dhcp-172-17-9-228.mtv.corp.google.com \
--to=jlbec@evilplan.org \
--cc=akpm@linux-foundation.org \
--cc=hch@infradead.org \
--cc=hughd@google.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.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