249876 Commits

Author SHA1 Message Date
riastradh
6d3ccf9762 Simplify: eliminate a now-needless unlock/lock cycle. 2017-04-11 14:45:46 +00:00
christos
b23251f1fa return EPERM like the other failures. 2017-04-11 14:37:07 +00:00
christos
efe6ce389d Put back module_autoload code; the module_autoload code now checks that
root is mounted.
2017-04-11 14:32:43 +00:00
christos
e85d5cbc14 Don't try to autoload modules before root is mounted. 2017-04-11 14:31:55 +00:00
riastradh
b7fb52a55b regen to confirm no functional change 2017-04-11 14:30:33 +00:00
riastradh
d20cc14aa7 Eliminate now-unused WILLUNLOCK vop flag. 2017-04-11 14:29:32 +00:00
roy
08bcff5614 Use RO_MSGFILTER. 2017-04-11 14:29:23 +00:00
riastradh
2b4f5f70bd regen 2017-04-11 14:26:13 +00:00
riastradh
87fb32292e Make VOP_INACTIVE preserve vnode lock on return.
Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Ride 7.99.68, a bumpy bus of incremental vfs improvements!
2017-04-11 14:24:59 +00:00
roy
f2128fd5cf Use RO_MSGFILTER. 2017-04-11 14:15:08 +00:00
roy
ce570b4d13 Use recvmsg(2) to read route(4) messages.
Use a shim function for this which can grow it's buffer when needed.
2017-04-11 14:13:01 +00:00
christos
9c32add5f8 Bye gnu!
christos
2017-04-11 14:05:35 +00:00
christos
7c333c1d16 don't descend into gnu 2017-04-11 14:04:15 +00:00
roy
5135ab1948 Add RO_MSGFILTER socket option to PF_ROUTE to filter out
un-wanted route(4) messages.

Inspired by the ROUTE_MSGFILTER equivalent in OpenBSD,
but with an API which allows the full range of potential message types.
2017-04-11 13:55:54 +00:00
jmcneill
314c2fae0e Hide debug messages with TEGRA_XUSBPAD_DEBUG 2017-04-11 11:32:51 +00:00
abhinav
3b14f403c3 s/Sets/Set: Use style consistent with the other sentences in that list.
Add .Pp before next sentence.
2017-04-11 11:06:39 +00:00
jmcneill
e15f855fc1 Set SDHC_FLAG_NO_HS_BIT for Tegra sdhc. No noticeable impact on performance
and it seems to get rid of the spurious data transfer timeouts.
2017-04-11 11:06:02 +00:00
hannken
228d72edde Field "layerm_vfs" of "struct layer_mount" got superseded by "mnt_lower".
Adapt consumers and remove the now unused field.

Ride 7.99.68
2017-04-11 07:51:37 +00:00
hannken
2f4fa4f94f Add an iterator over the currently mounted file systems.
Ride 7.99.68
2017-04-11 07:46:37 +00:00
skrll
31e8296f1f Trailing whitespace 2017-04-11 07:45:36 +00:00
riastradh
4de868a56e New diagnostic functions vn_locked, vn_anylocked.
For use only within KASSERT.

vn_locked asserts exclusive lock, as most operations require.
vn_anylocked asserts exclusive or shared lock.

No effect unless VV_LOCKSWORK.  This will reduce the visual cost of
sprinkling lock ownership assertions throughout kern/vfs_*.
2017-04-11 06:47:25 +00:00
riastradh
666f39d910 Fix non-DIAGNOSTIC build by using vp outside KASSERT too. 2017-04-11 06:01:03 +00:00
riastradh
aba083eab6 Sprinkle lock ownership assertions. 2017-04-11 05:48:04 +00:00
riastradh
74180a5176 Use a spin lock -- we take this in interrupt context.
The nv_wait is a busy-wait, so holding a spin lock over it is OK.

