[Ocfs2-devel] [PATCH 1/1] ocfs2: Fix a race in o2dlm lockres mastery(backport to 1.4)
Joel Becker
Joel.Becker at oracle.com
Tue Mar 23 12:54:55 PDT 2010
On Tue, Mar 23, 2010 at 11:07:59AM -0700, Srinivas Eeda wrote:
> In o2dlm, the master of a lock resource keeps a map of all interested
> nodes. This prevents the master from purging the resource before an
> interested node can create a lock.
>
> A race between the mastery thread and the mastery handler allowed an
> interested node to discover who the master is without informing the
> master directly. This is easily fixed by holding the dlm spinlock a
> little longer in the mastery handler.
>
> Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
Has this patch changed at all since the one I took earlier?
Joel
--
"I don't even butter my bread; I consider that cooking."
- Katherine Cebrian
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list