Received: from eggs.gnu.org ([2001:4830:134:3::10]:45745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fniea-00065s-Lw for qemu-devel@nongnu.org; Thu, 09 Aug 2018 06:58:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fnieW-0006tR-Ft for qemu-devel@nongnu.org; Thu, 09 Aug 2018 06:58:52 -0400 From: Alberto Garcia In-Reply-To: References: <20180808221138.5770-1-lbloch@janustech.com> <20180808221138.5770-5-lbloch@janustech.com> Date: Thu, 09 Aug 2018 12:58:44 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v4 4/5] qcow2: Set the default cache-clean-interval to 10 minutes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leonid Bloch , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Kevin Wolf , Max Reitz , Eric Blake On Thu 09 Aug 2018 12:52:34 PM CEST, Leonid Bloch wrote: > On 8/9/18 12:33 PM, Alberto Garcia wrote: >> On Thu 09 Aug 2018 12:11:37 AM CEST, Leonid Bloch wrote: >>> The default cache-clean-interval is set to 10 minutes, in order to lower >>> the overhead of the qcow2 caches (before the default was 0, i.e. >>> disabled). >>> >>> Signed-off-by: Leonid Bloch >> >>> --- a/qapi/block-core.json >>> +++ b/qapi/block-core.json >>> @@ -2830,7 +2830,8 @@ >>> # >>> # @cache-clean-interval: clean unused entries in the L2 and refcount >>> # caches. The interval is in seconds. The default value >>> -# is 0 and it disables this feature (since 2.5) >>> +# is 600. Setting 0 disables this feature. (since 2.5) >>> +# >> >> It should be "Setting it to 0 ...". > > How about: > > "... is 600 (0 disables this feature). (since 2.5)"? Or "The default is 600, and 0 disables this feature". It's ok either way. Berto