Rajat Dhasmana
80da091dd3
Wait for multipath device to be ready for I/O
The "multipath -C <mpath_name>" command waits for the multipath device map to be ready for I/O. This is useful in preventing race conditions when we are trying to write to the multipath device before it is ready for I/O. We added 2 new config options to make the wait time configurable, 1. wait_mpath_device_attempts - defaults to 4 attempts 2. wait_mpath_device_interval - defaults to 1 second Closes-Bug: #2067949 Change-Id: Ib075ec62a2bf993615c5c802f34acd7838bfa2af (cherry picked from commit 639f953194cdc07b1e6aff1fc1ca2a7bc9d28536)
Team and repository tags
brick
OpenStack Cinder brick library for managing local volume attaches
Features
- Discovery of volumes being attached to a host for many transport protocols.
- Removal of volumes from a host.
Hacking
Hacking on brick requires Python 3.8+. A recent tox is required, as is a recent virtualenv (20.2.2 or newer).
- For any other information, refer to the developer documents:
- OR refer to the parent project, Cinder:
- Release notes for the project can be found at:
- License: Apache License, Version 2.0
- Source: https://opendev.org/openstack/os-brick
- Bugs: https://bugs.launchpad.net/os-brick
Description
Languages
Python
99.6%
Shell
0.4%