diff options
author | Jan Kara <jack@suse.cz> | 2016-11-20 23:36:06 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-11-20 23:36:06 +0100 |
commit | 364443cbcfe70f927b6a0dc0d410b4d4318bc1ca (patch) | |
tree | f482d79f1f1d84467a76d8a8cc0197b4e5a02f56 /fs/ext4/ext4.h | |
parent | ext4: only set S_DAX if DAX is really supported (diff) | |
download | linux-364443cbcfe70f927b6a0dc0d410b4d4318bc1ca.tar.xz linux-364443cbcfe70f927b6a0dc0d410b4d4318bc1ca.zip |
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 bdf1e5ee8642..da82de650350 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 */ |