os-brick/os_brick
Avishay Traeger e00ce84629 Fix race in check and access of /dev/disk/by-path/
If udev deletes the directory between the check and access then we have
an exception thrown. Instead of checking, just list the directory and
handle the exception in case it doesn't exist.

Co-Authored-By: Jordan Pittier <jordan.pittier@scality.com>
Change-Id: I52143923d2407b3d43eccf5d3c51526a92d1e3c5
Closes-Bug: 1478473
2015-07-28 18:30:06 +02:00
..
initiator Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
remotefs remotefs: add virtuozzo storage support 2015-07-20 22:01:20 +03:00
tests Fix race in check and access of /dev/disk/by-path/ 2015-07-28 18:30:06 +02:00
__init__.py Update os-brick requirements 2015-04-17 17:11:34 +00:00
exception.py Cleanup Python 3 changes 2015-07-09 13:48:01 +02:00
executor.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
i18n.py Drop use of 'oslo' namespace package 2015-04-28 22:25:57 +00:00
utils.py Brick: Fix race in removing iSCSI device 2015-04-20 08:02:38 -07:00