]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: Make fuse file systems NFS-exportable
authorAlan Somers <asomers@FreeBSD.org>
Thu, 23 May 2019 00:44:01 +0000 (00:44 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Thu, 23 May 2019 00:44:01 +0000 (00:44 +0000)
commite5b50fe736adf65fa6b5c60c1384b3d3e2785db1
tree6e8f1dc3150f24116d632bc65f6c4f46b9782bdc
parent2013b723d3189b15963ebfd4b7790942eada5139
fusefs: Make fuse file systems NFS-exportable

This commit adds the VOPs needed by userspace NFS servers (tested with
net/unfs3).  More work is needed to make the in-kernel nfsd work, because of
its stateless nature.  It doesn't open files prior to doing I/O.  Also, the
NFS-related VOPs currently ignore the entry cache.

Sponsored by: The FreeBSD Foundation
sys/fs/fuse/fuse_internal.c
sys/fs/fuse/fuse_ipc.h
sys/fs/fuse/fuse_node.c
sys/fs/fuse/fuse_node.h
sys/fs/fuse/fuse_vfsops.c
sys/fs/fuse/fuse_vnops.c
tests/sys/fs/fusefs/Makefile
tests/sys/fs/fusefs/nfs.cc [new file with mode: 0644]
tests/sys/fs/fusefs/readdir.cc
tests/sys/fs/fusefs/utils.cc
tests/sys/fs/fusefs/utils.hh