Re: kern.maxlockf for byte range lock limit

2021-07-09 Thread David Holland
On Fri, Jul 09, 2021 at 03:27:57PM +, Emmanuel Dreyfus wrote: > I recently hit a bug where mariadb import failed befause of > maxlocksperuid limit:a > http://mail-index.netbsd.org/netbsd-users/2021/07/09/msg027330.html > > Attached is a patch that documents ENOMEM for fcntl() and

re: kern.maxlockf for byte range lock limit

2021-07-09 Thread matthew green
> @@ -146,8 +146,10 @@ > { > extern int kern_logsigexit; /* defined in kern/kern_sig.c */ > extern fixpt_t ccpu;/* defined in kern/kern_synch.c */ > extern int dumponpanic; /* defined in kern/subr_prf.c */ > + extern int maxlocksperuid; /*

Re: Introduction to posix_spawn/chdir

2021-07-09 Thread Piyush Sachdeva
On Fri, Jun 25, 2021 at 9:03 PM Piyush Sachdeva wrote: > Progress Update 2 (Week 3) > Close to the end of Week 3, I would like to update that > I have completed the code modifications that were required in the kernel > space. > src/sys/kern/kern_exec.c , src/sys/kern/vfs_syscalls.c , >

kern.maxlockf for byte range lock limit

2021-07-09 Thread Emmanuel Dreyfus
Hello I recently hit a bug where mariadb import failed befause of maxlocksperuid limit:a http://mail-index.netbsd.org/netbsd-users/2021/07/09/msg027330.html Attached is a patch that documents ENOMEM for fcntl() and flock() and that adds a sysctl kern.maxlockf to make the limit configurable.