]> git.baikalelectronics.ru Git - kernel.git/commit
[GFS2] Remove useless i_cache from inodes
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 15 Oct 2007 15:29:05 +0000 (16:29 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:07:16 +0000 (08:07 +0000)
commitfb2c4824196446bbc025758bff3e05999eb1adb4
treecda8095f9befd25cbfaf5f63a4c8ca26870d45ca
parentd01d0fa0997a7c8a6e3aaeb52ee5a8e58e946853
[GFS2] Remove useless i_cache from inodes

The i_cache was designed to keep references to the indirect blocks
used during block mapping so that they didn't have to be looked
up continually. The idea failed because there are too many places
where the i_cache needs to be freed, and this has in the past been
the cause of many bugs.

In addition there was no performance benefit being gained since the
disk blocks in question were cached anyway. So this patch removes
it in order to simplify the code to prepare for other changes which
would otherwise have had to add further support for this feature.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glops.c
fs/gfs2/incore.h
fs/gfs2/inode.c
fs/gfs2/log.c
fs/gfs2/log.h
fs/gfs2/main.c
fs/gfs2/meta_io.c
fs/gfs2/meta_io.h
fs/gfs2/ops_address.c
fs/gfs2/super.c