summaryrefslogtreecommitdiff
path: root/fs/erofs/Kconfig
diff options
context:
space:
mode:
authorHuang Jianan <huangjianan@oppo.com>2021-08-05 08:35:59 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2021-08-10 00:14:42 +0800
commita08e67a0280215f74eccf14fda81dd7fed6596ba (patch)
tree604222ed7dd17b0c74c35b63f51334d0b7c0a3b8 /fs/erofs/Kconfig
parentc500bee1c5b2f1d59b1081ac879d73268ab0ff17 (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/erofs/Kconfig')
-rw-r--r--fs/erofs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/erofs/Kconfig b/fs/erofs/Kconfig
index 906af0c1998c..14b747026742 100644
--- a/fs/erofs/Kconfig
+++ b/fs/erofs/Kconfig
@@ -3,6 +3,7 @@
config EROFS_FS
tristate "EROFS filesystem support"
depends on BLOCK
+ select FS_IOMAP
select LIBCRC32C
help
EROFS (Enhanced Read-Only File System) is a lightweight