From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: Namjae Jeon <linkinjeon@gmail.com>
Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org, abartlet@samba.org,
Namjae Jeon <namjae.jeon@samsung.com>,
Ravishankar N <ravi.n1@samsung.com>
Subject: Re: [PATCH v3] fat: editions to support fat_fallocate
Date: Tue, 12 Mar 2013 00:01:35 +0900 [thread overview]
Message-ID: <87620y2d68.fsf@devron.myhome.or.jp> (raw)
In-Reply-To: <CAKYAXd_E8ZzutRVX6bCpzuosVLqsCDk0VzPYeXtcG8K+4wwBvQ@mail.gmail.com> (Namjae Jeon's message of "Mon, 11 Mar 2013 18:52:25 +0900")
Namjae Jeon <linkinjeon@gmail.com> writes:
>> This choose ->release(). BTW, we would also be able to do this only
>> ->evict_inode(), although I'm not thinking yet which one is better.
>>
>> If you had conclusion, it would be nice to explain it.
> evict_inode() will be called only when we unlink the file or if inode
> is evicted from cache.
> As we discussed with you before, We considered preallocated blocks is
> discarded on all close file cases(unlink and muliple openning file).
> So we think it would be better to do this in ->release().
If so, probably, I didn't clear my opinion/suggestion, or misled
you. Sorry about it.
My opinion/suggestion is, "it should be before umount()".
I.e. fallocate() doesn't have any affect to FAT on clean state (clean
umount).
To clear my state, I don't have strong opinion about implementation yet.
For example, about ->release() or ->evict_inode().
So, if you had reason to use ->release() over "we discussed", it would
be good. (Or, if you still didn't have reasons, we would be better to
think about it)
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
next prev parent reply other threads:[~2013-03-11 15:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-07 13:56 [PATCH v3] fat: editions to support fat_fallocate Namjae Jeon
2013-03-08 23:37 ` Andrew Morton
2013-03-11 9:43 ` Namjae Jeon
2013-03-09 14:18 ` OGAWA Hirofumi
2013-03-11 9:52 ` Namjae Jeon
2013-03-11 15:01 ` OGAWA Hirofumi [this message]
2013-03-12 8:29 ` Namjae Jeon
2013-03-12 9:07 ` OGAWA Hirofumi
2013-03-12 9:38 ` Namjae Jeon
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=87620y2d68.fsf@devron.myhome.or.jp \
--to=hirofumi@mail.parknet.co.jp \
--cc=abartlet@samba.org \
--cc=akpm@linux-foundation.org \
--cc=linkinjeon@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=namjae.jeon@samsung.com \
--cc=ravi.n1@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox