* [Cluster-devel] [RFC 2/3] GFS2 rename race - lock reordering
@ 2006-12-12 8:13 Wendy Cheng
2006-12-12 8:15 ` [Cluster-devel] " Wendy Cheng
0 siblings, 1 reply; 2+ messages in thread
From: Wendy Cheng @ 2006-12-12 8:13 UTC (permalink / raw)
To: cluster-devel.redhat.com
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-12 8:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-12 8:13 [Cluster-devel] [RFC 2/3] GFS2 rename race - lock reordering Wendy Cheng
2006-12-12 8:15 ` [Cluster-devel] " Wendy Cheng
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.