Re: kernel deadlock on fstchg with vnd

2022-05-31 Thread Michael van Elst
campbell+netbsd-current-us...@mumble.net (Taylor R Campbell) writes: >This would need to be integrated into autoconf/specfs to avoid races >in config_pseudo_spawn, sc->sc_configured, and config_pseudo_unspawn, vnd is peculiar in that it spawns a unit whenever it is opened and removes it again

Re: kernel deadlock on fstchg with vnd

2022-05-31 Thread Taylor R Campbell
> Date: Mon, 30 May 2022 14:33:42 +0200 > From: "J. Hannken-Illjes" > > >> 1767 /* Nuke the vnodes for any open instances */ > >> 1768 for (i = 0; i < MAXPARTITIONS; i++) { > >> 1769 mn = DISKMINOR(device_unit(vnd->sc_dev), i); > >> 1770

Re: kernel deadlock on fstchg with vnd

2022-05-30 Thread J. Hannken-Illjes
> On 29. May 2022, at 23:57, Manuel Bouyer wrote: > > On Sun, May 29, 2022 at 01:18:16PM +0200, J. Hannken-Illjes wrote: >>> On 29. May 2022, at 08:30, Michael van Elst wrote: >>> >>> bou...@antioche.eu.org (Manuel Bouyer) writes: >>> Hello, do you have an idea on the problem in

Re: kernel deadlock on fstchg with vnd

2022-05-29 Thread Manuel Bouyer
On Sun, May 29, 2022 at 01:18:16PM +0200, J. Hannken-Illjes wrote: > > On 29. May 2022, at 08:30, Michael van Elst wrote: > > > > bou...@antioche.eu.org (Manuel Bouyer) writes: > > > >> Hello, > >> do you have an idea on the problem in this thread: > >>

Re: kernel deadlock on fstchg with vnd

2022-05-29 Thread J. Hannken-Illjes
> On 29. May 2022, at 08:30, Michael van Elst wrote: > > bou...@antioche.eu.org (Manuel Bouyer) writes: > >> Hello, >> do you have an idea on the problem in this thread: >> http://mail-index.netbsd.org/port-xen/2022/05/27/msg010213.html > [...] >> I can't reproduce this when using vnd from

Re: kernel deadlock on fstchg with vnd

2022-05-29 Thread Michael van Elst
bou...@antioche.eu.org (Manuel Bouyer) writes: >Hello, >do you have an idea on the problem in this thread: >http://mail-index.netbsd.org/port-xen/2022/05/27/msg010213.html [...] >I can't reproduce this when using vnd from userland. You can replicate it by addressing the block device with