Hi all, This series connects libfuse to the iomap-enabled fuse driver in Linux to get fuse servers out of the business of handling file I/O themselves. By keeping the IO path mostly within the kernel, we can dramatically improve the speed of disk-based filesystems. This enables us to move all the filesystem metadata parsing code out of the kernel and into userspace, which means that we can containerize them for security without losing a lot of performance. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. With a bit of luck, this should all go splendidly. Comments and questions are, as always, welcome. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=fuse-iomap --- Commits in this patchset: * libfuse: add kernel gates for FUSE_IOMAP and bump libfuse api version * libfuse: add fuse commands for iomap_begin and end * libfuse: add upper level iomap commands * libfuse: add a notification to add a new device to iomap * libfuse: add iomap ioend low level handler * libfuse: add upper level iomap ioend commands * libfuse: add a reply function to send FUSE_ATTR_* to the kernel * libfuse: connect high level fuse library to fuse_reply_attr_iflags * libfuse: add FUSE_IOMAP_DIRECTIO * libfuse: add FUSE_IOMAP_FILEIO * libfuse: allow discovery of the kernel's iomap capabilities * libfuse: add lower level iomap_config implementation * libfuse: add upper level iomap_config implementation * libfuse: add strictatime/lazytime mount options --- include/fuse.h | 41 +++++ include/fuse_common.h | 118 ++++++++++++++ include/fuse_kernel.h | 118 +++++++++++++- include/fuse_lowlevel.h | 207 +++++++++++++++++++++++- lib/fuse.c | 408 ++++++++++++++++++++++++++++++++++++++++++----- lib/fuse_lowlevel.c | 294 ++++++++++++++++++++++++++++++++-- lib/fuse_versionscript | 9 + lib/meson.build | 2 lib/mount.c | 18 ++ 9 files changed, 1147 insertions(+), 68 deletions(-)