Jan Beulich 0e34582699 blkfront: fixes for 'xm block-detach ... --force'
Prevent prematurely freeing 'struct blkfront_info' instances (when the
xenbus data structures are gone, but the Linux ones are still needed).

Prevent adding a disk with the same (major, minor) [and hence the same
name and sysfs entries, which leads to oopses] when the previous
instance wasn't fully de-allocated yet.

This still doesn't address all issues resulting from forced detach:
I/O submitted after the detach still blocks forever, likely preventing
subsequent un-mounting from completing. It's not clear to me (not
knowing much about the block layer) how this can be avoided.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-08-07 18:28:55 +02:00
..
2010-08-07 18:25:00 +02:00
2010-08-07 18:15:27 +02:00
2010-02-22 13:44:45 +01:00
2010-05-11 09:02:55 +02:00
2009-10-01 21:17:49 +02:00
2010-08-07 18:25:00 +02:00
2009-03-26 21:15:27 +01:00
2010-08-07 18:25:00 +02:00
2008-10-21 07:48:11 -04:00