Found, fixed, and tested by maya.  Cosmetically tweaked by me.
2017-04-11 04:43:12 +00:00
christos
8984fca3dd add more dc, sort 2017-04-11 01:22:13 +00:00
kre
586962f8a3 The new bc/dc has no dc.info file. 2017-04-11 00:03:16 +00:00
maya
ab00192bf6 Bump date for previous. 2017-04-10 22:49:35 +00:00
riastradh
f6613d2861 B_DELWRI got renamed BO_DELWRI ages ago. 2017-04-10 22:36:14 +00:00
jmcneill
ec75ca4b3d tegra: set loadaddr to 0x90000000 (the default kernel_addr_r overlaps
fdt_addr_r on TK1 + L4T 21.x), and set default root device to ld0a to
match new device probe order.
2017-04-10 22:25:36 +00:00
jdolecek
a11ceffedb just do not autoload scsiverbose module, it causes deadlock if it happens
while root fs is being mounted

adresses second part of PR kern/52147 by Michael van Elst, thank you
2017-04-10 21:53:37 +00:00
jdolecek
6ef596151b rename allow_fuadpo to allow_dpofua, so it's the same order as the SCSI flag 2017-04-10 21:36:05 +00:00
jdolecek
75f6d4fd1a improve performance of journal writes by parallelizing the I/O - use 4 bufs
by default, add sysctl vfs.wapbl.journal_iobufs to control it

this also removes need to allocate iobuf during commit, so it
might help to avoid deadlock during memory shortages like PR kern/47030
2017-04-10 21:34:37 +00:00
jdolecek
946ca69f6d change b_wapbllist to TAILQ, to preserve the LRU order 2017-04-10 19:52:38 +00:00
sevan
88e7faeafa Direct reader to intro(9lua), lua(9) does not exist. 2017-04-10 19:49:39 +00:00
jdolecek
ce9e7213cd execute the cache page MODE SENSE with XS_CTL_SILENT; it's pretty normal
for e.g. USB sticks thus showing error is not really useful, and the pretty
printing triggers autoload of scsiverbose module and immediate deadlock when
the DIOCGCACHE call is made by WAPBL during root mount

adresses PR kern/52147 by Michael van Elst
2017-04-10 18:20:43 +00:00
christos
addc967384 Add CVSID. 2017-04-10 18:13:46 +00:00
kamil
3864b78528 fork1 and siginfo5 no longer fails on !x86 platforms in t_ptrace_wait*
The PTRACE_FORK operation has been fixed. Patch committed by <martin>

PR kern/52117
2017-04-10 16:45:57 +00:00
christos
53f9164e33 mention new dc 2017-04-10 16:44:46 +00:00
christos
f41f6d9850 Don't descend into dc 2017-04-10 16:40:11 +00:00
christos
7178305aad PSD docs for dc 2017-04-10 16:39:12 +00:00
christos
e1864aa508 Add dc docs 2017-04-10 16:38:40 +00:00
christos
2e389fd691 switch to the OpenBSD dc 2017-04-10 16:38:19 +00:00
christos
fc8ee2f577 build fixes. 2017-04-10 16:37:48 +00:00
christos
7d0b3229b8 Import OpenBSD's dc. 2017-04-10 16:34:18 +00:00
christos
5d2e36e882 Add missing attributes to fix clang compilation 2017-04-10 15:13:22 +00:00
christos
f92961fef2 Add missign % (yyerror argument is a printf format) 2017-04-10 15:13:04 +00:00
dholland
d4f30a5920 Return value pointers should be the last argument. 2017-04-10 15:04:32 +00:00
abhinav
c626d04131 Add missing argument for H_SET.
ok christos@
2017-04-10 15:02:40 +00:00
christos
b12f0138d5 PR/52150: Ryota Ozaki: ipsec: kernel panic on adding a key with an invalid
length.
2017-04-10 14:19:22 +00:00
ozaki-r
51b95f5900 Fix assertion failure in in6_lookup_multi via key_ismyaddr
in6_lookup_multi was forgotten to be migrated to in6_multi_group.
Also psz should be changed to psz/psref because in6_multi_group is
sleepable.

Fix PR kern/52151
2017-04-10 14:02:25 +00:00