mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
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:
parent
0615c8436a
commit
466bea0117
@ -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"
|
||||
|
@ -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.
|
||||
|
@ -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) {
|
||||
|
@ -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" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user