search for: dlm_migratable_lockr

Displaying 2 results from an estimated 2 matches for "dlm_migratable_lockr".

Did you mean: dlm_migratable_lock
2009 Jul 02
1
[PATCH 1/1] NET_MAX_PAYLOAD_BYTES typo?
I've read fs/ocfs2/dlm/dlmcommon.h to study the structure of dlm_migratable_lockres. However, I may find a typo for the DLM_MIG_LOCKRES_MAX_LEN, the NET_MAX_PAYLOAD_BYTES should be O2NET_MAX_PAYLOAD_BYTES, I think. In comments, the sizeof(net_msg) should be sizeof(o2net_msg) by referring to fs/ocfs2/cluster/tcp.h. Signed-off-by: Jeff Liu <jeff.liu at oracle.com> --- fs/o...
2007 May 17
1
[PATCH] ocfs: use list_for_each_entry where benefical
..._safe(res, next, &dlm->reco.resources, recovering) { /* always prune any $RECOVERY entries for dead nodes, * otherwise hangs can occur during later recovery */ if (dlm_is_recovery_lock(res->lockname.name, @@ -1252,7 +1238,7 @@ int dlm_send_one_lockres(struct dlm_ctxt struct dlm_migratable_lockres *mres, u8 send_to, u8 flags) { - struct list_head *queue, *iter; + struct list_head *queue; int total_locks, i; u64 mig_cookie = 0; struct dlm_lock *lock; @@ -1278,9 +1264,7 @@ int dlm_send_one_lockres(struct dlm_ctxt total_locks = 0; for (i=DLM_GRANTED_LIST; i<=DLM_BLOCKED_LIS...