From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWVxN-0006yK-Qa for qemu-devel@nongnu.org; Mon, 31 Aug 2015 16:45:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWVxM-0005xL-Hq for qemu-devel@nongnu.org; Mon, 31 Aug 2015 16:45:33 -0400 Date: Mon, 31 Aug 2015 16:45:23 -0400 From: Jeff Cody Message-ID: <20150831204523.GO11016@localhost.localdomain> References: <1440671441-7978-1-git-send-email-pl@kamp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1440671441-7978-1-git-send-email-pl@kamp.de> Subject: Re: [Qemu-devel] [PATCH V3] block/nfs: cache allocated filesize for read-only files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: kwolf@redhat.com, qemu-devel@nongnu.org, qemu-block@nongnu.org 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 > --- > 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