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>
Showing
- fs/ocfs2/aops.c 2 additions, 42 deletionsfs/ocfs2/aops.c
- fs/ocfs2/cluster/tcp_internal.h 4 additions, 1 deletionfs/ocfs2/cluster/tcp_internal.h
- fs/ocfs2/dlmglue.c 0 additions, 104 deletionsfs/ocfs2/dlmglue.c
- fs/ocfs2/dlmglue.h 1 addition, 10 deletionsfs/ocfs2/dlmglue.h
- fs/ocfs2/file.c 15 additions, 40 deletionsfs/ocfs2/file.c
- fs/ocfs2/inode.c 0 additions, 6 deletionsfs/ocfs2/inode.c
- fs/ocfs2/inode.h 0 additions, 1 deletionfs/ocfs2/inode.h
- fs/ocfs2/mmap.c 0 additions, 9 deletionsfs/ocfs2/mmap.c
- fs/ocfs2/super.c 0 additions, 1 deletionfs/ocfs2/super.c
Loading
Please register or sign in to comment