Re: A different look at block device hotswap in the Linux kernel

Steven Dake
2003-01-24T00:54:57Z

>I want:
>LLDD to SCSI: device is gone
>SCSI to LLDD: Ok. I'll handle from here on.
>LLDD: OK. I am gone. And won't have any contact until the next device is
>plugged in.
>
>
The downside of this approach is that the LLDD must now be able to
detect insertions and removals when it may not be able to do so. If it
is able to do so, then fine, it can tell upper layers about it, but the
actual control of removal of a device should occur higher up to fix
several problems with the approach of having the LLDD manage the hotswap
state of the device.

>The process can be somewhat more complicated, under some conditions:
>- it never fails
>- it is done within a finite, bounded, reasonable time
>
> Regards
> Oliver
>
>
>
>
>