Home
last modified time | relevance | path

Searched hist:"71656 fa6ec10473eb9b646c10a2173fdea2f83c9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ocfs2/dlm/
H A Ddlmrecovery.cdiff 71656fa6ec10473eb9b646c10a2173fdea2f83c9 Mon Jan 25 18:57:39 CST 2010 Sunil Mushran <sunil.mushran@oracle.com> 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>