From: Hiroyuki Machida <machida@sm.sony.co.jp>
To: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFD] FAT robustness
Date: Thu, 21 Jul 2005 08:15:57 -0400 [thread overview]
Message-ID: <42DF91FD.3050800@sm.sony.co.jp> (raw)
In-Reply-To: <87fyuaq20z.fsf@devron.myhome.or.jp>
Hi,
OGAWA Hirofumi wrote:
> Hiroyuki Machida <machida@sm.sony.co.jp> writes:
>
>
>>We currently plan to add following features to address FAT corruption.
>>
>> - Utilize standard 2.6 features as much as possible
>> - Implement as options of fat, vfat and uvfat
>
>
> What is the uvfat? typo (xvfat)? Why is this an option (does it have
> the big demerit)?
uvfat is another variant of vfat, like umsdos.
Xvfat for 2.4 has following directories and file organization;
most files are located at fs/xvfat.
and most of them, copied from fs/fat and fs/vfat and renamed
to have prefix like 'xvfat_'.
For 2.6, I feel that the above organization need to be changed.
And xvfat for 2.4 had some performance degradation. So I guess 'option'
is better.
>
>> - Utilize noop elevator to cancel unexpected operation reordering
>
>
> Why don't you use the barrier?
You mean that using requests with barrier flag is enough and there is
no reason to specify IO-sched ?
It is better to preserve order of updating data, some circumstance
like appending data.
At xvfat for 2.4 had own elevator function, to preserve EraseBlock unit
ordering for memory card device.
To begin consideration for 2.6, I'd like to make it simple. But later
we need to address to this issue. So I thought at first using "noop",
later switch special elevator function to handle device better.
>
>> - Coordinate order of operations so that update data first, meta
>> data later with transaction control
>
>
> Is this meaning the SoftUpdates? What does this guarantee? How does
> this handle the rename(), and cyclic dependency of updates?
In <42DE91E7.2060603@sm.sony.co.jp>, I mentioned about this.
>
>> - With O_SYNC, close() make flush all related data and
>> meta-data, then wait completion of I/O
>
>
> What is this meaning? Why does O_SYNC only flush at close()?
>From application's point of view, application wants to believe
close()ed file is correctly written, without any corruption.
At least close() need to guarantee this. It's ok every write()
flush meta data and data and wait compeletion I/O.
At least fat on 2.4.20, VFS sync inode on write() with O_SYNC,
however it don't take care about super block. At FAT side
don't care about O_SYNC. That's problem.
> Almost things in your email is needing the detail.
> I'm thinking the SoftUpdates is best solution for now. Could you tell
> the detail of your solution?
In <42DE91E7.2060603@sm.sony.co.jp>, I mentioned about this.
next prev parent reply other threads:[~2005-07-21 12:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-17 6:41 [RFD] FAT robustness Hiroyuki Machida
2005-07-18 11:57 ` Paulo Marques
2005-07-20 18:03 ` Hiroyuki Machida
2005-07-21 14:56 ` OGAWA Hirofumi
2005-07-21 5:22 ` Pavel Machek
2005-07-19 14:54 ` OGAWA Hirofumi
2005-07-21 12:15 ` Hiroyuki Machida [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-07-19 16:58 Etienne Lorrain
2005-07-19 21:53 ` Horst von Brand
2005-07-20 7:35 ` Denis Vlasenko
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=42DF91FD.3050800@sm.sony.co.jp \
--to=machida@sm.sony.co.jp \
--cc=hirofumi@mail.parknet.co.jp \
--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