I was reading a thread where @wbumiller mentioned that using O_DIRECT with mdraid can result in inconsistent arrays. https://forum.proxmox.com/threads/proxmox-4-4-virtio_scsi-regression.31471/page-2#post-159574
On DRBD we have the same issue where some cache types can result in out of sync blocks.
It would be nice if we could specify what cache methods cannot be used by a particular storage. Someone using mdraid could then disable directsync for the mdraid storage to prevent VM disks from using that method.
Another use case would be disabling all but the specific cache method you want all mvs on that storage to use. Example: only allow writeback for CEPH storage.
On DRBD we have the same issue where some cache types can result in out of sync blocks.
It would be nice if we could specify what cache methods cannot be used by a particular storage. Someone using mdraid could then disable directsync for the mdraid storage to prevent VM disks from using that method.
Another use case would be disabling all but the specific cache method you want all mvs on that storage to use. Example: only allow writeback for CEPH storage.