cloud-hypervisor / fuse-backend-rs

Rust crate for implementing FUSE backends
Apache License 2.0
129 stars 63 forks source link

Filter out O_DIRECT at open_inode #192

Closed zyfjeff closed 2 months ago

zyfjeff commented 2 months ago

Filter out the libc::O_DIRECT flag at open_inode. Also, add the "allow_direct_io" flag to allow users to make the file system to honor the flag instead.

reference virtiofsd 894361d1e83c23460ce9aaadc40a6af598a790d4