projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b58ed
)
try to wait mapper device setting up
author
Gui Chen
<gui.chen@intel.com>
Wed, 18 Dec 2013 03:04:18 +0000
(22:04 -0500)
committer
Gui Chen
<gui.chen@intel.com>
Wed, 18 Dec 2013 03:28:29 +0000
(22:28 -0500)
Change-Id: I512f10e2437b0023db2112854f57e621e26eaf20
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/utils/partitionedfs.py
patch
|
blob
|
history
diff --git
a/mic/utils/partitionedfs.py
b/mic/utils/partitionedfs.py
index
63416fe
..
8677c89
100644
(file)
--- a/
mic/utils/partitionedfs.py
+++ b/
mic/utils/partitionedfs.py
@@
-470,6
+470,9
@@
class PartitionedMount(Mount):
raise MountError("Failed to load mapper devices for '%s'" %
d['disk'].device)
+ # FIXME: need a better way to fix the latency
+ import time
+ time.sleep(1)
d['mapped'] = True
def __unmap_partitions(self):