Date: Mon, 3 Jun 2019 13:55:27 -0700 From: Conrad Meyer <cem@freebsd.org> To: Alan Somers <asomers@freebsd.org> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: How to VOP_RECLAIM on demand? Message-ID: <CAG6CVpWJY092cN3H7Y9bY7c_nkJc%2BANGKAoWnQ5B7dTTwWnX4Q@mail.gmail.com> In-Reply-To: <CAOtMX2h9zdwczP3ZEawHHQgnutu6G9kqvHOO9dCW%2BX-N1zoYkw@mail.gmail.com> References: <CAOtMX2h9zdwczP3ZEawHHQgnutu6G9kqvHOO9dCW%2BX-N1zoYkw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpWJY092cN3H7Y9bY7c_nkJc%2BANGKAoWnQ5B7dTTwWnX4Q>