search for: ast_lock

Displaying 8 results from an estimated 8 matches for "ast_lock".

2009 Feb 26
0
Possible locking problem in DLM code
Hi, with lockdep enabled, I get the warning below. I've verified it and it seems to be really correct - we acquire dlm->ast_lock and lockres->spinlock in different orders in dlm_queue_bast() and dlm_lockres_release_asm(). I'm not sure whether this can really lead to a deadlock and / or how to fix this... Honza ======================================================= [ INFO: possible circular locking dependenc...
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.
2014 Sep 26
2
One node hangs up issue requiring goog idea, thanks
...-06-07 10:40:09.000000000 +0800 +++ ocfs2/dlm/dlmthread.c 2014-09-26 16:42:36.000000000 +0800 @@ -517,6 +517,9 @@ static void dlm_flush_asts(struct dlm_ct struct dlm_lock_resource *res; u8 hi; + /* resend the msg again */ + int send_times = 0; + spin_lock(&dlm->ast_lock); while (!list_empty(&dlm->pending_asts)) { lock = list_entry(dlm->pending_asts.next, @@ -539,9 +542,16 @@ static void dlm_flush_asts(struct dlm_ct spin_unlock(&dlm->ast_lock); if (lock->ml.node != dlm->node_num) { -...
2010 May 20
0
[GIT PULL] ocfs2 updates for 2.6.35
...fs2_remove_btree_range() instead. Ocfs2: Fix hole punching to correctly do CoW during cluster zeroing. Ocfs2: Make ocfs2_find_cpos_for_left_leaf() public. Ocfs2: Optimize punching-hole code. Wengang Wang (2): ocfs2: print node # when tcp fails ocfs2:dlm: avoid dlm->ast_lock lockres->spinlock dependency break Documentation/filesystems/ocfs2.txt | 7 + fs/ocfs2/Makefile | 1 + fs/ocfs2/alloc.c | 908 +++++++++-------------------------- fs/ocfs2/alloc.h | 12 +- fs/ocfs2/aops.c |...
2012 Jun 14
0
[ocfs2-announce] OCFS2 1.4.10-1 released
...s2: dlm avoid incorrect bit set in refmap on recovery master ocfs2: fix o2dlm dlm run purgelist rev 3 ocfs2: dlm fix a dead lock ocfs2: dlm Remove BUG_ON from migration in the rare case of a down node ocfs2: dlm don t access beyond bitmap size ocfs2/dlm: Add missing spin_unlock ocfs2/dlm: avoid dlm ast_lock lockres spinlock dependency break ocfs2/dlm: Use kstrdup ocfs2/dlm: Drop memory allocation cast ocfs2 dlm Make o2dlm domain join leave messages KERN_NOTICE o2net: log socket state changes ocfs2: Fix a race in o2dlm lockres mastery FEEDBACK Please do not hesitate to email us at the ocfs2-users at...
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
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
The following series of patches comprises the bulk of our outstanding changes for Ocfs2. Aside from the usual set of cleanups and fixes that were inappropriate for 2.6.25, there are a few highlights: The '/sys/o2cb' directory has been moved to '/sys/fs/o2cb'. The new location meshes better with modern sysfs layout. A symbolic link has been placed in the old location so as to