Behaviour of fsync() in case of write-back errors

2018-04-12 Thread Thomas Munro
Hello, I work on PostgreSQL. I don't use OpenBSD, but recently I've been investigating how fsync() reports write-back errors on all operating systems that people like to run PostgreSQL on: https://wiki.postgresql.org/wiki/Fsync_Errors It seems to me that on OpenBSD, asynchronous write-back erro

Move OpenBSD/armv7 to softfp float ABI

2018-04-12 Thread Mark Kettenis
The diff below moves armv7 to the so-called softfp float ABI. This is the same ABI as we have now, except that it allows the compiler to generate hardware floating-point instructions. Floating-point function arguments and return values are still passed in the integer registers though. This is un

Re: Stop ping telling world its pid

2018-04-12 Thread Miod Vallat
> what we need is an eventually consistent 16 bit number microservice message > bus that all ping processes can subscribe to. And it should be available as early as possible during boot, so I think its place is in init(8).

Re: vput(9) for NFS

2018-04-12 Thread Alexander Bluhm
On Wed, Apr 11, 2018 at 12:34:03PM +0200, Martin Pieuchot wrote: > @@ -769,6 +769,7 @@ nfs_lookup(void *v) > flags = cnp->cn_flags; > > *vpp = NULLVP; > + newvp = NULLVP; > if ((flags & ISLASTCN) && (dvp->v_mount->mnt_flag & MNT_RDONLY) && > (cnp->cn_nameiop == DEL

Re: diff for usr.bin/mg/fileio.c

2018-04-12 Thread Han Boetes
Yes this also works for me. On Thu, Apr 12, 2018 at 4:52 PM, Florian Obser wrote: > On Tue, Apr 10, 2018 at 06:49:10PM +0200, Han Boetes wrote: > > I got a problem report from Mark Willson: > > > > "I recently installed mg (via the Debian package) under WSL on > Windows > > 10. > > I fo

Re: ksh: fix buffer overflow in u64ton

2018-04-12 Thread Scott Cheloha
On Mon, Apr 09, 2018 at 08:56:28PM +0200, Tobias Stoeckmann wrote: > As tb@ pointed out, u64ton can overflow on ULONG_MAX. It could also > happen on systems with 64 bit int and INT_MIN, although we don't have > such a system supported by our code base. > > You can reach the u64ton function by prin

Re: Stop ping telling world its pid

2018-04-12 Thread Ted Unangst
Job Snijders wrote: > I’m not great at math, with a 16 bit random value, wouldn’t we start > running into ID collisions around 256 concurrent ping processes? Perhaps > that already is the case today and this patch does nothing to improve that, > but also doesn’t make it worse. what we need is an e

Re: diff for usr.bin/mg/fileio.c

2018-04-12 Thread Florian Obser
On Tue, Apr 10, 2018 at 06:49:10PM +0200, Han Boetes wrote: > I got a problem report from Mark Willson: > > "I recently installed mg (via the Debian package) under WSL on Windows > 10. > I found that the 'backup-to-home-directory' option didn't work. > > The cause of this appears to b

[PATCH] www/63.html - correct OpenBSD 6.3 release date

2018-04-12 Thread Raf Czlonka
Hi all, The main page[0] reads: [...], released Apr 2, 2018. while the 6.3 release page, which the above links to[1] says: Released Apr 15, 2018 [0] https://www.openbsd.org/ [1] https://www.openbsd.org/63.html Regards, Raf Index: 63.html =

Re: ipmi(4): don't panic if ipmi_sendcmd() fails

2018-04-12 Thread YASUOKA Masahiko
On Tue, 06 Mar 2018 12:37:28 +0900 (JST) Naoki Fukaumi wrote: > sending IPMI command can fail for some reason (e.g. during BMC reset, > and possibly BMC is just busy?), then it should be better to return > error than panic(). Verified. # ipmitool mc reset warm # ipmitool fru caused the pani

Re: ifconfig,route,netstat: s/tableid/rtable/ for consistency

2018-04-12 Thread Alexander Bluhm
On Thu, Apr 12, 2018 at 10:07:58AM +0200, Peter Hessler wrote: > :Or is there any real difference between `tableid' and `rtable' I'm not > :aware of? > : > > rtables are layer 3. > > rdomains are layer 2 (aka, arp and ndp lookups). The question was not about rtables vs rdomains. It is about tab

Re: ifconfig,route,netstat: s/tableid/rtable/ for consistency

2018-04-12 Thread Peter Hessler
On 2018 Apr 11 (Wed) at 23:01:45 +0200 (+0200), Klemens Nanni wrote: :On Wed, Apr 11, 2018 at 09:28:03AM +0200, Peter Hessler wrote: :> No, all of these uses are correct as-is. :`tableid' surely isn't wrong, but using the argument name across manuals :seems nicer to me. : No, they are different th