Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2020 01:08:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251363] use unionfs as a disk-cache for NFS [feature]
Message-ID:  <bug-251363-227-YJQU4m76Bo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251363-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251363-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251363

--- Comment #7 from Gunther Schadow <raj@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 c=
an
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251363-227-YJQU4m76Bo>