WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] vbd backend dropping block I/Os?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] vbd backend dropping block I/Os?
From: "Michael R. Hines" <michael@xxxxxxxxxxxxxxxx>
Date: Sat, 02 Dec 2006 00:42:29 -0500
Delivery-date: Mon, 04 Dec 2006 02:09:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: michael@xxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060516)
Hi,

I have a block device (implemented as a kernel module)
that we've written for our own purposes which we've
attempted to load as an IDD...

I have done the following:
1. added the appropriate [ phy:/dev/somedevice,/dev/somedevice,w ]
entry to the guest domU config
2. issued a block-based mknod /dev/somedevice
3. Finally: I sent some blocks to the device with dd from
a loaded guest on the blkfront side. I have debug printk's
in the device that periodically let me know how many BIOs
the block device has received on the blkback side: but the
number of requests received by the device does not match
the number of requests sent to it from the guest kernel
through the device channel. (It's about a 10 to 1 ratio
of missing requests) -> yet the dd command seems to think
they were all sent successfully from the guest's perspective.

I've done a 'xenstore-ls' and verified that the sector
size of the device that xen perceives is identical to
that of my block device.

Is there any obvious reason why this might happen?

Your help is much appreciated.

- Michael



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>