diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2021-09-20 22:31:19 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-09-20 22:34:01 -0700 |
commit | e819029f3ad059bfc1635b7f2a196c332fa7532f (patch) | |
tree | 38198d235ae53172514b69eea98d51d46624a9ff /runsc/container/container.go | |
parent | 3fe8d7ecf193b4efd099ceabe2d39a119ffe4fbc (diff) |
[lisa] Plumb lisafs through runsc.
lisafs is only supported in VFS2. Added a runsc flag which enables lisafs.
When the flag is enabled, the gofer process and the client communicate using
lisafs protocol instead of 9P.
Added a filesystem option in fsimpl/gofer which indicates if lisafs is being
used. That will be used to gate lisafs on the gofer client.
Note that this change does not make the gofer client use lisafs just yet.
Updates #5465
PiperOrigin-RevId: 397917844
Diffstat (limited to 'runsc/container/container.go')
-rw-r--r-- | runsc/container/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/container/container.go b/runsc/container/container.go index 50b0dd5e7..9c0004753 100644 --- a/runsc/container/container.go +++ b/runsc/container/container.go @@ -917,7 +917,7 @@ func (c *Container) createGoferProcess(spec *specs.Spec, conf *config.Config, bu // Add root mount and then add any other additional mounts. mountCount := 1 for _, m := range spec.Mounts { - if specutils.Is9PMount(m, conf.VFS2) { + if specutils.IsGoferMount(m, conf.VFS2) { mountCount++ } } |