[kata-dev] Dax enablement in 2.0

Fabiano FidĂȘncio fidencio at redhat.com
Thu Oct 1 19:04:55 UTC 2020


Snir,

Firstly, let me reply to one specific bit of your email and also add a question.

[...]

> IIUC it's currently enabled by default (qemu), can it be disabled? if
> not, is it planned to be configurable?

The current govmm codes only sets the "cache-size" when it's different
from zero:
https://github.com/intel/govmm/blob/master/qemu/qemu.go#L1256-L1258

So, setting virtio_fs_cache_size here
https://github.com/kata-containers/kata-containers/blob/2.0-dev/src/runtime/cli/config/configuration-qemu-virtiofs.toml.in#L113-L114
disables DAX.

A question I'd like to add to Snir's question is ...
Wouldn't it be safer to have `virtio_fs_cache_size = 0` as a default
value when using virtio-fs, at least till DAX gets solid?

[...]

Best Regards,
-- 
Fabiano FidĂȘncio




More information about the kata-dev mailing list