[Ocfs2-devel] Could the master return DLM_NORMAL when unlock nonexistent locks from other node?
Junxiao Bi
junxiao.bi at oracle.com
Wed Mar 16 18:15:20 PDT 2016
On 03/15/2016 09:55 AM, Shichangkuo wrote:
> Hi all,
> When NodeA want to unlock lock-res1, and it send message to NodeB, but in NodeB any lock queues (granted, converting, blocked) could not find this lock for some unknown reason, then NodeB reply DLM_IVLOCKID.
> In this situation, NodeA bug. The detail is described as follows.
>
> NODEA NODEB
> ocfs2_drop_lock
> ocfs2_dlm_unlock
> o2cb_dlm_unlock
> dlmunlock
> dlmunlock_remote ----> send message to master
> dlm_unlock_lock_handler
> return DLM_IVLOCKID
> BUG()
>
> I think it's no nessary to let NodeA bug, it just like we removed an nonexistent file.
> Could NodeB return DLM_NORMAL?
No. This is a lock inconsistent bug. What kernel version are you using?
Please check whether patchset "ocfs2: o2net: don't shutdown connection
when idle timeout" is there. Without this, this inconsistent lock can be
triggered.
Thanks,
Junxiao.
>
> Thanks
> Changkuo
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
> -------------------------------------------------------------------------------------------------------------------------------------
> 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
> 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
> 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
> 邮件!
> This e-mail and its attachments contain confidential information from H3C, which is
> intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
> by phone or email immediately and delete it!
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
>
More information about the Ocfs2-devel
mailing list