On Tue, 08/26 15:31, Zhang Haoyu wrote: > Can we use the queued io data as caches, > io write will directly return and tell the guest the io is completed after > the io is enqueued, > better user experience for burst io, > and io-read will firstly search the io queue, if matched data found, directly > get the data from the queue, > if not, then read the data from the disk or host page cache. > Any ideas?
Guest kernel already has a page cache that exactly does this, also keeping a copy of guest request data in qemu may hurt the bandwidth in some cases. Fam