From: Christoph Hellwig <hch@infradead.org>
To: Oleg Drokin <green@linuxhacker.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Request for export of truncate_complete_page
Date: Tue, 21 Feb 2006 10:39:17 +0000 [thread overview]
Message-ID: <20060221103917.GC19349@infradead.org> (raw)
In-Reply-To: <20060220223810.GD5733@linuxhacker.ru>
On Tue, Feb 21, 2006 at 12:38:10AM +0200, Oleg Drokin wrote:
> Hello!
>
> Can I ask for truncate_complete_page() to be exported?
> For Lustre filesystem it is necessary to poke out pages in the middle of
> a file, but truncate_inode_pages() is not very suitable, because we
> poke those pages one at a time when locks on those pages are cancelled, but
> we cannot kill entire set of pages as a group, because there might be some
> other lock that covers a subset of those pages, so we still need to iterate
> through all of them, and while we are at it, it is easier to kill pages
> as we check them one by one.
Truncating around inside a file is very fishy, so this would need a review
of cour code. Once you submit the new lustre client we can discuss exporting
this as _GPL, before we won't export it anyway.
prev parent reply other threads:[~2006-02-21 10:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-20 22:38 Request for export of truncate_complete_page Oleg Drokin
2006-02-21 5:54 ` Andrew Morton
2006-02-21 11:30 ` Oleg Drokin
2006-02-21 10:39 ` Christoph Hellwig [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=20060221103917.GC19349@infradead.org \
--to=hch@infradead.org \
--cc=green@linuxhacker.ru \
--cc=linux-kernel@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