Re: IO sorting

2010-06-30 Thread Thordur I Bjornsson
On Wed, Jun 30, 2010 at 01:55:30PM -0500, Marco Peereboom wrote: > New drives have much more sophisticated IO queueing algorithms and > posses much more information about the physical limitations of drive > platters (or lack thereof) than an OS can ever hope to have. So switch > SCSI (and SATA) dr

Re: cvsinfo

2010-07-13 Thread Thordur I Bjornsson
On Mon, Jul 12, 2010 at 09:32:30PM -0400, Ted Unangst wrote: > To help investigate some changes recently, I wrote a tool that will > extract (reverse) patches from cvs. I was telling a coworker about this > today, and he said it was a lot like cvsps. Maybe it is, but cvsps chokes > big time tr

Re: cvsinfo

2010-07-13 Thread Thordur I Bjornsson
On Tue, Jul 13, 2010 at 10:20:58AM -0600, Tobias Weingartner wrote: > On Tuesday, July 13, Jonathan Gray wrote: > > On Mon, Jul 12, 2010 at 09:32:30PM -0400, Ted Unangst wrote: > > > To help investigate some changes recently, I wrote a tool that will > > > extract (reverse) patches from cvs. I wa

Re: DNSSEC and OpenBSD default BIND

2010-07-19 Thread Thordur I Bjornsson
On Sun, Jul 18, 2010 at 07:45:28PM +0200, Denis Fondras wrote: > Hello all, > > I'm doing some testing with DNSSEC now that root are signed but it > seems BIND-9.4.2-P2 (provided with OpenBSD 4.7) is not able to load > the trust-anchor : > > Jul 18 19:35:22 rb600a named[11605]: loading configurat

Re: [patch] pf.conf

2010-07-28 Thread Thordur I Bjornsson
On Wed, Jul 28, 2010 at 10:08:11PM +0200, Martin Toft wrote: > Hi > > Attending a firewall talk at a nerdy summer camp [0], I decided to check > out the current, default pf.conf. There is no reason to exclude lo0 in > the block rule for X11, since the lo interface group is skipped. > Additionally

Re: end the VOP experiment

