aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dcache.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-10-05 12:09:05 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2007-11-06 15:31:45 -0800
commit019d1b2247c6898589560c6f3b3e7ec280b0010a (patch)
tree869d6e1fef42e7d7a4c0f81a3b6ddf19ea972792 /fs/ocfs2/dcache.c
parent[PATCH] Fix priority mistakes in fs/ocfs2/{alloc.c, dlmglue.c} (diff)
downloadlinux-dev-019d1b2247c6898589560c6f3b3e7ec280b0010a.tar.xz
linux-dev-019d1b2247c6898589560c6f3b3e7ec280b0010a.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions