Posted Dec 20, 2010 14:32 UTC (Mon) by rilder (subscriber, #59804)
In reply to: Typo by quotemstr
Parent article: Unmapped page cache control
I don't think that is possible -- to be able to differentiate requests from the host and the guest to serve uncached to guest and cached to host -- if this is possible then it is great.
Posted Dec 20, 2010 14:39 UTC (Mon) by quotemstr (subscriber, #45331)
[Link]
It's not only possible, but trivial: IO from guests goes through the hypervisor, which can use simple uncached file IO (e.g., O_DIRECT) to service these requests. Host IO goes through the normal path and uses normal buffering.
Interesting
Posted Jan 3, 2011 5:17 UTC (Mon) by balbir_singh (subscriber, #34142)
[Link]