From: Sunil Mushran <sunil.mushran@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 2/2] ocfs2: Make nointr a default mount option
Date: Tue, 13 Apr 2010 18:00:31 -0700 [thread overview]
Message-ID: <1271206831-3203-2-git-send-email-sunil.mushran@oracle.com> (raw)
In-Reply-To: <1271206831-3203-1-git-send-email-sunil.mushran@oracle.com>
OCFS2 has never really supported intr. This patch acknowledges this reality
and makes nointr the default mount option. In a later patch, we intend to
support intr.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
---
fs/ocfs2/super.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index dee0319..1a945ba 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -1290,6 +1290,7 @@ static int ocfs2_parse_options(struct super_block *sb,
mopt->slot = OCFS2_INVALID_SLOT;
mopt->localalloc_opt = OCFS2_DEFAULT_LOCAL_ALLOC_SIZE;
mopt->cluster_stack[0] = '\0';
+ mopt->mount_opt |= OCFS2_MOUNT_NOINTR;
if (!options) {
status = 1;
--
1.6.3.3
next prev parent reply other threads:[~2010-04-14 1:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-14 1:00 [Ocfs2-devel] [PATCH 1/2] ocfs2/dlm: Make o2dlm domain join/leave messages KERN_NOTICE Sunil Mushran
2010-04-14 1:00 ` Sunil Mushran [this message]
2010-04-23 22:04 ` [Ocfs2-devel] [PATCH 2/2] ocfs2: Make nointr a default mount option Joel Becker
2010-04-23 22:04 ` [Ocfs2-devel] [PATCH 1/2] ocfs2/dlm: Make o2dlm domain join/leave messages KERN_NOTICE Joel Becker
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=1271206831-3203-2-git-send-email-sunil.mushran@oracle.com \
--to=sunil.mushran@oracle.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;
as well as URLs for NNTP newsgroup(s).