From: Guoqing Jiang <gqjiang@suse.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] About dlm_unlock (kernel space)
Date: Mon, 13 Jun 2016 07:15:09 -0400 [thread overview]
Message-ID: <575E95BD.2040302@suse.com> (raw)
Hi,
In case we have set DLM_LKF_CONVERT flag for dlm_lock, is it possible
that the convert
queue could be NULL or not NULL while perform unlock? I think there are
two different
cases would appear when call dlm_unlock:
1. the lock logic is in convert stage.
2. convert queue is null.
For 1, seems need to cancel the lock request first (dlm_unlock+CANCEL),
then call
dlm_unlock. And just need to call dlm_unlock directly for case 2. Please
correct me
if I am wrong.
And what could happen if cancel a lock which has a empty convert queue?
Like call
dlm_unlock+CANCEL for case 2, is something wrong could happen?
The last question, is there a dlm_unlock_* variant which could do unlock
finally for
both case1 and case2 (or does the variant make sense)?
Thanks & Regards,
Guoqing
next reply other threads:[~2016-06-13 11:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 11:15 Guoqing Jiang [this message]
2016-06-13 14:56 ` [Cluster-devel] About dlm_unlock (kernel space) David Teigland
2016-06-14 2:34 ` Guoqing Jiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=575E95BD.2040302@suse.com \
--to=gqjiang@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.