All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wendy Cheng <wcheng@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [RFC 2/3] GFS2 rename race - lock reordering
Date: Tue, 12 Dec 2006 03:13:08 -0500	[thread overview]
Message-ID: <457E6494.6080806@redhat.com> (raw)

Currently GFS2 only obtains its rename global locks if the "source" is a 
directory. This could result a deadlock if:

- Node 1 does "rename dir1/file-a dir2/file-b"
- Node 2 does "rename dir2/file-c dir1/file-a"

We'll unconditionally grab the global lock from now on unless the 
"source" and "destination" are from the same directory.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: gfs2_rename_lock.patch
Type: text/x-patch
Size: 2137 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20061212/9054c7a2/attachment.bin>

             reply	other threads:[~2006-12-12  8:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-12  8:13 Wendy Cheng [this message]
2006-12-12  8:15 ` [Cluster-devel] Re: [RFC 2/3] GFS2 rename race - lock reordering Wendy Cheng

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=457E6494.6080806@redhat.com \
    --to=wcheng@redhat.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.