From: Joseph Qi <joseph.qi@huawei.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 1/3] Add errors=continue
Date: Tue, 14 Apr 2015 14:18:07 +0800 [thread overview]
Message-ID: <552CB11F.60801@huawei.com> (raw)
In-Reply-To: <20150303180829.GA13122@shrek.lan>
Hi Goldwyn,
On 2015/3/4 2:08, Goldwyn Rodrigues wrote:
> OCFS2 is often used in high-availaibility systems. However, ocfs2
> converts the filesystem to read-only at the drop of the hat. This
> may not be necessary, since turning the filesystem read-only would
> affect other running processes as well, decreasing availability.
>
> This attempt is to add errors=continue, which would return the EIO
> to the calling process and terminate furhter processing so that
> the filesystem is not corrupted further. However, the filesystem
> is not converted to read-only.
>
> As a future plan, I intend to create a small utility or extend
> fsck.ocfs2 to fix small errors such as in the inode. The input
> to the utility such as the inode can come from the kernel logs
> so we don't have to schedule a downtime for fixing small-enough
> errors.
I am interested in your thought. As a cluster filesystem, I don't think
it is a good idea that we set the whole filesystem to readonly because
of a small error (for example, inode OCFS2_VALID_FL not set). It impacts
too much. So we can isolate some errors and fix them in the backgroud,
without offline fsck.
I think you can send a RFC to discuss this topic.
--
Joseph
prev parent reply other threads:[~2015-04-14 6:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 18:08 [Ocfs2-devel] [PATCH 1/3] Add errors=continue Goldwyn Rodrigues
2015-04-14 6:18 ` Joseph Qi [this message]
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=552CB11F.60801@huawei.com \
--to=joseph.qi@huawei.com \
--cc=ocfs2-devel@oss.oracle.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