mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
c2d0ad00d9
This patch implements basic DAX support. mmap() is not implemented yet and will come in later patches. This patch looks into implemeting read/write. We make use of interval tree to keep track of per inode dax mappings. Do not use dax for file extending writes, instead just send WRITE message to daemon (like we do for direct I/O path). This will keep write and i_size change atomic w.r.t crash. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com> Signed-off-by: Peng Tao <tao.peng@linux.alibaba.com> Cc: Dave Chinner <david@fromorbit.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config FUSE_FS
|
|
tristate "FUSE (Filesystem in Userspace) support"
|
|
select FS_POSIX_ACL
|
|
help
|
|
With FUSE it is possible to implement a fully functional filesystem
|
|
in a userspace program.
|
|
|
|
There's also a companion library: libfuse2. This library is available
|
|
from the FUSE homepage:
|
|
<https://github.com/libfuse/>
|
|
although chances are your distribution already has that library
|
|
installed if you've installed the "fuse" package itself.
|
|
|
|
See <file:Documentation/filesystems/fuse.rst> for more information.
|
|
See <file:Documentation/Changes> for needed library/utility version.
|
|
|
|
If you want to develop a userspace FS, or if you want to use
|
|
a filesystem based on FUSE, answer Y or M.
|
|
|
|
config CUSE
|
|
tristate "Character device in Userspace support"
|
|
depends on FUSE_FS
|
|
help
|
|
This FUSE extension allows character devices to be
|
|
implemented in userspace.
|
|
|
|
If you want to develop or use a userspace character device
|
|
based on CUSE, answer Y or M.
|
|
|
|
config VIRTIO_FS
|
|
tristate "Virtio Filesystem"
|
|
depends on FUSE_FS
|
|
select VIRTIO
|
|
help
|
|
The Virtio Filesystem allows guests to mount file systems from the
|
|
host.
|
|
|
|
If you want to share files between guests or with the host, answer Y
|
|
or M.
|
|
|
|
config FUSE_DAX
|
|
bool "Virtio Filesystem Direct Host Memory Access support"
|
|
default y
|
|
select INTERVAL_TREE
|
|
depends on VIRTIO_FS
|
|
depends on FS_DAX
|
|
depends on DAX_DRIVER
|
|
help
|
|
This allows bypassing guest page cache and allows mapping host page
|
|
cache directly in guest address space.
|
|
|
|
If you want to allow mounting a Virtio Filesystem with the "dax"
|
|
option, answer Y.
|