commit | d118a09d16d34fbbd5877c7930ffe317bed5feba | [log] [tgz] |
---|---|---|
author | Keiichi Watanabe <keiichiw@chromium.org> | Wed Jun 21 09:19:20 2023 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 04 04:57:51 2023 |
tree | a78d1e292a620be04a0ac0014b96db605888f6b7 | |
parent | b3b0e3dadb6ced148e748ba7c31903d9d1612ed5 [diff] |
devices: virtio: fs: Support negative_timeout Support negative_timeout to allow the guest cache negative lookup results. This is equivalent of libfuse's negative_timeout flag. As discussed in [2], to allow FUSE client to cache negative lookup, the FUSE server needs to return a successful response with nodeid=0 instead of -ENOENT. Then, the guest fs driver caches the negative dentry and returns ENOENT to the guest userspace eventually. [1]: https://libfuse.github.io/doxygen/structfuse__config.html#ab4205f7343afe6e20edfbfb64cb90248 [2]: https://lore.kernel.org/lkml/20230620151328.1637569-1-keiichiw@chromium.org/T/#m9cbe21daf6c426465c9a2da42ac7981c882dc29f BUG=b:285101684 TEST=TODO: ARCVM performance test Change-Id: I8daae03dbfb441db75757f2aa77e42fd0d236801 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4630879 Reviewed-by: Takaya Saeki <takayas@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the ChromeOS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on ChromeOS devices.