[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] full devices expect to be able to read the partition table during xlvbd_add
# HG changeset patch # User vh249@xxxxxxxxxxxxxxxxxxxxxxxx # Node ID f633c3d0315b49e41b3c6e79085fddfafb0ae2aa # Parent 8c23b56f39540f63eeebb1ffc667c8ac0a264211 full devices expect to be able to read the partition table during xlvbd_add but couldn't because the device was not marked as BLKIF_CONNECTED and thus blkif_queue_request discarded the read request. fix bug #220 Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx> diff -r 8c23b56f3954 -r f633c3d0315b linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c Thu Sep 29 14:49:54 2005 +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c Thu Sep 29 15:25:50 2005 @@ -469,8 +469,8 @@ return; } + info->connected = BLKIF_STATE_CONNECTED; xlvbd_add(sectors, info->vdevice, binfo, sector_size, info); - info->connected = BLKIF_STATE_CONNECTED; blkif_state = BLKIF_STATE_CONNECTED; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |