summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2019-12-11 10:23:54 -0800
committergVisor bot <gvisor-bot@google.com>2019-12-11 10:37:35 -0800
commit1643224af0f099d55d7ae7934606ec1987658dfc (patch)
tree324e391d54f6bee203dca6932a134a73958b7c61
parent2e3b9b0a68d8f191d061008feda6e4a4ce202a78 (diff)
Finish incomplete comment.
PiperOrigin-RevId: 285012278
-rw-r--r--runsc/fsgofer/fsgofer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/fsgofer/fsgofer.go b/runsc/fsgofer/fsgofer.go
index c9add64ec..b59e1a70e 100644
--- a/runsc/fsgofer/fsgofer.go
+++ b/runsc/fsgofer/fsgofer.go
@@ -199,6 +199,7 @@ func (a *attachPoint) makeQID(stat syscall.Stat_t) p9.QID {
// The reason that the file is not opened initially as read-write is for better
// performance with 'overlay2' storage driver. overlay2 eagerly copies the
// entire file up when it's opened in write mode, and would perform badly when
+// multiple files are only being opened for read (esp. startup).
type localFile struct {
p9.DefaultWalkGetAttr