]> err.no Git - linux-2.6/commit
ocfs2: Remove delete inode vote
authorTiger Yang <tiger.yang@oracle.com>
Tue, 20 Mar 2007 23:01:38 +0000 (16:01 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Thu, 26 Apr 2007 21:39:48 +0000 (14:39 -0700)
commit500086300e6dc5308a7328990bd50d17e075162b
tree4083cda09445c260c2cc2ac1d0f68c05ad2b958e
parenta9f5f70739363ccca2e771c274c4f015c5fb7a88
ocfs2: Remove delete inode vote

Ocfs2 currently does cluster-wide node messaging to check the open state of
an inode during delete. This patch removes that mechanism in favor of an
inode cluster lock which is taken at shared read when an inode is first read
and dropped in clear_inode(). This allows a deleting node to test the
liveness of an inode by attempting to take an exclusive lock.

Signed-off-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/cluster/tcp_internal.h
fs/ocfs2/dlmglue.c
fs/ocfs2/dlmglue.h
fs/ocfs2/inode.c
fs/ocfs2/inode.h
fs/ocfs2/journal.c
fs/ocfs2/namei.c
fs/ocfs2/ocfs2_fs.h
fs/ocfs2/ocfs2_lockid.h
fs/ocfs2/super.c