Add FUSE_CAP_DIRECT_IO_ALLOW_MMAP and use in passthrough_hp
authorBernd Schubert <bschubert@ddn.com>
Mon, 4 Dec 2023 14:58:45 +0000 (15:58 +0100)
committerNikolaus Rath <Nikolaus@rath.org>
Wed, 10 Jan 2024 20:59:03 +0000 (20:59 +0000)
commit22741f5582ea003c3518aff76e8df6561403f88b
tree970e1748d6f893c8fd465a6692c68acfade28de9
parent0392acbb2340066171d372b483f059941095c7f9
Add FUSE_CAP_DIRECT_IO_ALLOW_MMAP and use in passthrough_hp

This is not called FUSE_CAP_DIRECT_IO_RELAX, as the kernel flag
FUSE_DIRECT_IO_RELAX is supposed to be renamed to
FUSE_DIRECT_IO_ALLOW_MMAP. The corresponding kernel patches just
did not land yet.
example/passthrough_hp.cc
include/fuse_common.h
lib/fuse_lowlevel.c