qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Per-request private data in virtio-block
@ 2024-07-10 10:08 Dmitry Fleytman
  2024-07-10 16:56 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Fleytman @ 2024-07-10 10:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: mst, stefanha

Hello QEMU-DEVEL! It's been a while…

I work on a solution for "smart" IO caching on the host side.
The configuration is virtio-block device backed by SPDK with OCF/OpenCAS
on top of remote storage.

To improve decision making for caching, I would like to have an additional
per-request contextual information from the guest side. It might include
information about process issuing an IO request, a file this request it tied
to and so on. In general, I'd like the set of collected information to be
flexible and configurable.

I searched mailing lists and other related sources and surprisingly found no
mentions of the topic of having custom per-request data in virtio rings.
This makes me think that either I'm missing an obvious way of doing this
or the concept itself is severely broken up to the point it's not even
getting discussed. There is also a possibility that I'm just missing a proper
search keywords...

I understand there might be be security implications to be considered.
Also having custom kernel patches to have a flexibility of choosing which
data to collect is probably not a viable solution.

Please share your thoughts.

I would like understand what is the right way of doing what I'm looking for.
If there are new mechanisms to be implemented in virtio or other parts of
the codebase, I'll gladly work on this for the sake of community.

Thank you,
Dmitry


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-10 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10 10:08 [RFC] Per-request private data in virtio-block Dmitry Fleytman
2024-07-10 16:56 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).