* [Ocfs2-devel] [PATCH 1/2] ocfs2/dlm: Make o2dlm domain join/leave messages KERN_NOTICE
@ 2010-04-14 1:00 Sunil Mushran
2010-04-14 1:00 ` [Ocfs2-devel] [PATCH 2/2] ocfs2: Make nointr a default mount option Sunil Mushran
2010-04-23 22:04 ` [Ocfs2-devel] [PATCH 1/2] ocfs2/dlm: Make o2dlm domain join/leave messages KERN_NOTICE Joel Becker
0 siblings, 2 replies; 4+ messages in thread
From: Sunil Mushran @ 2010-04-14 1:00 UTC (permalink / raw)
To: ocfs2-devel
o2dlm join and leave messages are more than informational as they are required
is debugging locking issues. This patch changes them from KERN_INFO to KERN_NOTICE.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
---
fs/ocfs2/dlm/dlmdomain.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c
index 988c905..bcbbe56 100644
--- a/fs/ocfs2/dlm/dlmdomain.c
+++ b/fs/ocfs2/dlm/dlmdomain.c
@@ -511,7 +511,7 @@ static void __dlm_print_nodes(struct dlm_ctxt *dlm)
assert_spin_locked(&dlm->spinlock);
- printk(KERN_INFO "ocfs2_dlm: Nodes in domain (\"%s\"): ", dlm->name);
+ printk(KERN_NOTICE "o2dlm: Nodes in domain %s: ", dlm->name);
while ((node = find_next_bit(dlm->domain_map, O2NM_MAX_NODES,
node + 1)) < O2NM_MAX_NODES) {
@@ -534,7 +534,7 @@ static int dlm_exit_domain_handler(struct o2net_msg *msg, u32 len, void *data,
node = exit_msg->node_idx;
- printk(KERN_INFO "ocfs2_dlm: Node %u leaves domain %s\n", node, dlm->name);
+ printk(KERN_NOTICE "o2dlm: Node %u leaves domain %s\n", node, dlm->name);
spin_lock(&dlm->spinlock);
clear_bit(node, dlm->domain_map);
@@ -904,7 +904,7 @@ static int dlm_assert_joined_handler(struct o2net_msg *msg, u32 len, void *data,
set_bit(assert->node_idx, dlm->domain_map);
__dlm_set_joining_node(dlm, DLM_LOCK_RES_OWNER_UNKNOWN);
- printk(KERN_INFO "ocfs2_dlm: Node %u joins domain %s\n",
+ printk(KERN_NOTICE "o2dlm: Node %u joins domain %s\n",
assert->node_idx, dlm->name);
__dlm_print_nodes(dlm);
--
1.6.3.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Ocfs2-devel] [PATCH 2/2] ocfs2: Make nointr a default mount option
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
2010-04-23 22:04 ` Joel Becker
2010-04-23 22:04 ` [Ocfs2-devel] [PATCH 1/2] ocfs2/dlm: Make o2dlm domain join/leave messages KERN_NOTICE Joel Becker
1 sibling, 1 reply; 4+ messages in thread
From: Sunil Mushran @ 2010-04-14 1:00 UTC (permalink / raw)
To: ocfs2-devel
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Ocfs2-devel] [PATCH 1/2] ocfs2/dlm: Make o2dlm domain join/leave messages KERN_NOTICE
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 ` [Ocfs2-devel] [PATCH 2/2] ocfs2: Make nointr a default mount option Sunil Mushran
@ 2010-04-23 22:04 ` Joel Becker
1 sibling, 0 replies; 4+ messages in thread
From: Joel Becker @ 2010-04-23 22:04 UTC (permalink / raw)
To: ocfs2-devel
On Tue, Apr 13, 2010 at 06:00:30PM -0700, Sunil Mushran wrote:
> o2dlm join and leave messages are more than informational as they are required
> is debugging locking issues. This patch changes them from KERN_INFO to KERN_NOTICE.
>
> Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
This patch is now in the merge-window branch of ocfs2.git.
Joel
--
The Graham Corollary:
The longer a socially-moderated news website exists, the
probability of an old Paul Graham link appearing at the top
approaches certainty.
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Ocfs2-devel] [PATCH 2/2] ocfs2: Make nointr a default mount option
2010-04-14 1:00 ` [Ocfs2-devel] [PATCH 2/2] ocfs2: Make nointr a default mount option Sunil Mushran
@ 2010-04-23 22:04 ` Joel Becker
0 siblings, 0 replies; 4+ messages in thread
From: Joel Becker @ 2010-04-23 22:04 UTC (permalink / raw)
To: ocfs2-devel
On Tue, Apr 13, 2010 at 06:00:31PM -0700, Sunil Mushran wrote:
> 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>
A modified version of this patch is now in the 'merge-window'
branch of ocfs2.git.
Joel
--
"Any man who is under 30, and is not a liberal, has not heart;
and any man who is over 30, and is not a conservative, has no brains."
- Sir Winston Churchill
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-04-23 22:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Ocfs2-devel] [PATCH 2/2] ocfs2: Make nointr a default mount option Sunil Mushran
2010-04-23 22:04 ` Joel Becker
2010-04-23 22:04 ` [Ocfs2-devel] [PATCH 1/2] ocfs2/dlm: Make o2dlm domain join/leave messages KERN_NOTICE Joel Becker
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).