search for: lksb

Displaying 5 results from an estimated 5 matches for "lksb".

Did you mean: ksb
2009 Jun 19
1
[PATCH] ocfs2: Provide the ocfs2_dlm_lvb_valid() stack API.
...of the state. This is not a standard behavior, but ocfs2 has always relied on it. Thus, an o2dlm LVB is always "valid". ocfs2 now supports both o2dlm and fs/dlm via the stack glue. When fs/dlm loses track of an LVBs state, it sets a flag (DLM_SBF_VALNOTVALID) on the Lock Status Block (LKSB). The contents of the LVB may be garbage or merely stale. ocfs2 doesn't want to try to guess at the validity of the stale LVB. Instead, it should be checking the VALNOTVALID flag. As this is the 'standard' way of treating LVBs, we will promote this behavior. We add a stack glue API...
2010 Aug 26
1
[PATCH 2/5] ocfs2/dlm: add lockres as parameter to dlm_new_lock()
.../dlm/dlmcommon.h index 49e6492..4e10aa6 100644 --- a/fs/ocfs2/dlm/dlmcommon.h +++ b/fs/ocfs2/dlm/dlmcommon.h @@ -785,7 +785,8 @@ static inline unsigned long long dlm_get_lock_cookie_seq(u64 cookie) } struct dlm_lock * dlm_new_lock(int type, u8 node, u64 cookie, - struct dlm_lockstatus *lksb); + struct dlm_lockstatus *lksb, + struct dlm_lock_resource *res); void dlm_lock_get(struct dlm_lock *lock); void dlm_lock_put(struct dlm_lock *lock); diff --git a/fs/ocfs2/dlm/dlmlock.c b/fs/ocfs2/dlm/dlmlock.c index 5c7ece7..7d0bef2 100644 --- a/fs/ocfs2/dlm/dlmlock.c +++ b/...
2006 Aug 15
0
[git patches] ocfs2 updates
...+++++++++++++++++++++++------ fs/ocfs2/suballoc.h | 2 fs/ocfs2/super.c | 8 + 7 files changed, 263 insertions(+), 62 deletions(-) Adrian Bunk: fs/ocfs2/dlm/dlmmaster.c: unexport dlm_migrate_lockres Kurt Hackel: ocfs2: Fix lvb corruption ocfs2: do not modify lksb->status in the unlock ast ocfs2: fix check for locally granted state during dlmunlock() Mark Fasheh: ocfs2: limit cluster bitmap information saved at mount ocfs2: better group descriptor consistency checks ocfs2: allocation hints diff --git a/fs/ocfs2/dlm/dlmmaster.c b/...
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
2007 May 17
1
[PATCH] ocfs: use list_for_each_entry where benefical
...ach(iter, queue) { - lock = list_entry (iter, struct dlm_lock, list); - + list_for_each_entry(lock, queue, list) { /* add another lock. */ total_locks++; if (!dlm_add_lock_to_array(lock, mres, i)) @@ -1717,7 +1701,6 @@ static int dlm_process_recovery_data(str struct dlm_lockstatus *lksb = NULL; int ret = 0; int i, j, bad; - struct list_head *iter; struct dlm_lock *lock = NULL; u8 from = O2NM_MAX_NODES; unsigned int added = 0; @@ -1755,8 +1738,7 @@ static int dlm_process_recovery_data(str spin_lock(&res->spinlock); for (j = DLM_GRANTED_LIST; j <= DLM_BLO...