[Ocfs2-devel] [PATCH 2/2] ocfs2: Make nointr a default mount option

Sunil Mushran sunil.mushran at oracle.com
Tue Apr 13 18:00:31 PDT 2010


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 at 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




More information about the Ocfs2-devel mailing list