From Dan Kenigsberg <dan...@redhat.com>: Dan Kenigsberg has submitted this change and it was merged.
Change subject: lvm: Add vdsm local lvm configuration ...................................................................... lvm: Add vdsm local lvm configuration Add lvmlocal.conf with vdsm specific configuration: - devices/global_filter - filter out ovirt lvs from all lvm commands on the host. This change is expected to prevent discovery and auto-activation of guest lvs on raw ovirt volumes. This problem is causing performance issues and may lead to data corruption. This change does not effect discovery and auto-activation of guest lvs on direct luns. There is no way vdsm can filter direct since we don't know which luns should be filtered. - global/use_lvmetad - disable lvmetad usage in lvm commands This first comments on the file contains vdsm metadata, used by vdsm during upgrades. The default configuration looks like this: #REVISION: 1 #PRIVATE: NO With this configuration, vdsm will upgrade this file when running: vdsm-tool configure --module lvm To control the local lvm configuration, the system administrator can mark the file as private by modifying this line: #PRIVATE: YES If the file is private, vdsm will never upgrade the file. The vdsm metadata header starts at the first line and ends on the first non-comment line. This patch adds the default configuration. Change-Id: I88fb6efef5084d4637ec0183598d220f96613e82 Bug-Url: https://bugzilla.redhat.com/1374545 Signed-off-by: Nir Soffer <nsof...@redhat.com> --- M static/Makefile.am A static/usr/share/vdsm/lvmlocal.conf M vdsm.spec.in 3 files changed, 28 insertions(+), 0 deletions(-) Approvals: Nir Soffer: Verified Jenkins CI: Passed CI tests Dan Kenigsberg: Looks good to me, approved -- To view, visit https://gerrit.ovirt.org/66893 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I88fb6efef5084d4637ec0183598d220f96613e82 Gerrit-PatchSet: 10 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Nir Soffer <nsof...@redhat.com> Gerrit-Reviewer: Adam Litke <ali...@redhat.com> Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com> Gerrit-Reviewer: Fabian Deutsch <fabi...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Liron Aravot <lara...@redhat.com> Gerrit-Reviewer: Michal Skrivanek <michal.skriva...@redhat.com> Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com> Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com> Gerrit-Reviewer: Tal Nisan <tni...@redhat.com> Gerrit-Reviewer: Yaniv Dary <yd...@redhat.com> Gerrit-Reviewer: Yaniv Kaul <yk...@redhat.com> Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org> _______________________________________________ vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org