Re: Patch to fix panic when detaching a mounted md device

2001-03-13 Thread John Baldwin
On 13-Mar-01 Warner Losh wrote: > In message <5663.984480931@critter> Poul-Henning Kamp writes: >: In message <[EMAIL PROTECTED]>, Dima Dorfman >: write >: s: >: >Hello -hackers >: > >: >Right now, if you try to detach an md device that's currently mounted, >: >you will get a panic (maybe not imm

Re: Patch to fix panic when detaching a mounted md device

2001-03-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> Soren Schmidt writes: : It seems Warner Losh wrote: : > In message <[EMAIL PROTECTED]> Soren Schmidt writes: : > : This all needed the patch to subr_disk.c that I made earlier today, : > : but now we can actually do it, however some of the cleanup action : > : should

Re: Patch to fix panic when detaching a mounted md device

2001-03-13 Thread Soren Schmidt
It seems Warner Losh wrote: > In message <[EMAIL PROTECTED]> Soren Schmidt writes: > : This all needed the patch to subr_disk.c that I made earlier today, > : but now we can actually do it, however some of the cleanup action > : should be done by the higher levels and not by the device driver... >

Re: Patch to fix panic when detaching a mounted md device

2001-03-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> Soren Schmidt writes: : This all needed the patch to subr_disk.c that I made earlier today, : but now we can actually do it, however some of the cleanup action : should be done by the higher levels and not by the device driver... Most of the crashes I've seen are in

Re: Patch to fix panic when detaching a mounted md device

2001-03-13 Thread Soren Schmidt
It seems Warner Losh wrote: > In message <8773.984501263@critter> Poul-Henning Kamp writes: > : >We should then fix the rest of the system to deal with disks that > : >disappear without notice. > : > : That was the point yes :-) > > Cool. When this happens, the forgetful ata flash ejectors of t

Re: Patch to fix panic when detaching a mounted md device

2001-03-13 Thread Warner Losh
In message <8773.984501263@critter> Poul-Henning Kamp writes: : >We should then fix the rest of the system to deal with disks that : >disappear without notice. : : That was the point yes :-) Cool. When this happens, the forgetful ata flash ejectors of the world will be happy :-) Warner To Uns

Re: Patch to fix panic when detaching a mounted md device

2001-03-13 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Warner Losh writ es: >In message <5663.984480931@critter> Poul-Henning Kamp writes: >: In message <[EMAIL PROTECTED]>, Dima Dorfman write >: s: >: >Hello -hackers >: > >: >Right now, if you try to detach an md device that's currently mounted, >: >you will get a pani

Re: Patch to fix panic when detaching a mounted md device

2001-03-13 Thread Warner Losh
In message <5663.984480931@critter> Poul-Henning Kamp writes: : In message <[EMAIL PROTECTED]>, Dima Dorfman write : s: : >Hello -hackers : > : >Right now, if you try to detach an md device that's currently mounted, : >you will get a panic (maybe not immedietely, but it will come, esp. : : This

Re: Patch to fix panic when detaching a mounted md device

2001-03-13 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Dima Dorfman write s: >Hello -hackers > >Right now, if you try to detach an md device that's currently mounted, >you will get a panic (maybe not immedietely, but it will come, esp. This is intentional, I want md(4) to mimic the behaviour of "real" disks as closely

Re: Patch to fix panic when detaching a mounted md device

2001-03-13 Thread Warner Losh
In message <[EMAIL PROTECTED]> Dima Dorfman writes: : Right now, if you try to detach an md device that's currently mounted, : you will get a panic (maybe not immedietely, but it will come, esp. if : you ever try to use that mountpoint again). I'm pretty sure this is a : known problem, with the s