[Bug 251363] use unionfs as a disk-cache for NFS [feature]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 26 01:08:02 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251363

--- Comment #7 from Gunther Schadow <raj at gusw.net> ---
Erratum: I said "I can evict from the cache by writing to the unionfs" -- I
meant by removing files from that /cache file system. I wasn't clear that in
order to mount a unionfs, you must already have the upper layer file system
mounted somewhere. And then you can access just the upper layer, where we can
clear the cache. So I do not need that UNIONFS_WHITE_NEVER option at all.

What might be cool was some kind of hook to register if the unionfs_copyfile
errors with no space left on device, we could call that evictor hook, which
then would delete from the upper layer by oldest atime.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list