From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: linux-kernel@vger.kernel.org
Cc: "linux-fsdevel\@vger.kernel.org" <linux-fsdevel@vger.kernel.org>,
"Hunter Adrian \(Nokia-D\/Helsinki\)" <adrian.hunter@nokia.com>,
"Bityutskiy Artem \(Nokia-D\/Helsinki\)"
<Artem.Bityutskiy@nokia.com>
Subject: Re: [PATCH 0/5] FAT errors, user space notifications
Date: Thu, 04 Jun 2009 00:13:45 +0900 [thread overview]
Message-ID: <87oct5l592.fsf@devron.myhome.or.jp> (raw)
In-Reply-To: <20090603113617.GA9917@smart.research.nokia.com> (Denis Karpov's message of "Wed, 3 Jun 2009 14:36:17 +0300")
Denis Karpov <ext-denis.2.karpov@nokia.com> writes:
> I realise that, but in this particular case I deal with non-critical data
> on a large FAT partition and can probably afford certain risk of damaging
> the data. What I can't afford is to spend several minutes fsck'ing huge FAT
> partition on slow SD/MMC media during bootup.
>
> So I choose to optionally receive notification of errors encountered
> during 'run time' and act upon them.
>
> Otherwise, nothing stops you from doing proper fsck before mounting.
I think fsckless is to add the reliability to fs driver (logging,
softupdate, etc.). Yes, it's not easy, and it needs time. Anyway, I
actually thought about softupdate (and some others) before, I think it's
_not_ nothing.
> IMO, receivng notification of errors is benefitial in any case:
> together with the 1st patch above it gives full flexibility to user space
> to implement fs 'run-time' errors handling policy (at least for FAT,EXT2),
> e.g.:
>
> - do nothing: remount r/o on errors, don't monitor kernel notifications (old/default
> behavior)
> - remount-ro on errors, get notified; unmount partition, fsck, mount
> partition back r/w;
> - ignore errors (continue), get notified: unmount the partition later at
> suitable time, fsck, mount back r/w
If this is monitoring interface, I guess it should be more generic. And
I guess it will tell what happened in kernel, not fs_clean. (There is no
guarantee about fs state)
If not, some errors can not be detected by fs driver. User may know some
run-time errors by fs_clean, but some run-time errors is not. So, user
can not trust fs_clean.
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
next prev parent reply other threads:[~2009-06-03 15:13 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-01 14:28 [PATCH 0/5] FAT errors, user space notifications Denis Karpov
2009-06-01 14:28 ` [PATCH 1/5] FAT: add 'errors' mount option Denis Karpov
2009-06-01 14:34 ` Denis Karpov
2009-06-01 14:28 ` [PATCH 2/5] FS: filesystem corruption notification Denis Karpov
2009-06-01 14:34 ` Denis Karpov
2009-06-01 14:28 ` [PATCH 3/5] FAT: generalize errors and warning printing Denis Karpov
2009-06-01 14:34 ` Denis Karpov
2009-06-01 14:28 ` [PATCH 4/5] FAT: add 'notify' mount option Denis Karpov
2009-06-01 14:34 ` Denis Karpov
2009-06-01 14:28 ` [PATCH 5/5] EXT2: " Denis Karpov
2009-06-01 14:34 ` Denis Karpov
2009-06-03 2:49 ` [PATCH 1/5] FAT: add 'errors' " OGAWA Hirofumi
2009-06-03 9:20 ` Denis Karpov
2009-06-04 3:54 ` OGAWA Hirofumi
2009-06-03 3:08 ` [PATCH 0/5] FAT errors, user space notifications OGAWA Hirofumi
2009-06-03 11:36 ` Denis Karpov
2009-06-03 15:13 ` OGAWA Hirofumi [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-01 14:34 [PATCH 0/5] FAT errors, userspace notifications Denis Karpov
2009-06-10 21:01 ` Pavel Machek
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=87oct5l592.fsf@devron.myhome.or.jp \
--to=hirofumi@mail.parknet.co.jp \
--cc=Artem.Bityutskiy@nokia.com \
--cc=adrian.hunter@nokia.com \
--cc=linux-fsdevel@vger.kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.