Stephen Taylor 885285139e [ceph-osd] Alias synchronized commands and fix descriptor leak
There are many race conditions possible when multiple ceph-osd
pods are initialized on the same host at the same time using
shared metadata disks. The locked() function was introduced a
while back to address these, but some commands weren't locked,
locked() was being called all over the place, and there was a file
descriptor leak in locked(). This change cleans that up by
by maintaining a single, global file descriptor for the lock file
that is only opened and closed once, and also by aliasing all of
the commands that need to use locked() and removing explicit calls
to locked() everywhere.

The global_locked() function has also been removed as it isn't
needed when individual commands that interact with disks use
locked() properly.

Change-Id: I0018cf0b3a25bced44c57c40e33043579c42de7a
2020-12-16 07:22:15 -07:00
2020-08-04 19:06:37 +00:00
2020-09-11 18:02:38 +03:00
2020-12-04 11:01:11 +00:00
2020-12-03 15:21:29 -06:00
2020-10-30 13:29:22 -05:00
2019-04-19 19:34:11 +00:00
2020-04-11 15:26:50 +02:00
2018-05-15 13:04:28 -05:00
2020-06-11 23:29:42 -05:00

Openstack-Helm-Infra

Mission

The goal of OpenStack-Helm-Infra is to provide charts for services or integration of third-party solutions that are required to run OpenStack-Helm.

For more information, please refer to the OpenStack-Helm repository.

Communication

  • Join us on IRC: #openstack-helm on freenode
  • Community IRC Meetings: [Every Tuesday @ 3PM UTC], #openstack-meeting-alt on freenode
  • Meeting Agenda Items: Agenda
  • Join us on Slack
    • #openstack-helm

Contributing

We welcome contributions. Check out this document if you would like to get involved.

Description
Repository for OpenStack Helm infrastructure-related code
Readme 67 MiB
Languages
Smarty 86.5%
Shell 11.2%
Python 1.8%
Jinja 0.3%
Makefile 0.2%