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 [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
aops.c ocfs2: properly update i_mtime on buffered write 2006-09-20 15:53:05 -07:00
aops.h ocfs2: take data locks around extend 2006-05-17 14:38:47 -07:00
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 [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
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 [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
export.c ocfs2: don't use MLF* in the file system 2006-03-24 14:58:28 -08:00
export.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
extent_map.c ocfs2: silence -EEXIST from ocfs2_extent_map_insert/lookup 2006-06-29 15:52:56 -07:00
extent_map.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
file.c ocfs2: add ext2 attributes 2006-09-20 15:48:39 -07:00
file.h [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
heartbeat.c [PATCH] ocfs2: fix orphan recovery deadlock 2006-03-01 11:32:41 -08:00
heartbeat.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
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 ocfs2: clean up some osb fields 2006-06-29 16:10:13 -07:00
journal.h [PATCH] ocfs2: only checkpoint journal when asked to 2006-02-16 12:04:10 -08:00
localalloc.c ocfs2: allocation hints 2006-08-07 11:07:01 -07:00
localalloc.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
Makefile ocfs2: add ext2 attributes 2006-09-20 15:48:39 -07:00
mmap.c ocfs2: Compile-time disabling of ocfs2 debugging output. 2006-06-29 14:48:30 -07:00
mmap.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
namei.c ocfs2: implement directory read-ahead 2006-09-20 15:53:40 -07:00
namei.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
ocfs1_fs_compat.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
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 ocfs2: silence a debug print 2006-06-29 16:03:17 -07:00
slot_map.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
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 ocfs2: limit cluster bitmap information saved at mount 2006-08-07 11:04:07 -07:00
super.h ocfs2: use __attribute__ format 2006-03-24 14:58:24 -08:00
symlink.c ocfs2: silence ENOENT during lookup of broken links 2006-06-29 15:59:52 -07:00
symlink.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
sysfile.c [PATCH] BUG_ON() Conversion in fs/ocfs2/ 2006-02-03 13:54:22 -08:00
sysfile.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
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 [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
ver.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
vote.c [PATCH] Remove redundant NULL checks before [kv]free - in fs/ 2006-06-27 17:32:48 -07:00
vote.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00