Re: [Xen-devel] [PATCH 0/3] xen-blkback: refactor vbd remove/disconnect.

From: Jan Beulich
Date: Wed Aug 03 2011 - 10:53:55 EST


>>> Joe Jin 08/03/11 4:10 AM >>>
>1. start guest with the latest kernel.
>2. attach new block device by xm block-attach in Dom0
>3. mount new disk in guest
>4. execute xm block-detach to detach the block device in dom0 until timeout
>5. try to unmount the disk in guest, umount hung. at here, any IOs to the
>device will hang.

A bogus sequence of operations - an operator in Dom0 shouldn't remove
a device that is still in use in a guest, except as an exceptionasl measure
(and then other bad behavior is to be expected). What's the use case?

Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/