this adds support for the upcoming libnfs cachepage to Qemu. While at it neglect to use readahead if cache.direct is on.
v1->v2: - move the readahead fix to Patch 1 and CC qemu-stable
- check for changed cache settings in bdrv_reopen_prepare [Jeff]
Peter Lieven (2):
block/nfs: refuse readahead if cache.direct is on
block/nfs: add support for libnfs pagecache
block/nfs.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 51 insertions(+), 4 deletions(-)
--
1.9.1
