Displaying 4 results from an estimated 4 matches for "lockres_or_flags".
2009 Jan 29
0
Is ocfs2_create_new_lock() broken?
...40 ret = ocfs2_create_new_lock(osb, &OCFS2_I(inode)->ip_inode_lockres, 1, 0);
Ass you can see, we pass '0' for the 'local' argument to
ocfs2_create_new_lock().
ocfs2_create_new_lock() certainly sets lkm_flags based on the
'local' argument. But then it calls lockres_or_flags() with the
explicit flag, not with lkm_flags. Is this wrong?
1387 static int ocfs2_create_new_lock(struct ocfs2_super *osb,
1388 struct ocfs2_lock_res *lockres,
1389 int ex,
1390 int local)
1391 {
1...
2010 Jan 21
4
dlmglue fixes
David,
So here are the two patches. Remove all patches that you have and apply
these.
The first one is straight forward.
The second one will hopefully fix the livelock issue you have been
encountering.
People reviewing the patches should note that the second one is slightly
different than the one I posted earlier. It removes the BUG_ON in the if
condition where we jump to update_holders. The
2009 Aug 18
15
dlm stress test hangs OCFS2
...In further debugging, I added some printk information in fs/ocfs2/dlmglue.c, and
did some statistic. Here is the statistic info for 4 seconds when both nodes
gets blocked:
Here is a statistic info on the frequency of each functions got called during
the 4 seconds,
1352 lockres_set_flags
728 lockres_or_flags
624 lockres_clear_flags
312 __lockres_clear_pending
213 ocfs2_process_blocked_lock
213 ocfs2_locking_ast
213 ocfs2_downconvert_thread_do_work
213 lockres_set_pending
213 lockres_clear_pending
213 lockres_add_mask_waiter
156 ocfs2_prepare_downconvert
156 ocfs2...
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