linux/fs/ocfs2
Mark Fasheh d680efe9d8 ocfs2: Add new cluster lock type
Replace the dentry vote mechanism with a cluster lock which covers a set
of dentries. This allows us to force d_delete() only on nodes which actually
care about an unlink.

Every node that does a ->lookup() gets a read only lock on the dentry, until
an unlink during which the unlinking node, will request an exclusive lock,
forcing the other nodes who care about that dentry to d_delete() it. The
effect is that we retain a very lightweight ->d_revalidate(), and at the
same time get to make large improvements to the average case performance of
the ocfs2 unlink and rename operations.

This patch adds the cluster lock type which OCFS2 can attach to
dentries.  A small number of fs/ocfs2/dcache.c functions are stubbed
out so that this change can compile.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2006-09-24 13:50:42 -07:00
..
cluster ocfs2: Fix heartbeat sector calculation 2006-09-20 15:50:53 -07:00
dlm ocfs2: Update dlmfs for new dlmlock() API 2006-09-24 13:50:42 -07:00
alloc.c ocfs2: Remove overzealous BUG_ON() 2006-09-20 16:00:54 -07:00
alloc.h
aops.c ocfs2: properly update i_mtime on buffered write 2006-09-20 15:53:05 -07:00
aops.h
buffer_head_io.c ocfs2: implement directory read-ahead 2006-09-20 15:53:40 -07:00
buffer_head_io.h ocfs2: implement directory read-ahead 2006-09-20 15:53:40 -07:00
dcache.c ocfs2: Add new cluster lock type 2006-09-24 13:50:42 -07:00
dcache.h ocfs2: Add new cluster lock type 2006-09-24 13:50:42 -07:00
dir.c ocfs2: implement directory read-ahead 2006-09-20 15:53:40 -07:00
dir.h
dlmglue.c ocfs2: Add new cluster lock type 2006-09-24 13:50:42 -07:00
dlmglue.h ocfs2: Add new cluster lock type 2006-09-24 13:50:42 -07:00
endian.h
export.c
export.h
extent_map.c
extent_map.h
file.c ocfs2: add ext2 attributes 2006-09-20 15:48:39 -07:00
file.h
heartbeat.c
heartbeat.h
inode.c ocfs2: implement directory read-ahead 2006-09-20 15:53:40 -07:00
inode.h ocfs2: add ext2 attributes 2006-09-20 15:48:39 -07:00
ioctl.c [PATCH] fs/ocfs2/ioctl.c should #include "ioctl.h" 2006-09-20 15:49:33 -07:00
ioctl.h ocfs2: add ext2 attributes 2006-09-20 15:48:39 -07:00
journal.c
journal.h
localalloc.c ocfs2: allocation hints 2006-08-07 11:07:01 -07:00
localalloc.h
Makefile ocfs2: add ext2 attributes 2006-09-20 15:48:39 -07:00
mmap.c
mmap.h
namei.c ocfs2: implement directory read-ahead 2006-09-20 15:53:40 -07:00
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h ocfs2: add ext2 attributes 2006-09-20 15:48:39 -07:00
ocfs2_lockid.h ocfs2: Add new cluster lock type 2006-09-24 13:50:42 -07:00
ocfs2.h ocfs2: allocation hints 2006-08-07 11:07:01 -07:00
slot_map.c
slot_map.h
suballoc.c ocfs2: allocation hints 2006-08-07 11:07:01 -07:00
suballoc.h ocfs2: allocation hints 2006-08-07 11:07:01 -07:00
super.c
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c ocfs2: implement directory read-ahead 2006-09-20 15:53:40 -07:00
uptodate.h ocfs2: implement directory read-ahead 2006-09-20 15:53:40 -07:00
ver.c
ver.h
vote.c
vote.h