]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: support name cache invalidation
authorasomers <asomers@FreeBSD.org>
Sat, 1 Jun 2019 00:11:19 +0000 (00:11 +0000)
committerasomers <asomers@FreeBSD.org>
Sat, 1 Jun 2019 00:11:19 +0000 (00:11 +0000)
commit1d922c79a8c799947a2691c4321e0e32ca7372f4
tree45b943b5a0d785d0b94363ecaea1ed412a8a8edd
parent7df6408747274dd012245c6bbb6576d9337facad
fusefs: support name cache invalidation

Protocol 7.12 adds a way for the server to notify the client that it should
invalidate an entry from its name cache.  This commit implements that
mechanism.

Sponsored by: The FreeBSD Foundation
sys/fs/fuse/fuse_device.c
sys/fs/fuse/fuse_internal.c
sys/fs/fuse/fuse_internal.h
tests/sys/fs/fusefs/Makefile
tests/sys/fs/fusefs/mockfs.cc
tests/sys/fs/fusefs/mockfs.hh
tests/sys/fs/fusefs/notify.cc [new file with mode: 0644]