From: Marco Stornelli <marco.stornelli@gmail.com>
To: Jaegeuk Hanse <jaegeuk.hanse@gmail.com>
Cc: Linux FS Devel <linux-fsdevel@vger.kernel.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 20/21] mm: drop vmtruncate
Date: Fri, 16 Nov 2012 08:45:25 +0100 [thread overview]
Message-ID: <CANGUGtAF0CRzYOkjqCXvxukw99Y9G02Ht=DZ8viRHqThGHLSSQ@mail.gmail.com> (raw)
In-Reply-To: <50A5DFA4.2030700@gmail.com>
2012/11/16 Jaegeuk Hanse <jaegeuk.hanse@gmail.com>:
> On 11/03/2012 05:32 PM, Marco Stornelli wrote:
>>
>> Removed vmtruncate
>
>
> Hi Marco,
>
> Could you explain me why vmtruncate need remove? What's the problem and how
> to substitute it?
>
> Regards,
> Jaegeuk
>
vmtruncate is a deprecated function so it'd be better to remove it.
The truncate sequence is changed for several reasons. The
documentation is clear: "This function is deprecated and
truncate_setsize or truncate_pagecache should be used instead,
together with filesystem specific block truncation." In addition, we
can remove the truncate callback from the inode struct saving 4/8
bytes.
Marco
--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2012-11-16 7:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-03 9:32 Marco Stornelli
2012-11-16 6:39 ` Jaegeuk Hanse
2012-11-16 7:45 ` Marco Stornelli [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-12-15 11:00 Marco Stornelli
2012-10-20 12:30 Marco Stornelli
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='CANGUGtAF0CRzYOkjqCXvxukw99Y9G02Ht=DZ8viRHqThGHLSSQ@mail.gmail.com' \
--to=marco.stornelli@gmail.com \
--cc=jaegeuk.hanse@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@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