]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
libvirtd.conf: Drop max_requests
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 15 Aug 2017 08:34:45 +0000 (10:34 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 16 Aug 2017 06:59:28 +0000 (08:59 +0200)
Since its introduction in f61341173bdaa2e0 it was never
implemented nor there are plans to implement it. Drop it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
daemon/libvirtd-config.c
daemon/libvirtd-config.h
daemon/libvirtd.aug
daemon/libvirtd.conf
daemon/test_libvirtd.aug.in

index db283a41ff82d3cf732ff1741c0c988d58ece68b..19b3d168ea9ad4f70196afa61e433e101540e8f0 100644 (file)
@@ -153,7 +153,6 @@ daemonConfigNew(bool privileged ATTRIBUTE_UNUSED)
 
     data->prio_workers = 5;
 
-    data->max_requests = 20;
     data->max_client_requests = 5;
 
     data->audit_level = 1;
@@ -348,8 +347,6 @@ daemonConfigLoadOptions(struct daemonConfig *data,
     if (virConfGetValueUInt(conf, "prio_workers", &data->prio_workers) < 0)
         goto error;
 
-    if (virConfGetValueUInt(conf, "max_requests", &data->max_requests) < 0)
-        goto error;
     if (virConfGetValueUInt(conf, "max_client_requests", &data->max_client_requests) < 0)
         goto error;
 
index 1edf5fadb8cc5cc426c8525c4e550a8b0f2718a4..d618c96608ebf9ed624d031fc3a9d6f26bd09c8c 100644 (file)
@@ -71,7 +71,6 @@ struct daemonConfig {
 
     unsigned int prio_workers;
 
-    unsigned int max_requests;
     unsigned int max_client_requests;
 
     unsigned int log_level;
index 24fdf445ca94fd5180ad820f7a923a1e66578c0b..df310d8763d55521899d0b9371a6c17bfe306a89 100644 (file)
@@ -60,7 +60,6 @@ module Libvirtd =
                         | int_entry "max_clients"
                         | int_entry "max_queued_clients"
                         | int_entry "max_anonymous_clients"
-                        | int_entry "max_requests"
                         | int_entry "max_client_requests"
                         | int_entry "prio_workers"
 
index e83e9a1c10c25d98c92af5a5bbb442360734bc42..8a1b3a92db7ebd8e92a74fb864b4cdbb86955252 100644 (file)
 # (notably domainDestroy) can be executed in this pool.
 #prio_workers = 5
 
-# Total global limit on concurrent RPC calls. Should be
-# at least as large as max_workers. Beyond this, RPC requests
-# will be read into memory and queued. This directly impacts
-# memory usage, currently each request requires 256 KB of
-# memory. So by default up to 5 MB of memory is used
-#
-# XXX this isn't actually enforced yet, only the per-client
-# limit is used so far
-#max_requests = 20
-
 # Limit on concurrent requests from a single client
 # connection. To avoid one client monopolizing the server
-# this should be a small fraction of the global max_requests
-# and max_workers parameter
+# this should be a small fraction of the global max_workers
+# parameter.
 #max_client_requests = 5
 
 # Same processing controls, but this time for the admin interface.
index 12009528f664563f0c776e5f59f2fbbe2ef0bfa7..b24b32e33db78c870002fead5b2191540de0c997 100644 (file)
@@ -42,7 +42,6 @@ module Test_libvirtd =
         { "min_workers" = "5" }
         { "max_workers" = "20" }
         { "prio_workers" = "5" }
-        { "max_requests" = "20" }
         { "max_client_requests" = "5" }
         { "admin_min_workers" = "1" }
         { "admin_max_workers" = "5" }