qemu: Temporarily disable metadata locking

Turns out, there are couple of bugs that prevent this feature
from being operational. Given how close to the release we are
disable the feature temporarily. Hopefully, it can be enabled
back after all the bugs are fixed.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Michal Privoznik 2018-09-27 15:03:03 +02:00
parent 0615c8436a
commit 466bea0117
4 changed files with 0 additions and 22 deletions

View File

@ -98,7 +98,6 @@ module Libvirtd_qemu =
| bool_entry "relaxed_acs_check"
| bool_entry "allow_disk_format_probing"
| str_entry "lock_manager"
| str_entry "metadata_lock_manager"
let rpc_entry = int_entry "max_queued"
| int_entry "keepalive_interval"

View File

@ -659,15 +659,6 @@
#lock_manager = "lockd"
# To serialize two or more daemons trying to change metadata on a
# file (e.g. a file on NFS share), libvirt offers a locking
# mechanism. Currently, only "lockd" is supported (or no locking
# at all if unset). Note that this is independent of lock_manager
# described above.
#
#metadata_lock_manager = "lockd"
# Set limit of maximum APIs queued on one domain. All other APIs
# over this threshold will fail on acquiring job lock. Specially,
# setting to zero turns this feature off.

View File

@ -838,17 +838,6 @@ int virQEMUDriverConfigLoadFile(virQEMUDriverConfigPtr cfg,
if (virConfGetValueString(conf, "lock_manager", &cfg->lockManagerName) < 0)
goto cleanup;
if (virConfGetValueString(conf, "metadata_lock_manager",
&cfg->metadataLockManagerName) < 0)
goto cleanup;
if (cfg->metadataLockManagerName &&
STRNEQ(cfg->metadataLockManagerName, "lockd")) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
_("unknown metadata lock manager name %s"),
cfg->metadataLockManagerName);
goto cleanup;
}
if (virConfGetValueString(conf, "stdio_handler", &stdioHandler) < 0)
goto cleanup;
if (stdioHandler) {

View File

@ -81,7 +81,6 @@ module Test_libvirtd_qemu =
{ "mac_filter" = "1" }
{ "relaxed_acs_check" = "1" }
{ "lock_manager" = "lockd" }
{ "metadata_lock_manager" = "lockd" }
{ "max_queued" = "0" }
{ "keepalive_interval" = "5" }
{ "keepalive_count" = "5" }