Displaying 16 results from an estimated 16 matches for "dlmdebug".
2008 Apr 21
1
[2.6 patch] ocfs2/dlm/dlmdebug.c: make 2 functions static
This patch makes the following needlessly global functions static:
- stringify_lockname()
- dlm_debug_put()
Signed-off-by: Adrian Bunk <bunk at kernel.org>
---
fs/ocfs2/dlm/dlmdebug.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
fec83555cf8467e5c932fa52177b8f567eb84d94 diff --git a/fs/ocfs2/dlm/dlmdebug.c b/fs/ocfs2/dlm/dlmdebug.c
index 5f6d858..1b81dcb 100644
--- a/fs/ocfs2/dlm/dlmdebug.c
+++ b/fs/ocfs2/dlm/dlmdebug.c
@@ -44,7 +44,8 @@
#define MLOG_MASK_...
2023 Jun 13
1
[BUG] ocfs2/dlm: possible data races in dlm_drop_lockres_ref_done() and dlm_get_lock_resource()
...atic analysis tool finds some possible data races in the OCFS2 file
system in Linux 6.4.0-rc6.
In most calling contexts, the variables such as res->lockname.name and
res->owner are accessed with holding the lock res->spinlock. Here is an
example:
lockres_seq_start() --> Line 539 in dlmdebug.c
spin_lock(&res->spinlock); --> Line 574 in dlmdebug.c (Lock
res->spinlock)
dump_lockres(res, ...); --> Line 575 in fs/ocfs2/dlm/dlmdebug.c
stringify_lockname(res->lockname.name, ...); --> Line 493 in
dlmdebug.c (Access res->lockname.name)
scnprintf(.....
2023 Jun 16
1
[BUG] ocfs2/dlm: possible data races in dlm_drop_lockres_ref_done() and dlm_get_lock_resource()
...ble data races in the OCFS2 file
> system in Linux 6.4.0-rc6.
>
> In most calling contexts, the variables such as res->lockname.name and
> res->owner are accessed with holding the lock res->spinlock. Here is an
> example:
>
> lockres_seq_start() --> Line 539 in dlmdebug.c
> spin_lock(&res->spinlock); --> Line 574 in dlmdebug.c (Lock
> res->spinlock)
> dump_lockres(res, ...); --> Line 575 in fs/ocfs2/dlm/dlmdebug.c
> stringify_lockname(res->lockname.name, ...); --> Line 493 in
> dlmdebug.c (Access res->lockname...
2023 Jun 13
0
[BUG] ocfs2/dlm: possible data races in dlm_drop_lockres_ref_done() and dlm_get_lock_resource()
...tic analysis tool finds some possible data races in the OCFS2 file
system in Linux 6.4.0-rc6.
In most calling contexts, the variables? such as res->lockname.name and
res->owner are accessed with holding the lock res->spinlock. Here is an
example:
? lockres_seq_start() --> Line 539 in dlmdebug.c
??? spin_lock(&res->spinlock); --> Line 574 in dlmdebug.c (Lock
res->spinlock)
??? dump_lockres(res, ...); --> Line 575 in fs/ocfs2/dlm/dlmdebug.c
????? stringify_lockname(res->lockname.name, ...);? --> Line 493 in
dlmdebug.c (Access res->lockname.name)
????? scnpri...
2009 Feb 26
13
o2dlm mle hash patches - round 2
The changes from the last drop are:
1. Patch 11 removes struct dlm_lock_name.
2. Patch 12 is an unrelated bugfix. Actually is related to a bugfix
that we are retracting in mainline currently. The patch may need more testing.
While I did hit the condition in my testing, Marcos hasn't. I am sending it
because it can be queued for 2.6.30. Give us more time to test.
3. Patch 13 will be useful
2009 Apr 22
1
[PATCH 1/1] OCFS2: fasten dlm_lock_resource hash_table lookups
#backporting the 3 patches at http://kernel.us.oracle.com/~smushran/srini/ to 1.2.
enlarge hash_table capacity to fasten hash_table lookups.
Signed-off-by: Wengang wang <wen.gang.wang at oracle.com>
--
diff -up ./svnocfs2-1.2/fs/ocfs2/dlm/dlmdebug.c.orig ./svnocfs2-1.2/fs/ocfs2/dlm/dlmdebug.c
--- ./svnocfs2-1.2/fs/ocfs2/dlm/dlmdebug.c.orig 2009-04-22 11:00:37.000000000 +0800
+++ ./svnocfs2-1.2/fs/ocfs2/dlm/dlmdebug.c 2009-04-22 11:08:27.000000000 +0800
@@ -547,7 +547,7 @@ void dlm_dump_lock_resources(struct dlm_
spin_lock(&dlm->sp...
2009 Feb 03
10
Convert mle list to a hash
These patches convert the mle list to a hash. The same patches apply on
ocfs2 1.4 too.
Currently, we use the same number of hash pages for mles and lockres'.
This will be addressed in a future patch that will make both of them
configurable.
Sunil
2009 Apr 17
26
OCFS2 1.4: Patches backported from mainline
Please review the list of patches being applied to the ocfs2 1.4 tree.
All patches list the mainline commit hash.
Thanks
Sunil
2009 May 01
0
[PATCH 1/3] OCFS2: speed up dlm_lockr_resouce hash_table lookups
..._alloc_ctxt(c
goto leave;
}
- for (i=0; i<DLM_HASH_BUCKETS; i++)
- INIT_HLIST_HEAD(&dlm->lockres_hash[i]);
+ for (i = 0; i < DLM_HASH_BUCKETS; i++)
+ INIT_HLIST_HEAD(dlm_lockres_hash(dlm, i));
strcpy(dlm->name, domain);
dlm->key = key;
Index: ocfs2-1.2/fs/ocfs2/dlm/dlmdebug.c
===================================================================
--- ocfs2-1.2/fs/ocfs2/dlm/dlmdebug.c (revision 1)
+++ ocfs2-1.2/fs/ocfs2/dlm/dlmdebug.c (revision 2)
@@ -547,7 +547,7 @@ void dlm_dump_lock_resources(struct dlm_
spin_lock(&dlm->spinlock);
for (i=0; i<DLM_HASH_BU...
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
...+++++++++++++--
fs/ocfs2/aops.c | 6 +-
fs/ocfs2/cluster/sys.c | 9 +
fs/ocfs2/cluster/tcp.c | 96 ++--
fs/ocfs2/cluster/tcp_internal.h | 2 +
fs/ocfs2/dlm/dlmcommon.h | 49 ++
fs/ocfs2/dlm/dlmdebug.c | 911 +++++++++++++++++++++++++---
fs/ocfs2/dlm/dlmdebug.h | 86 +++
fs/ocfs2/dlm/dlmdomain.c | 70 ++-
fs/ocfs2/dlm/dlmlock.c | 22 +-
fs/ocfs2/dlm/dlmmaster.c | 200 ++-----
fs/ocfs2/dlmglue.c...
2012 Jun 14
0
[ocfs2-announce] OCFS2 1.4.10-1 released
...: dlm dlmlock_remote needs to account for remastery
ocfs2: dlm Take inflight reference count for remotely mastered resrouce too
ocfs2: Wakeup down convert thread just after clearing
OCFS2-LOCK-UPCONVERT-FINISHING
ocfs2: dlm Hard code the values for enums
ocfs2: dlm Minor cleanup
ocfs2: dlm Cleanup dlmdebug.c
ocfs2: dlm make existing convertion precedent over new lock
ocfs2: dlm Cleanup mlogs in dlmthread.c dlmast.c and dlmdomain.c
ocfs2: Treat writes as new when holes span across page boundary
ocfs2: Use the right group in nfs sync check
ocfs2: enable discontig block group support
ocfs2: Set ac_last_...
2009 Jan 14
15
Backport patches to ocfs2 1.4 tree from mainline
Found 15 patches (out of 162) that appeared relevant to ocfs2 1.4.
Please review.
Sunil
2009 Mar 17
33
[git patches] Ocfs2 updates for 2.6.30
...cfs2/cluster/heartbeat.c | 96 ++-
fs/ocfs2/cluster/heartbeat.h | 3 +-
fs/ocfs2/cluster/nodemanager.c | 9 +-
fs/ocfs2/dir.c | 2806 ++++++++++++++++++++++++++++++++++++++--
fs/ocfs2/dir.h | 57 +-
fs/ocfs2/dlm/dlmcommon.h | 58 +-
fs/ocfs2/dlm/dlmdebug.c | 87 +-
fs/ocfs2/dlm/dlmdomain.c | 29 +-
fs/ocfs2/dlm/dlmmaster.c | 387 +++---
fs/ocfs2/dlm/dlmthread.c | 20 +-
fs/ocfs2/dlmglue.c | 46 +
fs/ocfs2/dlmglue.h | 2 +
fs/ocfs2/export.c | 84 ++-
fs/ocfs2/inode.c...
2010 Oct 22
0
[GIT PULL] ocfs2 changes for 2.6.37
...fs/ocfs2/cluster/nodemanager.c | 5 +
fs/ocfs2/cluster/ocfs2_nodemanager.h | 6 +
fs/ocfs2/cluster/tcp.c | 5 +
fs/ocfs2/dcache.c | 33 ++-
fs/ocfs2/dcache.h | 1 +
fs/ocfs2/dlm/dlmcommon.h | 29 ++-
fs/ocfs2/dlm/dlmdebug.c | 12 +-
fs/ocfs2/dlm/dlmdomain.c | 400 +++++++++++++++++++++++++-
fs/ocfs2/dlmglue.c | 8 +
fs/ocfs2/file.c | 73 +++--
fs/ocfs2/inode.c | 1 +
fs/ocfs2/inode.h | 12 +-
fs/ocfs2...
2013 Nov 26
3
[PATCH] Remove versioning information
The versioning information is confusing for end-users. The numbers
are stuck at 1.5.0 when the tools have moved to 1.8.3.
I suggest removing the versioning system in the kernel altogether
and let the kernel version be the guide to debug issues. However, if
you think versioning is still required, please state the reason and
modify the version string in the ver.* files to reflect the uptodate
2010 Oct 08
23
O2CB global heartbeat - hopefully final drop!
All,
This is hopefully the final drop of the patches for adding global heartbeat
to the o2cb stack.
The diff from the previous set is here:
http://oss.oracle.com/~smushran/global-hb-diff-2010-10-07
Implemented most of the suggestions provided by Joel and Wengang.
The most important one was to activate the feature only at the end,
Also, got mostly a clean run with checkpatch.pl.
Sunil