Mike Sun
2009-Jan-08 03:25 UTC
[Xen-devel] Is noncached_write() in xc_domain_save() actually doing what it says?
Hi, I''m curious if noncached_write() (from xc_domain_save.c) is actually doing writes without adding to the file system cache. From what I see, it''s doing a write_exact(), then calling discard_file_cache() without a flush, and ostensibly relying on the posix_fadvise64(..., POSIX_FADV_DONTNEED) call to remove those written pages from the file cache... but from what I understand, the POSIX_FADV_DONTNEED call won''t be able to remove those pages unless they have already been flushed to disk. Am I misunderstanding this? Thanks, Mike _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel