K 10 svn:author V 3 mav K 8 svn:date V 27 2011-11-01T23:12:22.891949Z K 7 svn:log V 345 Make orphan() method in geom_dev asynchronous using destroy_dev_sched_cb() instead of destroy_dev(). It moves device destruction waiting out of the topology lock and so fixes dead lock between orphanization and closing. Real provider and geom destruction called from swi context after device destroyed as callback of the destroy_dev_sched_cb(). END