diff options
author | Jan Kara <jack@suse.cz> | 2016-11-20 17:36:06 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-11-20 17:36:06 -0500 |
commit | 364443cbcfe70f927b6a0dc0d410b4d4318bc1ca (patch) | |
tree | f482d79f1f1d84467a76d8a8cc0197b4e5a02f56 /fs/ext4/ext4.h | |
parent | a3caa24b703794507bf2e0a68bdc800b90f5e70b (diff) | |
download | op-kernel-dev-364443cbcfe70f927b6a0dc0d410b4d4318bc1ca.zip op-kernel-dev-364443cbcfe70f927b6a0dc0d410b4d4318bc1ca.tar.gz |
ext4: convert DAX reads to iomap infrastructure
Implement basic iomap_begin function that handles reading and use it for
DAX reads.
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index bdf1e5e..da82de650 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -3266,6 +3266,8 @@ static inline bool ext4_aligned_io(struct inode *inode, loff_t off, loff_t len) return IS_ALIGNED(off, blksize) && IS_ALIGNED(len, blksize); } +extern struct iomap_ops ext4_iomap_ops; + #endif /* __KERNEL__ */ #define EFSBADCRC EBADMSG /* Bad CRC detected */ |