]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/gfs2/log.c
[GFS2] Further updates to dir and logging code
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 28 Mar 2006 19:14:04 +0000 (14:14 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 28 Mar 2006 19:14:04 +0000 (14:14 -0500)
commit71b86f562b5eb6f94ea00bba060caa64d0137969
tree63d982e09a9cb934fe656afe115031c0a9dc5e4a
parent94aabbd99370f738da4f6cb4ea0b94cd9024002f
[GFS2] Further updates to dir and logging code

This reduces the size of the directory code by about 3k and gets
readdir() to use the functions which were introduced in the previous
directory code update.

Two memory allocations are merged into one. Eliminates zeroing of some
buffers which were never used before they were initialised by
other data.

There is still scope for further improvement in the directory code.

On the logging side, a hand created mutex has been replaced by a
standard Linux mutex in the log allocation code.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
15 files changed:
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/dir.h
fs/gfs2/incore.h
fs/gfs2/inode.c
fs/gfs2/log.c
fs/gfs2/ops_dentry.c
fs/gfs2/ops_export.c
fs/gfs2/ops_file.c
fs/gfs2/ops_fstype.c
fs/gfs2/ops_inode.c
fs/gfs2/recovery.c
fs/gfs2/super.c
fs/gfs2/util.c
fs/gfs2/util.h