kata-irc-bot | <bergwolf> @feng.wang Are you using DAX for sharing RO data or for writing too? | 02:31 |
---|---|---|
kata-irc-bot | <bergwolf> It works well for RO data sharing IMO. For writes, there is a known issue that kvm async page fault cannot handle errors so ENOSPC cannot be properly handled, because it only get detected in page_mkwrite in DAX case. | 02:36 |
kata-irc-bot | <bergwolf> One possible workaround is to preallocate spaces in virtiofsd when setting up dax mapping for a file range, but it might end up wasting a lot of space if the preallocated space is not used. | 02:38 |
kata-irc-bot | <feng.wang> @bergwolf Thanks for pointing out the caveat. We’ll keep it in mind. What are the failure consequences of doing write with DAX? | 03:37 |
kata-irc-bot | <bergwolf> If async page fault fails constantly, guest kernel will just hang | 03:41 |
kata-irc-bot | <lardewey> Is there a flag or a configuration I am missing which would cause virtiofsd to crash, or has anyone overcome this issue before? ```containerd[40602]: time="2021-12-03T16:56:14.092224639Z" level=warning msg="The virtiofsd had stopped" name=containerd-shim-v2 pid=40689 sandbox=test-container source=virtcontainers/hypervisor subsystem=qemu``` | 17:23 |
kata-irc-bot | <eric.ernst> maybe? :) | 17:24 |
kata-irc-bot | <eric.ernst> How’re you running / how often you see this? | 17:24 |
kata-irc-bot | <lardewey> This is the first time I have run into it. I am trying a reboot of the machine to see if it got into a bad state. | 17:26 |
kata-irc-bot | <lardewey> I would be happy to share my configs after reboot finishes | 17:27 |
kata-irc-bot | <lardewey> ```# /etc/containerd/config.toml [plugins.cri.containerd] no_pivot = false [plugins.cri.containerd.runtimes.kata] runtime_type = "io.containerd.kata.v2" [plugins.cri.containerd.runtimes.kata.options] ConfigPath = "/etc/kata-containers/config.toml"``` ```# Command Being run sudo ctr run --runtime io.containerd.run.kata.v2 -t --rm docker.io/library/busybox:latest test-container hello sh``` | 17:36 |
kata-irc-bot | <lardewey> @eric.ernst ^^ Let me know if anything else would be helpful, and thank you again for your help! | 17:36 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!