From: Sunil Mushran <sunil.mushran@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH] ocfs2/dlm: check dlm_state under spinlock
Date: Thu, 17 Jun 2010 18:35:36 -0700 [thread overview]
Message-ID: <4C1ACD68.7070006@oracle.com> (raw)
In-Reply-To: <201006160409.o5G1dABa012133@acsinet15.oracle.com>
On 06/15/2010 09:08 PM, Wengang Wang wrote:
> We should check dlm->dlm_state under dlm->spinlock though maybe in this case it
> doesn't hurt.
>
NAK.
dlm->dlm_state is protected by dlm_domain_lock which is held at that time.
/* NOTE: Next three are protected by dlm_domain_lock */
struct kref dlm_refs;
enum dlm_ctxt_state dlm_state;
unsigned int num_joins;
next prev parent reply other threads:[~2010-06-18 1:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-16 4:08 [Ocfs2-devel] [PATCH] ocfs2/dlm: check dlm_state under spinlock Wengang Wang
2010-06-16 5:00 ` Srinivas Eeda
2010-06-16 5:13 ` Wengang Wang
2010-06-18 1:35 ` Sunil Mushran [this message]
2010-06-18 2:48 ` Wengang Wang
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=4C1ACD68.7070006@oracle.com \
--to=sunil.mushran@oracle.com \
--cc=ocfs2-devel@oss.oracle.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.