Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dm: block_if: support bypassing the Service VM's page cache
This patch adds an acrn-dm option `nocache` to bypass the Service VM's page cache. - By default, the Service VM's page cache is utilized. - If `nocache` is specified in acrn-dm parameters, the Service VM's page cache would be bypassed (opening the file/block with O_DIRECT flag). Example to bypass the Service VM's page cache: `add_virtual_device 5 virtio-blk iothread,mq=2,/dev/nvme2n1,writeback,nocache` Tracked-On: projectacrn#8612 Signed-off-by: Shiqing Gao <[email protected]> Acked-by: Wang, Yu1 <[email protected]>
- Loading branch information