linux/fs/ocfs2
Mark Fasheh 019d1b2247 ocfs2: Create locks at initially requested level
If we have not yet created a cluster lock, ocfs2_cluster_lock() will
first create it at NLMODE, and then convert the lock to either PRMODE or
EXMODE (whichever is requested).

Change ocfs2_cluster_lock() to just create the lock at the initially
requested level. ocfs2_locking_ast() handles this case fine, so the only
update required was in setup of locking state. This should reduce the number
of network messages required for a new lock by one, providing an incremental
performance enhancement.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-11-06 15:31:45 -08:00
..
cluster Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
dlm Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
alloc.c [PATCH] Fix priority mistakes in fs/ocfs2/{alloc.c, dlmglue.c} 2007-11-06 15:31:39 -08:00
alloc.h
aops.c ocfs2: convert to new aops 2007-10-16 09:42:58 -07:00
aops.h ocfs2: convert to new aops 2007-10-16 09:42:58 -07:00
buffer_head_io.c
buffer_head_io.h
dcache.c Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
dcache.h
dir.c [2.6 patch] make ocfs2_find_entry_el() static 2007-11-06 15:31:06 -08:00
dir.h
dlmglue.c ocfs2: Create locks at initially requested level 2007-11-06 15:31:45 -08:00
dlmglue.h
endian.h
export.c exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
export.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
extent_map.c
extent_map.h
file.c ocfs2: convert to new aops 2007-10-16 09:42:58 -07:00
file.h
heartbeat.c
heartbeat.h
inode.c
inode.h
ioctl.c
ioctl.h
journal.c
journal.h
localalloc.c
localalloc.h
Makefile
mmap.c
mmap.h
namei.c
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h
ocfs2_lockid.h
ocfs2.h
slot_map.c
slot_map.h
suballoc.c
suballoc.h
super.c Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
vote.c
vote.h