Reviewed: https://review.opendev.org/743818 Committed: https://git.openstack.org/cgit/openstack/os-brick/commit/?id=4e2e1bedb657cdb1ab01e77bc14b976b00df284a Submitter: Zuul Branch: stable/rocky
commit 4e2e1bedb657cdb1ab01e77bc14b976b00df284a Author: David Vallee Delisle <email address hidden> Date: Wed Dec 18 14:11:33 2019 -0500
Read mounts from /proc/mounts instead of running mount
When creating multiple concurrent volumes, there's a lock that prevents mount from returning quickly. Reading /proc/mounts is way faster.
Change-Id: If31d120955eb216823a55005fdd3d24870aa6b9a Closes-Bug: #1856889 (cherry picked from commit f2409608473c06892b087e44e0041c9ade3f9924) (cherry picked from commit a8190cd60b59dedb11a8ed27d236d81adee3255d) (cherry picked from commit 7168bdce5bcdf3f1a27c6fc9f998c1f3f5364f3d)
Reviewed: https:/ /review. opendev. org/743818 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=4e2e1bedb65 7cdb1ab01e77bc1 4b976b00df284a
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 4e2e1bedb657cdb 1ab01e77bc14b97 6b00df284a
Author: David Vallee Delisle <email address hidden>
Date: Wed Dec 18 14:11:33 2019 -0500
Read mounts from /proc/mounts instead of running mount
When creating multiple concurrent volumes, there's a lock
that prevents mount from returning quickly. Reading /proc/mounts
is way faster.
Change-Id: If31d120955eb21 6823a55005fdd3d 24870aa6b9a 92b087e44e0041c 9ade3f9924) b11a8ed27d236d8 1adee3255d) 1a27c6fc9f998c1 f3f5364f3d)
Closes-Bug: #1856889
(cherry picked from commit f2409608473c068
(cherry picked from commit a8190cd60b59ded
(cherry picked from commit 7168bdce5bcdf3f