mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-09-06 13:41:44 +00:00
add cache parameter for 9p mount
Signed-off-by: Wang Xu <gnawux@gmail.com>
This commit is contained in:
+1
-1
@@ -518,7 +518,7 @@ static int hyper_setup_shared(struct hyper_pod *pod)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (mount(pod->tag, "/tmp/hyper/shared", "9p", MS_MGC_VAL, "trans=virtio") < 0) {
|
||||
if (mount(pod->tag, "/tmp/hyper/shared", "9p", MS_MGC_VAL, "trans=virtio,cache=loose") < 0) {
|
||||
perror("fail to mount 9p shared dir");
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user