Home
last modified time | relevance | path

Searched hist:"31 be8a2a" (Results 1 – 2 of 2) sorted by relevance

/qemu/block/
H A Dfile-posix.c31be8a2a Fri Apr 27 16:23:12 GMT 2018 Stefan Hajnoczi <stefanha@redhat.com> block/file-posix: add x-check-page-cache=on|off option

mincore(2) checks whether pages are resident. Use it to verify that
page cache has been dropped.

You can trigger a verification failure by mmapping the image file from
another process that loads a byte from a page, forcing it to become
resident. bdrv_co_invalidate_cache() will fail while that process is
alive.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20180427162312.18583-3-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
/qemu/qapi/
H A Dblock-core.json31be8a2a Fri Apr 27 16:23:12 GMT 2018 Stefan Hajnoczi <stefanha@redhat.com> block/file-posix: add x-check-page-cache=on|off option

mincore(2) checks whether pages are resident. Use it to verify that
page cache has been dropped.

You can trigger a verification failure by mmapping the image file from
another process that loads a byte from a page, forcing it to become
resident. bdrv_co_invalidate_cache() will fail while that process is
alive.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20180427162312.18583-3-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>