|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [patch] loopback block device confliction is fixed.
Hi.
I found cause of problem that loopback devices is not connect when more
than two loopback block devices is used.
The cause is setup these loopback block devices concurrently, so that
these devices indicate same loopback devices.
(show log file ... message.log)
I attach tentative patch for this problem. (block.patch)
This patch is that searching is stopped if free loop back device is
found.
Process is very fast, so that in my environments, confliction is not
observed.
I think that good resolution is provide lock mechanism.
Thank you.
diff -r 243265ade404 tools/examples/block
--- a/tools/examples/block Mon Nov 28 17:22:02 2005
+++ b/tools/examples/block Wed Nov 30 12:35:35 2005
@@ -238,6 +238,7 @@
if [ "$loopdev" == '' ]
then
loopdev="$dev"
+ break
fi
fi
done
message.log
Description: Binary data
block.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [patch] loopback block device confliction is fixed.,
Satoshi Uchida <=
|
|
|
|
|