From e98ce4a2c681855b6b4f2c1298484f60014e4b88 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Tue, 25 Jun 2019 17:11:10 -0700 Subject: Add TODO reminder to remove tmpfs caching options Updates #179 PiperOrigin-RevId: 255081565 --- pkg/sentry/fs/tmpfs/fs.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/sentry/fs/tmpfs/fs.go b/pkg/sentry/fs/tmpfs/fs.go index a5fcdf969..881dd89b0 100644 --- a/pkg/sentry/fs/tmpfs/fs.go +++ b/pkg/sentry/fs/tmpfs/fs.go @@ -133,6 +133,9 @@ func (f *Filesystem) Mount(ctx context.Context, device string, flags fs.MountSou } // Construct a mount which will follow the cache options provided. + // + // TODO(gvisor.dev/issue/179): There should be no reason to disable + // caching once bind mounts are properly supported. var msrc *fs.MountSource switch options[cacheKey] { case "", cacheAll: -- cgit v1.2.3