2010-08-27 Thread Thordur I Bjornsson
On Fri, Aug 27, 2010 at 09:34:30AM -0400, Ted Unangst wrote: > On Fri, Aug 27, 2010 at 4:54 AM, Thordur I Bjornsson wrote: > > +/* Global vfs data structures for cd9660. */ > > +struct vops cd9660_vops = { > > + ? ? ? .vop_default ? ?= eopnotsupp, > > + ? ? ? .vop

Backout mclgeti for vr(4).

2010-08-27 Thread Thordur I Bjornsson
As seen on misc@, and also by myself sometime ago, but I forgot about it as work got hectic and I was moving. Anyways, vr(4) will not even surivie a few ping -f's, before the pools become corrupt, this has (obviously) something todo with how MCLGETI takes and puts buf's of the rings; Reverting MC

Re: Backout mclgeti for vr(4).

2010-08-30 Thread Thordur I Bjornsson
On Mon, Aug 30, 2010 at 06:46:53PM -0400, Brynet wrote: > Evening, > > I have two machines with vr(4) interfaces running 4.7, and I can't seem > to find any problem running ping -f against them. > > vr0 at pci0 dev 12 function 0 "VIA VT6105 RhineIII" rev 0x86: apic 2 int > 19 (irq 10), address 00

cut swap over to bufq

2010-09-03 Thread Thordur I Bjornsson
Hi gang, Diff cut's swapping to regular files over to using bufq's. - There is no point is using BUFQ_DISKSORT, as we don't know what the underlying device is, and it has it's own bufq any way, hence bufq fifo. - sw_reg_start can end up calling into VOP_STRATEGY() from the biodone() callbac

Re: cut swap over to bufq

2010-09-05 Thread Thordur I Bjornsson
On Fri, Sep 03, 2010 at 09:11:39AM +, Thordur I Bjornsson wrote: > Hi gang, Gabriel Kihlman spotted a small problem, swd_active was not being incremented. Here's an updated diff. Index: sys/buf.h === RCS fil

Re: cut swap over to bufq

2010-09-05 Thread Thordur I Bjornsson
On Sun, Sep 05, 2010 at 03:57:58PM +0100, Owain Ainsworth wrote: > On Sun, Sep 05, 2010 at 02:07:03PM +0000, Thordur I Bjornsson wrote: > > On Fri, Sep 03, 2010 at 09:11:39AM +, Thordur I Bjornsson wrote: > > > Hi gang, > > > > Gabriel Kihlman spotted a sma

Re: cut swap over to bufq

2010-09-05 Thread Thordur I Bjornsson
On Sun, Sep 05, 2010 at 04:39:33PM +0200, Mark Kettenis wrote: > > Date: Sun, 5 Sep 2010 14:07:03 + > > From: Thordur I Bjornsson > > > > On Fri, Sep 03, 2010 at 09:11:39AM +0000, Thordur I Bjornsson wrote: > > > Hi gang, > > > > Gabriel Ki

Re: cut swap over to bufq

2010-09-06 Thread Thordur I Bjornsson
On Sun, Sep 05, 2010 at 07:03:24PM -0600, Bob Beck wrote: > > > > > > Basically by saying you will prevent swap is that you will make a > > situation > > > where you ask for a page of memory and don't get it because you are > > > suspending. > > > > Nothing the kernel needs to touch is swappable.

lookup -> vfs_lookup

2010-09-08 Thread Thordur I Bjornsson
i've always been annoyed with the oh so very generic name "lookup" for the vfs lookup routine, so rename it and the relookup routine to vfs_lookup and vfs_relookup. comments/oks? Index: kern/vfs_lookup.c === RCS file: /home/cvs/src/s

VATTR_NULL/NULLVP

2010-09-09 Thread Thordur I Bjornsson
These two have been pet peeves of mine for some time and I think they are ripe for the attic. VATTR_NULL -> vattr_null; NULLVP -> NULL; Note, I left the regres for diff alone, there no need to change it. Comments/OKs? Index: share/man/man9/getdevvp.9

Re: VATTR_NULL/NULLVP

2010-09-09 Thread Thordur I Bjornsson
On Thu, Sep 09, 2010 at 03:54:13PM +0200, Claudio Jeker wrote: > On Thu, Sep 09, 2010 at 01:05:53PM +0000, Thordur I Bjornsson wrote: > > These two have been pet peeves of mine for some time and I think > > they are ripe for the attic. > > > > VATTR_NULL ->

Re: bioctl.c and /etc/rc patches

2010-09-12 Thread Thordur I Bjornsson
On Sun, Sep 12, 2010 at 11:44:12AM +0200, merlyn wrote: > I found out (thanks Stuart Henderson), that kmail replaces tabs with > spaces, so patch is not appliable, so I've uploaded the patches here: This is the complication. When looking at diffs, people want them _in the message body_ not becaus

Re: Minor clarifications for bioctl.8 and softraid.4

2010-09-12 Thread Thordur I Bjornsson
On Sun, Sep 12, 2010 at 12:22:25PM -0700, Chris Palmer wrote: > -Where necessary, produce "human-readable" output. > +Where necessary, produce ``human-readable'' output. Why is this better ? (I'm not a native english speaker, so I'm genuinely asking) > -# dd if=/dev/zero of=/dev/rsd3c bs=1m count=

Re: [PATCH] bioctl(8): fix dd invocation

2009-05-09 Thread Thordur I. Bjornsson
Joachim Schipper wrote on Sat 9.May'09 at 12:20:25 +0200 > The bioctl(8) man page helpfully suggests dd for zeroing out the > disklabel etc. on the new disk. However, the command doesn't work, since > OpenBSD's dd doesn't understand '1M'. > > It may be slightly more readable to use 'bs=1024 co

nfs retransmission book keeping

2009-05-20 Thread Thordur I. Bjornsson
Hi gang... It would be great if people running NFS (soft, and hard mounts) could give this diff a spin. what it does essentially is to redo the retransmission booking by keeping count of maximum rexmits in one place (the nfsmount structure) and kill deadthresh, (an nqnfs left over); that causes a

Re: ksh vi mode werase (^W) handling

2009-06-03 Thread Thordur I. Bjornsson
Mike Erdely wrote on Wed 3.Jun'09 at 21:29:57 -0400 > On Wed, Jun 03, 2009 at 06:19:15PM -0700, Darrin Chandler wrote: > > Hi, > > > > Here's a diff to make ksh vi mode handle werase more like vi. It's > > really irritating to have whole paths go away on ^W instead of just the > > last bit. >

Re: vfs cache diff, that needs some testing.

2009-06-13 Thread Thordur I. Bjornsson
Dorian B|ttner wrote on Fri 12.Jun'09 at 19:25:05 +0200 AFAIK the whole work was done to make the cache more sane. The current version is just insane enough that Bob was crying, shouting and playing with red wine bottles during c2k9. > Hi Bob, > > tried your patch, got

Re: faq/pf/rdr.html "nobody"

2009-06-19 Thread Thordur I. Bjornsson
Stuart Henderson wrote on Fri 19.Jun'09 at 20:56:24 +0100 > The FAQ uses "nobody" to run netcat in an example; this should > be changed to a different user. Do people think "proxy" would be > appropriate or should we use something else? Don't know about "proxy". But it definitly should not use n

Re: add long option names to mount_nfs' man page

2009-06-24 Thread Thordur I. Bjornsson
Jason McIntyre wrote on Wed 24.Jun'09 at 14:22:20 +0100 > On Sat, Jun 13, 2009 at 02:15:06PM +0200, LEVAI Daniel wrote: > > > > If anyone is interested, here is a patch to mount_nfs' man page, to include > > mount_nfs(8) parameters' long versions (the fstab(5) style long versions). > > Perhaps r

Re: New installer - initial user creation

2009-06-26 Thread Thordur I. Bjornsson
viq wrote on Fri 26.Jun'09 at 14:45:04 +0200 > Since the user created during installation is somewhat marketed as "root > replacement", shouldn't he be added to staff login class ? Yes, I'd actually love that. Then I could use it. krw ?

Re: namecache diff - again

2009-08-12 Thread Thordur I. Bjornsson
Olivier Cherrier wrote on Wed 12.Aug'09 at 3:17:16 -0400 > On Mon, Aug 10, 2009 at 11:43:34AM -0600, b...@openbsd.org wrote: > > After having fast recycle kick my butt for two days finding > > vnode reuse bugs.. here is the new diff. this does appear stable on > > my machines. > > > >

Re: tmux(1) bugfix

2009-09-05 Thread Thordur I. Bjornsson
Simon Nicolussi wrote on Sat 5.Sep'09 at 1:59:04 +0200 > Hi, > > one of the recent changes to tmux has the unintented side-effect that > all clients are being redrawn every second. This is visible for people > with slow terminals and furthermore makes copying text with the mouse > quite trick

softraid: Fixup concat

2017-04-17 Thread Thordur I. Bjornsson
Y'all, During some refactoring work, the volume size calculation for the concat discipline got lost, resulting in zero sized volumes. http://secnorth.net/diffs/softraid-concat.diff: diff --git a/sys/dev/softraid_concat.c b/sys/dev/softraid_concat.c index 90cb12c8b6e..11fbf8ddb3f 100644 --- a/sys

Re: First step towards improved unlocking in the VFS layer.

2023-06-12 Thread Thordur I. Bjornsson
On Mon, Jun 12, 2023 at 9:15 PM Bob Beck wrote: > > On Mon, Jun 12, 2023 at 11:01:18AM -0600, Theo de Raadt wrote: > > + KASSERTMSG(1, "Ich Habe eine Rotweinflarsche in meinem Arsche"); > > That part of the diff is not OK. If everyone did this, we would have a > > mess on our hands. > (or I