diff options
author | Peter Lieven <pl@kamp.de> | 2016-05-19 14:48:02 +0200 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2016-06-28 22:52:45 -0400 |
commit | 38f8d5e0251ae7d8257cf099cb3e5a375ef60378 (patch) | |
tree | 4452acd1ef431416973b508cb4367145e7bfb83e /tests | |
parent | 947eb2030eef73b7a66167a6244b11eeb4f109ff (diff) |
block/nfs: refuse readahead if cache.direct is on
if we open a NFS export with disabled cache we should refuse
the readahead feature as it will cache data inside libnfs.
If a export was opened with readahead enabled it should
futher not be allowed to disable the cache while running.
Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Lieven <pl@kamp.de>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Message-id: 1463662083-20814-2-git-send-email-pl@kamp.de
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions