OSDN Git Service

xen/9pfs: increase max ring order to 9
authorStefano Stabellini <stefano.stabellini@xilinx.com>
Thu, 21 May 2020 19:26:27 +0000 (12:26 -0700)
committerGreg Kurz <groug@kaod.org>
Mon, 25 May 2020 09:45:40 +0000 (11:45 +0200)
The max order allowed by the protocol is 9. Increase the max order
supported by QEMU to 9 to increase performance.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20200521192627.15259-3-sstabellini@kernel.org>
Signed-off-by: Greg Kurz <groug@kaod.org>
hw/9pfs/xen-9p-backend.c

index 3c84c86..a969fcc 100644 (file)
@@ -21,7 +21,7 @@
 
 #define VERSIONS "1"
 #define MAX_RINGS 8
-#define MAX_RING_ORDER 8
+#define MAX_RING_ORDER 9
 
 typedef struct Xen9pfsRing {
     struct Xen9pfsDev *priv;