On Fri, Mar 23, 2018 at 3:30 AM, Poul-Henning Kamp <[email protected]>
wrote:

> --------
> In message <[email protected]>, Andriy
> Gapon writes:
> >On 12/03/2018 20:07, Poul-Henning Kamp wrote:
> >> If we want to have an architectural sound way to do slow operations
> >> before any "user-I/O" is initiated, the right way to do so is to
> >> define new BIO_OPEN and BIO_CLOSE  operation, and insist via asserts
> >> than all BIO_{READ|WRITE|DELETE} are wrapped in these.
>
> >What do you think?
>
> I don't see that changing anything...
>
> GEOM rests on a set of assumptions, if you violate them, you get panics.


I agree. The cd panic is a problem in the cd driver where it bogusly uses
runccb in a context that can't sleep.

Warner
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "[email protected]"

Reply via email to