Merge pull request #57 from feiskyer/fix-cache

Do not cache for shared volumes
This commit is contained in:
Xu Wang
2016-03-29 11:34:50 +08:00
+1 -1
View File
@@ -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;