On 27.08.2015 12:30, Peter Lieven wrote: > If the file is readonly its not expected to grow so > save the blocking call to nfs_fstat_async and use > the value saved at connection time. Also important > the monitor (and thus the main loop) will not hang > if block device info is queried and the NFS share > is unresponsive. > > Signed-off-by: Peter Lieven <p...@kamp.de> > --- > v1->v2: update cache on reopen_prepare [Max] > v2->v3: use cache only if cache.direct=off [Max] > > block/nfs.c | 36 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature