From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJjyA-0004sH-27 for qemu-devel@nongnu.org; Tue, 19 Aug 2014 10:01:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJjy2-0003h8-JZ for qemu-devel@nongnu.org; Tue, 19 Aug 2014 10:01:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJjy2-0003h1-CU for qemu-devel@nongnu.org; Tue, 19 Aug 2014 10:00:54 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7JE0q38026505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 19 Aug 2014 10:00:53 -0400 Date: Tue, 19 Aug 2014 16:00:49 +0200 From: Kevin Wolf Message-ID: <20140819140049.GG4638@noname.redhat.com> References: <1408392454-22044-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1408392454-22044-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/4] qcow2: Allow runtime specification of cache sizes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: qemu-devel@nongnu.org, Stefan Hajnoczi Am 18.08.2014 um 22:07 hat Max Reitz geschrieben: > Currently, the metadata cache size is only tunable on compile time > through macros. However, some users may want to use the minimal cache > size (for whatever reason) and others may want to increase the cache > size because they have enough memory and want to increase performance. > > This series adds runtime options for setting the cache size in bytes > (which is an easily comprehensible unit) in various ways (by setting > each cache explicitly or the total size). > > > This series (patch 2) depends on Markus' series > "[PATCH v2 0/4] block: Use g_new() & friends more". > > > v2: > - Patch 2: c->entries may be NULL in the fail path; respect that case Thanks, applied all to the block branch (with patch 1 changed as commented there). Kevin