ocfs2: Store the ocfs2_caching_info on ocfs2_extent_tree.
authorJoel Becker <joel.becker@oracle.com>
Fri, 13 Feb 2009 01:32:34 +0000 (17:32 -0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 4 Sep 2009 23:07:51 +0000 (16:07 -0700)
commitd9a0a1f83bf083b55b3c1f16efddecc31abace61
tree7e75311f678fb943f2a0b14c91a0877fd7813efe
parent0cf2f7632b1789b811ab20b611c4156e6de2b055
ocfs2: Store the ocfs2_caching_info on ocfs2_extent_tree.

What do we cache?  Metadata blocks.  What are most of our non-inode metadata
blocks?  Extent blocks for our btrees.  struct ocfs2_extent_tree is the
main structure for managing those.  So let's store the associated
ocfs2_caching_info there.

This means that ocfs2_et_root_journal_access() doesn't need struct inode
anymore, and any place that has an et can refer to et->et_ci instead of
INODE_CACHE(inode).

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/alloc.h