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)
2024-08-07 16:53:33 +00:00
..
2023-08-17 09:37:53 -04:00
2024-02-21 15:15:27 +00:00
2023-11-15 13:40:25 +01:00