ocfs2: Pass struct ocfs2_caching_info to the journal functions.
authorJoel Becker <joel.becker@oracle.com>
Fri, 13 Feb 2009 00:41:25 +0000 (16:41 -0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 4 Sep 2009 23:07:50 +0000 (16:07 -0700)
commit0cf2f7632b1789b811ab20b611c4156e6de2b055
tree34f7cf3584e4fa2bc187d4b75ce052cb98739b0e
parent292dd27ec76b96cebcef576f330ab121f59ccf05
ocfs2: Pass struct ocfs2_caching_info to the journal functions.

The next step in divorcing metadata I/O management from struct inode is
to pass struct ocfs2_caching_info to the journal functions.  Thus the
journal locks a metadata cache with the cache io_lock function.  It also
can compare ci_last_trans and ci_created_trans directly.

This is a large patch because of all the places we change
ocfs2_journal_access..(handle, inode, ...) to
ocfs2_journal_access..(handle, INODE_CACHE(inode), ...).

Signed-off-by: Joel Becker <joel.becker@oracle.com>
17 files changed:
fs/ocfs2/alloc.c
fs/ocfs2/aops.c
fs/ocfs2/dir.c
fs/ocfs2/dlmglue.c
fs/ocfs2/file.c
fs/ocfs2/inode.c
fs/ocfs2/journal.c
fs/ocfs2/journal.h
fs/ocfs2/localalloc.c
fs/ocfs2/namei.c
fs/ocfs2/ocfs2.h
fs/ocfs2/quota_global.c
fs/ocfs2/quota_local.c
fs/ocfs2/resize.c
fs/ocfs2/suballoc.c
fs/ocfs2/uptodate.h
fs/ocfs2/xattr.c