From nobody Sun Apr 28 14:21:16 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1494498945241343.09834800090084; Thu, 11 May 2017 03:35:45 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 98FE1811D8; Thu, 11 May 2017 10:35:43 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6F4545C8AE; Thu, 11 May 2017 10:35:43 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id F3D56180BAF3; Thu, 11 May 2017 10:35:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v4BAZeXA032171 for ; Thu, 11 May 2017 06:35:40 -0400 Received: by smtp.corp.redhat.com (Postfix) id CA6C64DA61; Thu, 11 May 2017 10:35:40 +0000 (UTC) Received: from dhcp-17-113.lcy.redhat.com (unknown [10.42.17.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id 447DC4DA49; Thu, 11 May 2017 10:35:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 98FE1811D8 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 98FE1811D8 From: "Daniel P. Berrange" To: libvir-list@redhat.com Date: Thu, 11 May 2017 11:35:36 +0100 Message-Id: <20170511103536.21455-1-berrange@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] remote: increase max storage pools, nwfilters & snapshots to 16384 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 11 May 2017 10:35:44 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Most other top level objects have already had their limits increased to 16384. Increase the storage pool, nwfilter & snapshot object limits to match. For snapshots at least, we have seen hosts which exceeded the current limit Signed-off-by: Daniel P. Berrange Reviewed-by: Kashyap Chamarthy --- src/remote/remote_protocol.x | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x index 87b2bd3..4e3fa60 100644 --- a/src/remote/remote_protocol.x +++ b/src/remote/remote_protocol.x @@ -80,7 +80,7 @@ const REMOTE_NETWORK_LIST_MAX =3D 16384; const REMOTE_INTERFACE_LIST_MAX =3D 16384; =20 /* Upper limit on lists of storage pools. */ -const REMOTE_STORAGE_POOL_LIST_MAX =3D 4096; +const REMOTE_STORAGE_POOL_LIST_MAX =3D 16384; =20 /* Upper limit on lists of storage vols. */ const REMOTE_STORAGE_VOL_LIST_MAX =3D 16384; @@ -92,7 +92,7 @@ const REMOTE_NODE_DEVICE_LIST_MAX =3D 65536; const REMOTE_NODE_DEVICE_CAPS_LIST_MAX =3D 65536; =20 /* Upper limit on lists of network filters. */ -const REMOTE_NWFILTER_LIST_MAX =3D 1024; +const REMOTE_NWFILTER_LIST_MAX =3D 16384; =20 /* Upper limit on list of scheduler parameters. */ const REMOTE_DOMAIN_SCHEDULER_PARAMETERS_MAX =3D 16; @@ -137,7 +137,7 @@ const REMOTE_AUTH_TYPE_LIST_MAX =3D 20; const REMOTE_DOMAIN_MEMORY_STATS_MAX =3D 1024; =20 /* Upper limit on lists of domain snapshots. */ -const REMOTE_DOMAIN_SNAPSHOT_LIST_MAX =3D 1024; +const REMOTE_DOMAIN_SNAPSHOT_LIST_MAX =3D 16384; =20 /* Maximum length of a block peek buffer message. * Note applications need to be aware of this limit and issue multiple --=20 2.9.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list