]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ocfs2: Remove data locks
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 18 Oct 2007 22:23:46 +0000 (15:23 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 25 Jan 2008 22:45:57 +0000 (14:45 -0800)
commitc934a92d05b549dd2f25db72c5fc3cb9dcf1b611
tree57150c87d1d465db28fceaa14c9d5b220c7a3954
parentf1f540688eae66c274ff1c1133b5d9c687b28f58
ocfs2: Remove data locks

The meta lock now covers both meta data and data, so this just removes the
now-redundant data lock.

Combining locks saves us a round of lock mastery per inode and one less lock
to ping between nodes during read/write.

We don't lose much - since meta locks were always held before a data lock
(and at the same level) ordered writeout mode (the default) ensured that
flushing for the meta data lock also pushed out data anyways.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/aops.c
fs/ocfs2/cluster/tcp_internal.h
fs/ocfs2/dlmglue.c
fs/ocfs2/dlmglue.h
fs/ocfs2/file.c
fs/ocfs2/inode.c
fs/ocfs2/inode.h
fs/ocfs2/mmap.c
fs/ocfs2/super.c