mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix: allow set server-disk cache mode as directsync
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user