diff options
author | 2020-02-20 16:26:01 +0000 | |
---|---|---|
committer | 2020-02-20 16:26:01 +0000 | |
commit | 7f649021ad0a20c1622ce64217e84ab0f923ff79 (patch) | |
tree | a54033e48f692bcff850b80125206e241d85bcc7 /sys/kern/kern_physio.c | |
parent | dwiic(4): tsleep(9) -> tsleep_nsec(9); ok claudio@ (diff) | |
download | wireguard-openbsd-7f649021ad0a20c1622ce64217e84ab0f923ff79.tar.xz wireguard-openbsd-7f649021ad0a20c1622ce64217e84ab0f923ff79.zip |
Relax the grip the dead hand of QBUS (a.k.a. MAXPHYS) has on the
throat of physio().
Allows individual devices to eventually be modified to support larger
physio() (a.k.a. 'raw') i/o's if they prove capable of them.
No immediate functional change.
Tested for many weeks by and ok robert@.
Diffstat (limited to 'sys/kern/kern_physio.c')
-rw-r--r-- | sys/kern/kern_physio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c index 9549fc4bbaf..b2d561c6afe 100644 --- a/sys/kern/kern_physio.c +++ b/sys/kern/kern_physio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_physio.c,v 1.46 2020/01/26 23:06:39 krw Exp $ */ +/* $OpenBSD: kern_physio.c,v 1.47 2020/02/20 16:26:01 krw Exp $ */ /* $NetBSD: kern_physio.c,v 1.28 1997/05/19 10:43:28 pk Exp $ */ /*- @@ -129,7 +129,6 @@ physio(void (*strategy)(struct buf *), dev_t dev, int flags, (*minphys)(bp); todo = bp->b_bcount; KASSERTMSG(todo >= 0, "minphys broken"); - KASSERTMSG(todo <= MAXPHYS, "minphys broken"); /* * [lock the part of the user address space involved |