[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] handling errors in blktaplib


  • To: Xen Dev <xen-devel@xxxxxxxxxxxxxxxxxxx>, Andrew Warfield <andrew.warfield@xxxxxxxxxxxx>
  • From: aq <aquynh@xxxxxxxxx>
  • Date: Mon, 13 Jun 2005 17:11:59 +0900
  • Delivery-date: Mon, 13 Jun 2005 08:11:06 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=r7Mwfat+DDT+w9c4eVZhNO5lDsXEHHpn2O8mH/eZGyYmoFC0uMb/vjhOIqKyVosaNZ8mWA56Ilydec24SPITOAXXJviPc2mCXNADgGCKlKSzYewkA3wx33KxaI8lAk4kl8g1rHHdEb3MJgvymapXXAiOeUYNZXmWZxjlGI5ZTZw=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

blktaplib doesnt handle errors properly in several places: it just
printed out the error message and exit, which is a bad behaviour for a
library.

this patch (against ChangeSet@xxxxxx) fixes the problem and then
handles the potential errors in blkdump. it also makes few cleanups.
(Andrew, there is another fix for parallax, but it will be sent later,
after  my last patch on parallax get merged/rejected)

Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>


$ diffstat blktap2.patch 
 blkdump.c   |   18 +++++++++++++++---
 blktaplib.c |   46 +++++++++++++++++++++++++++++++---------------
 blktaplib.h |   12 +++++++++---
 3 files changed, 55 insertions(+), 21 deletions(-)

Attachment: blktap2.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.