route timer pool

2022-04-18 Thread Alexander Bluhm
Hi, Can we use a pool for rttimer_queue_pool? As we run without kernel lock, these pools should have IPL_MPFLOOR protection. ok? bluhm Index: net/route.c === RCS file: /data/mirror/openbsd/cvs/src/sys/net/route.c,v retrieving

route timer init

2022-04-18 Thread Alexander Bluhm
Hi, Instead of using a MP unsafe global variable, just call rt_timer_init() from route_init(). ok? bluhm Index: net/route.c === RCS file: /data/mirror/openbsd/cvs/src/sys/net/route.c,v retrieving revision 1.402 diff -u -p -r1.402

Re: rate limit uvn_flush warning

2022-04-18 Thread Alexander Bluhm
On Thu, Apr 14, 2022 at 11:44:42AM -0600, Theo de Raadt wrote: > > If I understand correctly, the problem is that writing to memory > > of an mmap(2)ed file has no error handling. If the file system is > > full, userland cannot be informed. So someone invented this message > > in the kernel. >

Re: vmd writes corrupt qcow2 images

2022-04-18 Thread Dave Voutila
Ori Bernstein writes: > Yep. I can look at it in a few days. > > I'm assuming that the vm was stopped before running the check? > Yes. > On April 18, 2022 3:42:50 PM EDT, Mike Larkin wrote: > > On Mon, Apr 18, 2022 at 12:21:39PM -0400, Dave Voutila wrote: > > "Thomas L." writes: > >

Re: Provide memory barriers in refcnt_rele() and refcnt_finalize()

2022-04-18 Thread Visa Hankala
On Mon, Mar 14, 2022 at 04:14:47PM +, Visa Hankala wrote: > On Mon, Mar 14, 2022 at 02:01:07AM -0700, Philip Guenther wrote: > > On Mon, Mar 14, 2022 at 12:47 AM Visa Hankala wrote: > > > > > On Sun, Mar 13, 2022 at 06:26:19PM -0700, Philip Guenther wrote: > > > > On Sun, Mar 13, 2022 at

Re: parallel IP forwarding

2022-04-18 Thread Hrvoje Popovski
On 8.4.2022. 12:56, Alexander Bluhm wrote: > Hi, > > I now the right time to commit the parallel forwarding diff? > > Known limitiations are: > - Hrvoje has seen a crash with both pfsync and ipsec on his production > machine. But he cannot reproduce it in his lab. This is resolved. At least

vmd writes corrupt qcow2 images

2022-04-18 Thread Thomas L.
Hi, I recently tried to use qemu-img with qcow2 images of my VMs and qemu-img finds them corrupted. I can reproduce the issue in the following way (on -current, but is the same on -stable; tried different hosts to exclude hardware errors): marsden# vmctl create -s 300G test.qcow2 vmctl: qcow2

Re: parallel IP forwarding

2022-04-18 Thread Alexander Bluhm
On Mon, Apr 18, 2022 at 12:27:23PM +0200, Hrvoje Popovski wrote: > On 8.4.2022. 12:56, Alexander Bluhm wrote: > > I now the right time to commit the parallel forwarding diff? > > > > Known limitiations are: > > - Hrvoje has seen a crash with both pfsync and ipsec on his production > > machine.

Re: vmd writes corrupt qcow2 images

2022-04-18 Thread Dave Voutila
"Thomas L." writes: > Hi, > > I recently tried to use qemu-img with qcow2 images of my VMs and > qemu-img finds them corrupted. I can reproduce the issue in the > following way (on -current, but is the same on -stable; tried different > hosts to exclude hardware errors): > > marsden# vmctl

Re: vmd writes corrupt qcow2 images

2022-04-18 Thread Mike Larkin
On Mon, Apr 18, 2022 at 12:21:39PM -0400, Dave Voutila wrote: > > "Thomas L." writes: > > > Hi, > > > > I recently tried to use qemu-img with qcow2 images of my VMs and > > qemu-img finds them corrupted. I can reproduce the issue in the > > following way (on -current, but is the same on -stable;

Re: vmd writes corrupt qcow2 images

2022-04-18 Thread Ori Bernstein
Yep. I can look at it in a few days. I'm assuming that the vm was stopped before running the check? On April 18, 2022 3:42:50 PM EDT, Mike Larkin wrote: >On Mon, Apr 18, 2022 at 12:21:39PM -0400, Dave Voutila wrote: >> >> "Thomas L." writes: >> >> > Hi, >> > >> > I recently tried to use