[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [Patch] Always call blkdev_put when destroying a vbd in device backend
The code for the block backend device in XenoLinux 2.6.8.1 doesn't call blkdev_put on all code paths that can destroy a vbd. Previously, blkdev_put was only called from vbd_shrink. I've added the call to vbd_destroy and destroy_all_vbds. With the old code, the kernel running in domain-0 would believe the devices exported to another domain to still be in use, even after the other domain was shutdown. (This was obvious when using LVM, since the logical volumes were still listed as open, and a warning message was printed when shutting down LVM.) This patch should fix that. --Michael Vrable Attachment:
blkdev-backend.patch
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |