Skip to content

Commit

Permalink
[GFS2] Further updates to dir and logging code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Whitehouse committed Mar 28, 2006
1 parent 94aabbd commit 71b86f5
Show file tree
Hide file tree
Showing 15 changed files with 416 additions and 318 deletions.
1 change: 1 addition & 0 deletions fs/gfs2/bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <linux/completion.h>
#include <linux/buffer_head.h>
#include <linux/gfs2_ondisk.h>
#include <linux/crc32.h>
#include <asm/semaphore.h>

#include "gfs2.h"
Expand Down
Loading

0 comments on commit 71b86f5

Please sign in to comment.