From: Sunil Mushran <sunil.mushran@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 01/11] ocfs2/dlm: Rename slabcache dlm_mle_cache to o2dlm_mle
Date: Mon Mar 10 15:17:16 2008 [thread overview]
Message-ID: <1205187389-3563-2-git-send-email-sunil.mushran@oracle.com> (raw)
In-Reply-To: <1205187389-3563-1-git-send-email-sunil.mushran@oracle.com>
This patch renames dlm_mle_slabcache to prevent namespace clashes with fs/dlm.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
---
fs/ocfs2/dlm/dlmdomain.c | 4 +++-
fs/ocfs2/dlm/dlmmaster.c | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c
index 0879d86..2ce6207 100644
--- a/fs/ocfs2/dlm/dlmdomain.c
+++ b/fs/ocfs2/dlm/dlmdomain.c
@@ -1816,8 +1816,10 @@ static int __init dlm_init(void)
dlm_print_version();
status = dlm_init_mle_cache();
- if (status)
+ if (status) {
+ mlog(ML_ERROR, "Could not create o2dlm_mle slabcache\n");
return -1;
+ }
status = dlm_register_net_handlers();
if (status) {
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index ea6b895..90797c5 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -507,7 +507,7 @@ static void dlm_mle_node_up(struct dlm_ctxt *dlm,
int dlm_init_mle_cache(void)
{
- dlm_mle_cache = kmem_cache_create("dlm_mle_cache",
+ dlm_mle_cache = kmem_cache_create("o2dlm_mle",
sizeof(struct dlm_master_list_entry),
0, SLAB_HWCACHE_ALIGN,
NULL);
--
1.5.3.6
next prev parent reply other threads:[~2008-03-10 15:17 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-10 15:17 [Ocfs2-devel] New dlm debug infrastructure - 3rd attempt Sunil Mushran
2008-03-10 15:17 ` [Ocfs2-devel] [PATCH 11/11] ocfs2/dlm: Fix lockname in lockres print function Sunil Mushran
2008-03-10 15:58 ` Joel Becker
2008-03-10 15:17 ` [Ocfs2-devel] [PATCH 08/11] ocfs2/dlm: Dumps the mles into a debugfs file Sunil Mushran
2008-03-10 15:17 ` [Ocfs2-devel] [PATCH 06/11] ocfs2/dlm: Dumps the lockres' " Sunil Mushran
2008-03-10 15:17 ` [Ocfs2-devel] [PATCH 05/11] ocfs2/dlm: Dump the dlm state in " Sunil Mushran
2008-03-10 15:56 ` Joel Becker
2008-03-10 15:17 ` [Ocfs2-devel] [PATCH 04/11] ocfs2/dlm: Create debugfs dirs Sunil Mushran
2008-03-10 15:56 ` Joel Becker
2008-03-10 15:17 ` [Ocfs2-devel] [PATCH 09/11] ocfs2/dlm: Dumps the purgelist into a debugfs file Sunil Mushran
2008-03-10 15:17 ` [Ocfs2-devel] [PATCH 03/11] ocfs2/dlm: Link all lockres' to a tracking list Sunil Mushran
2008-03-10 15:17 ` [Ocfs2-devel] [PATCH 10/11] ocfs2/dlm: Move dlm_print_one_mle() from dlmmaster.c to dlmdebug.c Sunil Mushran
2008-03-10 15:58 ` Joel Becker
2008-03-10 15:17 ` [Ocfs2-devel] [PATCH 02/11] ocfs2/dlm: Creates slabcaches for lock and lockres Sunil Mushran
2008-03-10 15:17 ` Sunil Mushran [this message]
2008-03-10 15:17 ` [Ocfs2-devel] [PATCH 07/11] ocfs2/dlm: Move struct dlm_master_list_entry to dlmcommon.h Sunil Mushran
2008-03-14 10:37 ` [Ocfs2-devel] New dlm debug infrastructure - 3rd attempt Mark Fasheh
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=1205187389-3563-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).