From: Theo Buehler Subject: Re: BUFSIZ-related pessimization in fvwrite.c To: "Todd C. Miller" Cc: enh , OpenBSD Tech Date: Sat, 27 Apr 2024 09:55:26 +0200 On Fri, Apr 26, 2024 at 07:06:23PM -0600, Todd C. Miller wrote: > On Fri, 26 Apr 2024 17:05:51 -0600, Todd C. Miller wrote: > > > I see no reason not to do this, short writes are handled gracefully. > > I'm not aware of any hard requirement to do buffered writes in > > multiples of the buffer size. This may just be stdio trying to do > > writes in a multiple of the optimal I/O block size (st_blksize). > > Here's a diff relative to our fvwrite.c. ok tb