linux/fs/ocfs2/dlm
Sunil Mushran cda70ba8c0 ocfs2/dlm: Remove BUG_ON in dlm recovery when freeing locks of a dead node
During recovery, the dlm frees the locks for the dead node. If it finds a
lock in a resource for the dead node, it expects that node to also have a
ref in that lock resource. If not, it BUGs.

ossbz#1175 was filed with the above BUG. Now, while it is correct that we
should be expecting the ref, I see no reason why we have to BUG. After all,
we are freeing up the lock and clearing the ref.

This patch replaces the BUG_ON with a printk(). Hopefully, that will give
us more clues next time this happens.

http://oss.oracle.com/bugzilla/show_bug.cgi?id=1175

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Acked-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2010-02-03 17:51:41 -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
dlmfsver.h
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: Remove BUG_ON in dlm recovery when freeing locks of a dead node 2010-02-03 17:51:41 -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
dlmver.h
Makefile ocfs2: Only build ocfs2/dlm with the o2cb stack module 2008-04-18 08:56:12 -07:00
userdlm.c
userdlm.h ocfs2: comments typo fix 2008-12-01 14:46:31 -08:00