diff options
author | Huang Jianan <huangjianan@oppo.com> | 2021-08-05 08:35:59 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2021-08-10 00:14:42 +0800 |
commit | a08e67a0280215f74eccf14fda81dd7fed6596ba (patch) | |
tree | 604222ed7dd17b0c74c35b63f51334d0b7c0a3b8 /fs/kernfs/dir.c | |
parent | c500bee1c5b2f1d59b1081ac879d73268ab0ff17 (diff) |
erofs: iomap support for non-tailpacking DIO
Add iomap support for non-tailpacking uncompressed data in order to
support DIO and DAX.
Direct I/O is useful in certain scenarios for uncompressed files.
For example, double pagecache can be avoid by direct I/O when
loop device is used for uncompressed files containing upper layer
compressed filesystem.
This adds iomap DIO support for non-tailpacking cases first and
tail-packing inline files are handled in the follow-up patch.
Link: https://lore.kernel.org/r/20210805003601.183063-2-hsiangkao@linux.alibaba.com
Cc: linux-fsdevel@vger.kernel.org
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Huang Jianan <huangjianan@oppo.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/kernfs/dir.c')
0 files changed, 0 insertions, 0 deletions