diff --git a/src/init.c b/src/init.c index ceb4b4b3..8d4fed87 100644 --- a/src/init.c +++ b/src/init.c @@ -464,8 +464,12 @@ static int hyper_setup_shared(struct hyper_pod *pod) return -1; } + // Adding 524288 (512K) value to msize, provides + // an enhancement in I/O storage operations. + // This value was tested using different block sizes + // and I/O operations. if (mount(pod->share_tag, SHARED_DIR, "9p", - MS_MGC_VAL| MS_NODEV, "trans=virtio") < 0) { + MS_MGC_VAL| MS_NODEV, "trans=virtio,msize=524288") < 0) { perror("fail to mount shared dir"); return -1;