mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-04 11:06:21 +00:00
agent: change 9pfs mount option to cache=mmap
It does not give better pjdfstest results but allows us to pass ubuntu `apt update`, fedora `dnf install`, and also launch `mariadb:latest`. Fixes: #769 Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
parent
35d3c0bf5a
commit
bb513a7066
@ -56,7 +56,7 @@ var (
|
||||
kata9pDevType = "9p"
|
||||
kataBlkDevType = "blk"
|
||||
kataSCSIDevType = "scsi"
|
||||
sharedDir9pOptions = []string{"trans=virtio,version=9p2000.L", "nodev"}
|
||||
sharedDir9pOptions = []string{"trans=virtio,version=9p2000.L,cache=mmap", "nodev"}
|
||||
shmDir = "shm"
|
||||
kataEphemeralDevType = "ephemeral"
|
||||
ephemeralPath = filepath.Join(kataGuestSandboxDir, kataEphemeralDevType)
|
||||
|
Loading…
Reference in New Issue
Block a user