From 6ff04bf83d9a6cbc791307fd5aa7d77a3a3515d5 Mon Sep 17 00:00:00 2001 From: feisky Date: Mon, 28 Mar 2016 17:45:00 +0800 Subject: [PATCH] Do not cache for shared volumes --- src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.c b/src/init.c index ebefe0e..b3acba4 100644 --- a/src/init.c +++ b/src/init.c @@ -544,7 +544,7 @@ static int hyper_setup_shared(struct hyper_pod *pod) } if (mount(pod->share_tag, "/tmp/hyper/shared", "9p", - MS_MGC_VAL| MS_NODEV, "trans=virtio,cache=loose") < 0) { + MS_MGC_VAL| MS_NODEV, "trans=virtio") < 0) { perror("fail to mount shared dir"); return -1;