1
linux/fs/ocfs2
Mark Fasheh cf8e06f1a8 [PATCH 1/2] ocfs2: add flock lock type
This adds a new dlmglue lock type which is intended to back flock()
requests.

Since these locks are driven from userspace, usage rules are much more
liberal than the typical Ocfs2 internal cluster lock. As a result, we can't
make use of most dlmglue features - lock caching and lock level
optimizations in particular. Additionally, userspace is free to deadlock
itself, so we have to deal with that in the same way as the rest of the
kernel - by allowing a signal to abort a lock request.

In order to keep ocfs2_cluster_lock() complexity down, ocfs2_file_lock()
does it's own dlm coordination. We still use the same helper functions
though, so duplicated code is kept to a minimum.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2008-01-25 15:05:43 -08:00
..
cluster ocfs2: Remove data locks 2008-01-25 14:45:57 -08:00
dlm ocfs2_dlm: Call node eviction callbacks from heartbeat handler 2008-01-25 14:36:40 -08:00
alloc.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
alloc.h ocfs2: Write support for directories with inline data 2007-10-12 11:54:41 -07:00
aops.c ocfs2: Readpages support 2008-01-25 14:48:12 -08:00
aops.h ocfs2: convert to new aops 2007-10-16 09:42:58 -07:00
buffer_head_io.c [PATCH 1/2] ocfs2: Add group extend for online resize 2008-01-25 14:53:35 -08:00
buffer_head_io.h [PATCH 1/2] ocfs2: Add group extend for online resize 2008-01-25 14:53:35 -08:00
dcache.c ocfs2: Remove mount/unmount votes 2008-01-25 14:45:34 -08:00
dcache.h ocfs2: Remove special casing for inode creation in ocfs2_dentry_attach_lock() 2006-09-24 13:50:45 -07:00
dir.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
dir.h ocfs2: Rename cleanups 2007-10-12 11:54:38 -07:00
dlmglue.c [PATCH 1/2] ocfs2: add flock lock type 2008-01-25 15:05:43 -08:00
dlmglue.h [PATCH 1/2] ocfs2: add flock lock type 2008-01-25 15:05:43 -08:00
endian.h ocfs2: btree changes for unwritten extents 2007-07-10 17:32:00 -07:00
export.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
export.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
extent_map.c ocfs2: Read support for inline data 2007-10-12 11:54:39 -07:00
extent_map.h ocfs2: Cache extent records 2007-04-26 15:10:40 -07:00
file.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
file.h [PATCH 1/2] ocfs2: add flock lock type 2008-01-25 15:05:43 -08:00
heartbeat.c ocfs2: Remove mount/unmount votes 2008-01-25 14:45:34 -08:00
heartbeat.h ocfs2: Remove fs dependency on ocfs2_heartbeat module 2008-01-25 14:36:40 -08:00
inode.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
inode.h ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
ioctl.c ocfs2: Add missing permission checks 2008-01-25 15:05:19 -08:00
ioctl.h ocfs2: Implement compat_ioctl() 2007-05-02 15:07:16 -07:00
journal.c ocfs2: Support commit= mount option 2008-01-25 15:05:42 -08:00
journal.h [PATCH 2/2] ocfs2: Implement group add for online resize 2008-01-25 15:04:24 -08:00
localalloc.c ocfs2: Local alloc window size changeable via mount option 2008-01-25 15:05:43 -08:00
localalloc.h ocfs2: Allow smaller allocations during large writes 2007-09-20 15:06:09 -07:00
Makefile [PATCH 1/2] ocfs2: Add group extend for online resize 2008-01-25 14:53:35 -08:00
mmap.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
mmap.h
namei.c ocfs2: Rename ocfs2_meta_[un]lock 2008-01-25 14:46:01 -08:00
namei.h ocfs2: Move directory manipulation code into dir.c 2007-10-12 11:54:36 -07:00
ocfs1_fs_compat.h
ocfs2_fs.h ocfs2: Local alloc window size changeable via mount option 2008-01-25 15:05:43 -08:00
ocfs2_lockid.h [PATCH 1/2] ocfs2: add flock lock type 2008-01-25 15:05:43 -08:00
ocfs2.h [PATCH 1/2] ocfs2: add flock lock type 2008-01-25 15:05:43 -08:00
resize.c [PATCH 2/2] ocfs2: Implement group add for online resize 2008-01-25 15:04:24 -08:00
resize.h [PATCH 2/2] ocfs2: Implement group add for online resize 2008-01-25 15:04:24 -08:00
slot_map.c ocfs2: Remove mount/unmount votes 2008-01-25 14:45:34 -08:00
slot_map.h ocfs2: Remove mount/unmount votes 2008-01-25 14:45:34 -08:00
suballoc.c ocfs2: Local alloc window size changeable via mount option 2008-01-25 15:05:43 -08:00
suballoc.h [PATCH 1/2] ocfs2: Add group extend for online resize 2008-01-25 14:53:35 -08:00
super.c ocfs2: Local alloc window size changeable via mount option 2008-01-25 15:05:43 -08:00
super.h ocfs2: use s_maxbytes directly in ocfs2_change_file_space() 2007-08-09 17:25:07 -07:00
symlink.c mm: make read_cache_page synchronous 2007-05-07 12:12:51 -07:00
symlink.h [PATCH] mark struct inode_operations const 2 2007-02-12 09:48:46 -08:00
sysfile.c ocfs2: Provide convenience function for ino lookup 2007-10-12 11:54:38 -07:00
sysfile.h
uptodate.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
uptodate.h ocfs2: implement directory read-ahead 2006-09-20 15:53:40 -07:00
ver.c
ver.h