USB memory stick hotswap problems

John-Mark Gurney gurney_j at resnet.uoregon.edu
Sat Sep 25 22:54:40 PDT 2004


Daniel O'Connor wrote this message on Sun, Sep 26, 2004 at 11:42 +0930:
> > Seems like we're eventually going to need this to make hot-swappable USB
> > devices more friendly.  I understand why you must unmount a device
> > before SCSI CAM gets disconnected from it, but it just seems that this
> > should be a job for usbd.
> 
> The problem is that once the device is removed it's too late :(

Exactly...

> One possibility would be to add a facility to mark all the data for a certain 
> device to be non-critical so it will throw it away when it tries to flush it 
> and fails instead of panicing.

phk is working on fixing this right now...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-current mailing list