From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wendy Cheng Date: Tue, 12 Dec 2006 03:13:08 -0500 Subject: [Cluster-devel] [RFC 2/3] GFS2 rename race - lock reordering Message-ID: <457E6494.6080806@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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: