qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH V3] block/nfs: cache allocated filesize for read


From: Jeff Cody
Subject: Re: [Qemu-block] [PATCH V3] block/nfs: cache allocated filesize for read-only files
Date: Mon, 31 Aug 2015 16:45:23 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Aug 27, 2015 at 12:30:41PM +0200, 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 <address@hidden>
> ---
> v1->v2: update cache on reopen_prepare [Max]
> v2->v3: use cache only if cache.direct=off [Max]
> 

Thanks,

Applied to my block branch:

git git://github.com/codyprime/qemu-kvm-jtc.git block

-Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]