This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: Xen Dev <xen-devel@xxxxxxxxxxxxxxxxxxx>, Andrew Warfield <andrew.warfield@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] handling errors in blktaplib
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
blktaplib doesnt handle errors properly in several places: it just
printed out the error message and exit, which is a bad behaviour for a

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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] handling errors in blktaplib, aq <=