search for: dlm_status

Displaying 6 results from an estimated 6 matches for "dlm_status".

2006 Aug 15
0
[git patches] ocfs2 updates
...SYMBOL_GPL(dlm_migrate_lockres); int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock) { diff --git a/fs/ocfs2/dlm/dlmunlock.c b/fs/ocfs2/dlm/dlmunlock.c index b0c3134..37be4b2 100644 --- a/fs/ocfs2/dlm/dlmunlock.c +++ b/fs/ocfs2/dlm/dlmunlock.c @@ -155,7 +155,7 @@ static enum dlm_status dlmunlock_common( else status = dlm_get_unlock_actions(dlm, res, lock, lksb, &actions); - if (status != DLM_NORMAL) + if (status != DLM_NORMAL && (status != DLM_CANCELGRANT || !master_node)) goto leave; /* By now this has been masked out of cancel requests. */ @@ -183,8 +1...
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
..._map I/O based on max_slots. ocfs2: De-magic the in-memory slot map. ocfs2: Define the contents of the slot_map file. ocfs2: New slot map format ocfs2: Separate out dlm lock functions. ocfs2: Use global DLM_ constants in generic code. ocfs2: Use -errno instead of dlm_status for ocfs2_dlm_lock/unlock() API. ocfs2: Create the lock status block union. ocfs2: Introduce the new ocfs2_cluster_connect/disconnect() API. ocfs2: Abstract out node number queries. ocfs2: Move o2hb functionality into the stack glue. ocfs2: Remove CANCELGRANT from the...
2009 Jul 23
0
[PATCH] ocfs2: Keep index within status_map
...c410 100644 --- a/fs/ocfs2/stack_o2cb.c +++ b/fs/ocfs2/stack_o2cb.c @@ -17,6 +17,7 @@ * General Public License for more details. */ +#include <linux/kernel.h> #include <linux/crc32.h> #include <linux/module.h> @@ -153,7 +154,7 @@ static int status_map[] = { static int dlm_status_to_errno(enum dlm_status status) { - BUG_ON(status > (sizeof(status_map) / sizeof(status_map[0]))); + BUG_ON(status < 0 || status >= ARRAY_SIZE(status_map)); return status_map[status]; }
2009 Feb 03
5
[PATCH 1/4] ocfs2/dlm: Retract fix for race between purge and migrate
Mainline commit d4f7e650e55af6b235871126f747da88600e8040 attempts to delay the dlm_thread from sending the drop ref message if the lockres is being migrated. The problem is that we make the dlm_thread wait for the migration to complete. This causes a deadlock as dlm_thread also participates in the lockres migration process. A better fix for the original oss bugzilla#1012 is in testing.
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 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