Re: [Ext2-devel] Re: [RFD] FS behavior (I/O failure) in kernel summit

Hans Reiser
2005-06-16T19:13:22Z

Theodore Ts'o wrote:

>
> It's better to
>have a separate, out-of-band notification scheme --- it's what dbus is
>really designed to be for.
>
>
If I understand you, you are saying don't change how we notify the app,
change how we notify the user and if it is the user that needs to act
then we should sidestep the app entirely by creating a new method that
talks to the user, including popping up a window if the user is using a
GUI, and doing some other configurable thing for other circumstances.
We could even create a mapping of errors to what the system should do in
response to them that the user can modify for the rare case that they
care to. Ok, I agree.

>
>
>>>Also, there is not neccesarily one right answer to how to respond to a
>>>underlying I/O error in the filesystem. So for ext2/3 filesystem, it
>>>is configurable.
>>>
>>>
>>>
>>>
>>Perhaps these policy choices should be mount options, what do you think?
>>
>>
>
>We put these policy options as options in the superblock, but there
>are some advantages in being able to override them at mount-time with
>mount options. For example, one such advantage is that we can
>standardize them across different filesystems.
>
>However, even if we do have standardized mount options, it is a real
>pain to have to type a very long mount option when doing manual
>mounts. So having defaults that can be stored in the superblock seems
>to be a good idea, in my opinion.
>
>
agreed.

> - Ted
>
>
>
>