Messages in this thread | | | Date | Wed, 15 Nov 2006 18:23:11 +0100 | From | Cornelia Huck <> | Subject | Re: [Patch -mm 2/5] driver core: Introduce device_move(): move a device to a new parent. |
| |
On Wed, 15 Nov 2006 11:44:36 -0500, "Dmitry Torokhov" <dmitry.torokhov@gmail.com> wrote:
> Why do we need to have them at all? Devices should not "move" in the > trees - it it moves we should just treat them as old devices going > away and new devices appearing...
But unregistering and re-registering is exactly what we want to avoid in our case. We have still the same ccw device, it's only now operational via another subchannel (i. e. the topology changed, but not the device). If we unregistered the device, we would also kill the associated block device(s), and if it had been mounted, we go boom. (This is what currently happens without this patchset, and it may be triggered by a short hardware outage we'd otherwise survive without a problem.)
-- Cornelia Huck Linux for zSeries Developer Tel.: +49-7031-16-4837, Mail: cornelia.huck@de.ibm.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |