christos
8bf0b7f8c5
The last stderr message felt lonely and committed suicide.
2017-04-06 14:01:27 +00:00
christos
bcf59e7932
transposition police!
2017-04-06 14:00:34 +00:00
abhinav
1a04cf40b6
Add MLINKS for extent_alloc1(9) and extent_alloc_subregion1(9).
2017-04-06 10:46:52 +00:00
abhinav
282ddd74dd
Add extent_alloc1 and extent_alloc_subregion1 to the NAME section.
2017-04-06 10:42:14 +00:00
abhinav
036b240ee3
Use Xr to refer uiomove(9) and kcopy(9)
...
Add kcopy(9) to SEE ALSO as well
2017-04-06 09:52:32 +00:00
wiz
a18f8f5ffd
Add missing word.
2017-04-06 09:41:05 +00:00
knakahara
c85f49ff91
fix build failure ALL
2017-04-06 09:39:12 +00:00
ozaki-r
80d40a78b4
Prepare netipsec for rump-ification
...
- Include "opt_*.h" only if _KERNEL_OPT is defined
- Allow encapinit to be called twice (by ifinit and ipe4_attach)
- ifinit didn't call encapinit if IPSEC is enabled (ipe4_attach called
it instead), however, on a rump kernel ipe4_attach may not be called
even if IPSEC is enabled. So we need to allow ifinit to call it anyway
- Setup sysctls in ipsec_attach explicitly instead of using SYSCTL_SETUP
- Call ip6flow_invalidate_all in key_spdadd only if in6_present
- It's possible that a rump kernel loads the ipsec library but not
the inet6 library
2017-04-06 09:20:07 +00:00
msaitoh
a84408c82d
Fix typos:
...
- s/Readness/Readiness/
- s/Presense/Presence/
- s/supportted/supported/
- s/Rquester/Requester/
- s/Check Enab/Check Enable/
2017-04-06 08:57:01 +00:00
kre
b55501d5fa
Sort (NFC)
2017-04-06 05:08:17 +00:00
pgoyette
9ea30e2990
Fix typo: s/ubc_range/ubc_zerorange/
2017-04-06 04:28:57 +00:00
ozaki-r
31d0775c4c
Revert "Make sure to hold if_ioctl_lock when calling ifp->if_ioctl"
...
As per pgoyette@ and riastradh@ requests; we shouldn't decide to
hold a lock based on if the lock is held or not.
2017-04-06 03:54:59 +00:00
maya
35cd97ea2e
don't guard lfs_sbactive or lfs_log with splbio, lfs_lock is plenty.
2017-04-06 03:21:01 +00:00
maya
f1b01545d2
remove deprecated comment (and move it below assert)
...
there's no spl dance for I/O here.
2017-04-06 03:15:03 +00:00
maya
b9333d2338
don't guard lfs_reshash with splbio, lfs_lock is plenty
2017-04-06 03:12:48 +00:00
pgoyette
57e79085cf
Expand on previous, and note that splnet() and spltty() are also synonyms
...
for splvm().
2017-04-06 03:00:13 +00:00
maya
b030a154a8
if DEBUG panic => KDASSERT. reduces ifdefs. NFC
2017-04-06 02:55:22 +00:00
maya
4408dea477
Provide a LFS_ENTER_LOG (__nothing) in the !DEBUG case.
...
so I can drop lots of #ifdef DEBUG around this macro. NFCI
2017-04-06 02:38:08 +00:00
pgoyette
249d8f6bdf
Oooppsss - the MLINK for splbio.9 was already present!
2017-04-06 02:24:51 +00:00
pgoyette
f2a10c473c
Document splbio() as a deprecated synonym for splvm().
2017-04-06 02:23:26 +00:00
pgoyette
67c1a86223
Bump date for previous.
2017-04-06 02:22:52 +00:00
pgoyette
e572da12b2
Add entries for ubc_purge(9) and ubc_zerorange(9)
2017-04-06 01:54:40 +00:00
maya
92e2fd3e96
Drop single use macro LFS_BCLEAN_LOG with an inlined implementation.
...
LFS_ENTER_LOG currently macro grabs lfs_lock, so I'd like to have just one
name for it.
2017-04-06 01:54:23 +00:00
pgoyette
89fa587767
Document ubc_zerorange(9). Add it (and ubc_purge(9)) to the MLINKS
2017-04-06 01:54:17 +00:00
christos
6b0cbcd6e2
use ubc_zerorange
2017-04-06 00:02:19 +00:00
christos
55498c5a44
delete extra file
2017-04-05 21:26:30 +00:00
jdolecek
046f6d9783
optionally use FUA instead of full cache sync, and DPO for journal writes,
...
when supported by disk device; controlled by sysctl vfs.wapbl.allow_fuadpo,
default off for now
discussed on tech-kern
2017-04-05 20:38:53 +00:00
jdolecek
fe950f29d6
rf_get_component_caches(): remove useless condition
2017-04-05 20:30:55 +00:00
jdolecek
db79755da6
write info about DKCACHE_FUA, DKCACHE_DPO in disk_getcache()
2017-04-05 20:27:09 +00:00
jdolecek
6801660c77
expose disk device FUA/DPO support via DIOCGCACHE, and allow the flags
...
to be set for I/O; implement support in sd(4) and nvme(4)
discussed on tech-kern
2017-04-05 20:15:49 +00:00
jdolecek
f8c7987c1d
add support for DIOCGCACHE; contrary to DIOCCACHESYNC, query any non-dead
...
disk in the set, even currently reconstring one
2017-04-05 19:40:26 +00:00
jdolecek
1af402fe8a
introduce DKCACHE_COMBINE() macro - it combines the flags in a way that
...
all common flags are retained, and flags regarding write cache are preserved
if either of the devices has it; callers can thus rely on write cache not
being possible to be used when both flags are missing
use the new macro for ccd(4)
2017-04-05 18:34:56 +00:00
msaitoh
c930008140
Fix a bug that non-GMII devices don't send a routing message when the link
...
status is changed. Call if_link_state_change(). Tested with 82572EI(TBI) and
I350(SERDES).
XXX pullup-[67].
2017-04-05 10:44:35 +00:00
knakahara
e8a4523663
fix processes accessing /dev/crypto stall when over three processes run with a hardware encryption driver
...
The process has stalled at cv_wait(&crp->crp_cv) because cryptodev_cb()
is not called as cryptoret() kthread keep waiting at cv_wait(&cryptoret_cv).
Previous opencrypto implementation assumes the thread from cryptodev.c
does all processing in the same context, so skips enqueueing and sending
cryptoret_cv. However, the context can be switched, e.g. when we use
a hardware encryption driver.
And add debug messages.
2017-04-05 08:51:04 +00:00
msaitoh
2f14115136
IF PCIe's Alternative Routing-ID Interpretation (ARI) is enabled in a bridge,
...
all area under the bus should be checked in pci_enumerate_bus() to enumerate
all existing devices.
The similar code also be required for "pcictl pciN list". (not yet)
2017-04-05 04:04:54 +00:00
msaitoh
b74dbb8635
Move struct ppb_softc into ppbvar.h.
2017-04-05 03:51:36 +00:00
ozaki-r
bd2b5ee8eb
Make sure to hold if_ioctl_lock when calling ifp->if_ioctl
...
Unfortunately callers of ifp->if_ioctl (if_addr_init, if_flags_set
and if_mcast_op) may or may not hold if_ioctl_lock, so we have to
hold the lock only if it's not held.
2017-04-05 03:47:51 +00:00
knakahara
685eeb51f1
fix module build
2017-04-04 23:49:17 +00:00
christos
b53a5a0ca4
use MAX_PAGE_SIZE.
2017-04-04 21:07:50 +00:00
sevan
cb2085f041
Revert change to allow builds to continue until the missing vlan.h file is committed.
...
https://mail-index.netbsd.org/source-changes/2017/04/04/msg083283.html
2017-04-04 16:49:15 +00:00
sevan
a15505744d
Add RCS tag.
2017-04-04 12:25:40 +00:00
sevan
8210d81cd5
Define NCPUINFO and set it to 1 or MAXCPUS whether on single or multiprocessor system.
...
Use NCPUINFO as the array size for *cpu_info[].
Closes PR port-hpcarm/52138
Patch by skrll
ok pgoyette
2017-04-04 11:46:12 +00:00
knakahara
6f4f1b05e1
remove unnecessary if_vlanvar.h. add missing include "vlan.h".
...
pointed out by s-yamaguchi@IIJ, thanks.
2017-04-04 10:25:38 +00:00
ozaki-r
26a0055807
Get rid of unused macros
2017-04-04 09:53:02 +00:00
sevan
713190a574
Fix rcs tag.
2017-04-04 09:26:32 +00:00
hannken
0007fb2f2b
Use spec_node_lookup_by_dev() and spec_node_getmountedfs() to
...
retrieve a mount by device.
2017-04-04 07:36:38 +00:00
knakahara
87a1dfd1ed
fix atf failed.
2017-04-04 04:34:43 +00:00
christos
437ea61157
PR/52136: David Binderman: Rewrite loop to fix bounds check.
2017-04-03 17:40:07 +00:00
christos
b3cf0d41b0
PR/52135: David Binderman: Fix loop bounds checking.
2017-04-03 17:37:29 +00:00
christos
1e2f618b17
PR/52134: David Binderman: Fix loop bounds checking.
2017-04-03 17:36:17 +00:00