ocfs2: Read support for inline data
authorMark Fasheh <mark.fasheh@oracle.com>
Fri, 7 Sep 2007 21:05:51 +0000 (14:05 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 12 Oct 2007 18:54:39 +0000 (11:54 -0700)
commit6798d35a31c413bbb3f83bbaa844bd2598168ccc
treeff3e2928ebdfda06f08605d9dbc7002f0413e731
parent15b1e36bdb487d67ef924a37b0967453143be53a
ocfs2: Read support for inline data

This hooks up ocfs2_readpage() to populate a page with data from an inode
block. Direct IO reads from inline data are modified to fall back to
buffered I/O. Appropriate checks are also placed in the extent map code to
avoid reading an extent list when inline data might be stored.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Reviewed-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/aops.c
fs/ocfs2/extent_map.c