How to VOP_RECLAIM on demand?

Conrad Meyer cem at freebsd.org
Mon Jun 3 20:55:41 UTC 2019


It could be done with a sysctl, or even an ioctl on /dev/fuse
(although, there is nothing FUSE-specific about the idea for a test
utility).  So I'd just add a sysctl for that functionality.

Best,
Conrad

On Mon, Jun 3, 2019 at 1:39 PM Alan Somers <asomers at freebsd.org> wrote:
>
> It would be useful if I could trigger VOP_RECLAIM on demand for a
> certain file or pathname.  There are some edge cases in fusefs that I
> can't test otherwise.  But I don't see any way to do it.  Is such a
> thing possible?  Would it be worth adding a special syscall for this
> purpose?  It could be guarded with INVARIANTS so it wouldn't affect
> production builds.
> -Alan
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"


More information about the freebsd-hackers mailing list