From: Otto Moerbeek Subject: Re: sysctl for ffs index wrong To: Federico Giannici Cc: tech@openbsd.org Date: Fri, 12 Apr 2024 08:28:43 +0200 On Fri, Apr 12, 2024 at 08:08:01AM +0200, Federico Giannici wrote: > There will be a syspatch for this, or we have to build a kernel? > > Thanks AFAIKS it's enough to install the patched ffs_extern.h to /usr/include/ufs/ffs/ffs_extern.h and rebuild and install sbin/sysctl. Erratum is not decided yet. -Otto > > > On 4/11/24 18:09, Theo de Raadt wrote: > > OK > > > > Otto Moerbeek wrote: > > > > > Hi, > > > > > > followup on an issue reported on misc: > > > > > > The softdep removel went a step too far by removing the "max_softdeps" entry > > > > > > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/ufs/ffs/ffs_extern.h.diff?r1=1.45&r2=1.46 > > > > > > This makes the dirhash sysctl ok again. > > > > > > -Otto > > > > > > Index: ufs/ffs/ffs_extern.h > > > =================================================================== > > > RCS file: /home/cvs/src/sys/ufs/ffs/ffs_extern.h,v > > > diff -u -p -r1.46 ffs_extern.h > > > --- ufs/ffs/ffs_extern.h 3 Feb 2024 18:51:58 -0000 1.46 > > > +++ ufs/ffs/ffs_extern.h 11 Apr 2024 15:20:41 -0000 > > > @@ -58,6 +58,7 @@ > > > { 0, 0 }, \ > > > { 0, 0 }, \ > > > { 0, 0 }, \ > > > + { 0, 0 }, \ > > > { "sd_tickdelay", CTLTYPE_INT }, \ > > > { "sd_worklist_push", CTLTYPE_INT }, \ > > > { "sd_blk_limit_push", CTLTYPE_INT }, \ > > > > > >