From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Marczykowski Subject: Re: [PATCH] tools/hotplug: fix locking Date: Wed, 13 Jun 2012 04:25:54 +0200 Message-ID: <4FD7FA32.2010006@invisiblethingslab.com> References: <87hauhvx5x.fsf@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3586592641735229152==" Return-path: In-Reply-To: <87hauhvx5x.fsf@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Kouya Shimura Cc: Zhigang Wang , xen-devel List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============3586592641735229152== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB23037EAE21C4DA682E045B6" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB23037EAE21C4DA682E045B6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12.06.2012 08:53, Kouya Shimura wrote: > Hi, >=20 > The owner support is introduced in c/s 8175, not by me. > Anyway, something is wrong with your execution trace. >=20 >> + '[' 6 -gt 5 ']' >> + sleep 1 > <<< Why claim_lock() returns here??? >> + do_or_die losetup -r /dev/loop27 /OVS/Repositories/0004fb00000300000= aac184a9bbab7a9/VirtualDisks/0004fb00001200002b0ef651033c8381.img >> + losetup -r /dev/loop27 /OVS/Repositories/0004fb00000300000aac184a9bb= ab7a9/Vi >=20 > I don't know what is a problem and whether your patch resolves the issu= e or not. I can confirm this problem, I've faced it some time ago: http://lists.xen.org/archives/html/xen-devel/2011-07/msg00182.html > It would be better to replace locking.sh with the RHEL5 implementation > which uses 'flock' rather than to fix it. I agree. Currently I've workarounded it by adding flock in udev rule whic= h run this script, but working locking.sh will be much nicer. --=20 Best Regards / Pozdrawiam, Marek Marczykowski Invisible Things Lab --------------enigB23037EAE21C4DA682E045B6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP1/ozAAoJENuP0xzK19csPRkH/Ra4s34ouMHG9YQ9eNDxjii5 xCM1i9OR1m69uY6tuJl5zY2Wvx0UDPnujGrSFLqZw/A84yI9CzjVskkWIXzaq+FA ZxZFjHW9tDT4ubmz2rBKNYvd2+oFyiGB3/0zkBefjI6pY0R6lSlVKluOOxL8JDXl e4KHvVKk4YijBuAGNm9e81rh3y/IDomUZMl0Stv2QgW3cMLmaiIWhU1t1slp+r0z S34nE6zmae1B/5o4GhWNKC34QxwzA7zkEwsC/eXbW39uUrT8eC7cwGWH7iI0MHn1 etrP1pSRcn8YIzQBWbZGJ/BGViBzv1+ZqVs4ef+fhgjeFtuG0nMT/rMLXJ3L/V4= =zXeH -----END PGP SIGNATURE----- --------------enigB23037EAE21C4DA682E045B6-- --===============3586592641735229152== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3586592641735229152==--