fix: allow set server-disk cache mode as directsync

This commit is contained in:
Qiu Jian
2021-08-10 00:24:39 +08:00
parent caa15ce0f8
commit 4fc194a1b7
+1 -1
View File
@@ -78,7 +78,7 @@ func init() {
SERVER string `help:"ID or Name of server"`
DISK string `help:"ID or Name of Disk"`
Driver string `help:"Driver of vDisk" choices:"virtio|ide|scsi|pvscsi"`
Cache string `help:"Cache mode of vDisk" choices:"writethrough|none|writeback"`
Cache string `help:"Cache mode of vDisk" choices:"writethrough|none|writeback|directsync"`
Aio string `help:"Asynchronous IO mode of vDisk" choices:"native|threads"`
Index int64 `help:"Index of vDisk" default:"-1"`
}