]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: raise protocol level to 7.15
authorasomers <asomers@FreeBSD.org>
Thu, 20 Jun 2019 23:32:25 +0000 (23:32 +0000)
committerasomers <asomers@FreeBSD.org>
Thu, 20 Jun 2019 23:32:25 +0000 (23:32 +0000)
commit0ff12be62e6e3bd442e58c617851e7da5ba08920
tree56fef042066368804694df14215a3aeff9143c70
parent4b63e5c1ad36adce707fc933282fa68ed0685027
fusefs: raise protocol level to 7.15

This protocol level adds two new features: the ability for the server to
store or retrieve data into/from the client's cache.  But the messages
aren't defined soundly since they identify the file only by its inode,
without the generation number.  So it's possible for them to modify the
wrong file's cache.  Also, I don't know of any file systems in ports that
use these messages.  So I'm not implementing them.  I did add a (disabled)
test for the store message, however.

Sponsored by: The FreeBSD Foundation
sys/fs/fuse/fuse_device.c
sys/fs/fuse/fuse_kernel.h
tests/sys/fs/fusefs/mockfs.cc
tests/sys/fs/fusefs/mockfs.hh
tests/sys/fs/fusefs/notify.cc