qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH v6 5/8] qcow2: Increase the default upper limit


From: Leonid Bloch
Subject: Re: [Qemu-block] [PATCH v6 5/8] qcow2: Increase the default upper limit on the L2 cache size
Date: Fri, 10 Aug 2018 08:33:29 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

--- a/block/qcow2.h
+++ b/block/qcow2.h
@@ -73,7 +73,7 @@
  /* Must be at least 4 to cover all cases of refcount table growth */
  #define MIN_REFCOUNT_CACHE_SIZE 4 /* clusters */
-#define DEFAULT_L2_CACHE_MAX_SIZE 1048576  /* bytes */
+#define DEFAULT_L2_CACHE_MAX_SIZE 0x2000000U /* bytes */

I'd spell this as '(64 * MiB)' with the help of "qemu/units.h".


You mean '(32 * MiB)', right? Good idea! Done.

Leonid.



reply via email to

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