linux/fs/ocfs2/dlm
Sunil Mushran 71656fa6ec ocfs2/dlm: Ignore LVBs of locks in the Blocked list
During lock resource migration, o2dlm fills the packet with a LVB from the
first valid lock. For sanity, it ensures that the other valid locks have the
same LVB. If not, it BUGs.

The valid locks are ones that have granted EX or PR lock levels and are either
on the Granted or Converting lists. Locks in the Blocked list cannot have a
valid LVB.

This patch ensures that we skip the locks in the Blocked list.

Fixes oss bugzilla#1202
http://oss.oracle.com/bugzilla/show_bug.cgi?id=1202

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2010-01-25 19:20:57 -08:00
..
dlmapi.h ocfs2/trivial: Remove trailing whitespaces 2010-01-25 19:20:51 -08:00
dlmast.c ocfs2/trivial: Remove trailing whitespaces 2010-01-25 19:20:51 -08:00
dlmcommon.h ocfs2/dlm: Remove struct dlm_lock_name in struct dlm_master_list_entry 2009-04-03 11:39:23 -07:00
dlmconvert.c ocfs2/trivial: Remove trailing whitespaces 2010-01-25 19:20:51 -08:00
dlmconvert.h
dlmdebug.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
dlmdebug.h [PATCH 2/3] ocfs2/dlm: Silence build warnings 2008-05-30 15:15:10 -07:00
dlmdomain.c ocfs2/trivial: Remove trailing whitespaces 2010-01-25 19:20:51 -08:00
dlmdomain.h
dlmfs.c writeback: add name to backing_dev_info 2009-09-11 09:20:26 +02:00
dlmfsver.c ocfs2: bump version number 2008-01-25 15:05:46 -08:00
dlmfsver.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmlock.c ocfs2/trivial: Remove trailing whitespaces 2010-01-25 19:20:51 -08:00
dlmmaster.c ocfs2/trivial: Remove trailing whitespaces 2010-01-25 19:20:51 -08:00
dlmrecovery.c ocfs2/dlm: Ignore LVBs of locks in the Blocked list 2010-01-25 19:20:57 -08:00
dlmthread.c headers: utsname.h redux 2009-09-23 18:13:10 -07:00
dlmunlock.c ocfs2/trivial: Remove trailing whitespaces 2010-01-25 19:20:51 -08:00
dlmver.c ocfs2: bump version number 2008-01-25 15:05:46 -08:00
dlmver.h
Makefile ocfs2: Only build ocfs2/dlm with the o2cb stack module 2008-04-18 08:56:12 -07:00
userdlm.c ocfs2: Negotiate locking protocol versions. 2008-02-06 16:11:29 -08:00
userdlm.h ocfs2: comments typo fix 2008-12-01 14:46:31 -08:00