提交 466bea01 编写于 作者: M Michal Privoznik

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: NMichal Privoznik <mprivozn@redhat.com>
Reviewed-by: NJiri Denemark <jdenemar@redhat.com>
上级 0615c843
......@@ -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" }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册