Commit Graph

200337 Commits

Author SHA1 Message Date
hannken
36046fc79f Try to keep snapshot indirect blocks contiguous.
This speeds up snapshot creation by a factor of ~3 and reduces
the file system suspension time by a factor of ~5.
2011-04-23 07:36:02 +00:00
mrg
b19ce40796 convert the iodone_lock to a mutex, and use a condvar for signalling.
this only handles the smallest use of old simple_lock/tsleep/wakeup
APIs inside raidframe, and it points out that cv(9)'s have only one
wait channel per cv, whereas each tsleep() caller can specify a
different wait channel.  this change removes the difference between
normal raidio and waiting for IO during shutdown.

i've tested this one 3 systems, ran atf, and had mlelstv and rmind
review the change.
2011-04-23 06:29:05 +00:00
joerg
5c2887509e Don't kill the read(2) stub, just the magic around it. 2011-04-22 14:18:34 +00:00
adam
6eea015c15 Added postgresql-license 2011-04-22 08:19:25 +00:00
joerg
28617196df Add t_threadjmp 2011-04-22 00:53:44 +00:00
haad
3c44b4003a Workaround problem with qemu where jot 100 produce garbage otput like this
93
94
:+
:,
:-
:.
:/
100

This can't be used as name of file, change jot cmd to work in all cases.
2011-04-21 22:26:46 +00:00
joerg
bf965eb8bc Replace gnugrep keyword with ! bsdgrep 2011-04-21 20:59:38 +00:00
martin
84bd71a202 Add a variation of the setjmp tests that link to libpthread and verify
pthread_self() stays consistent.
2011-04-21 18:58:20 +00:00
christos
1abb5f1349 Fix signed/unsigned warnings. Discover bug where < 0 case cannot happen,
and change it to >= 0 as intended.
2011-04-21 17:58:56 +00:00
christos
aa50e01f38 Don't compare a pointer < 0; this is obviously a missed * here.
While here, remove shadow variable warnings.
2011-04-21 17:56:24 +00:00
joerg
1a9a81992d BSD grep is good enough if someone really needs src/tools/grep. 2011-04-21 14:27:11 +00:00
joerg
0cef9f9563 Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.
2011-04-21 14:26:33 +00:00
phx
756f61da3c CH3WNAS uses the same chips as a DSM-G600, so they might be compatible. 2011-04-21 13:39:54 +00:00
joerg
77abb554dc Disable Fortification for pthread and rump stubs. 2011-04-21 13:38:14 +00:00
jym
7bda9dcf91 Disestablish softint in the error path. 2011-04-21 13:06:20 +00:00
blymn
da8ae82efe Allow a NULL pointer to be passed as an argument to a call. 2011-04-21 10:23:50 +00:00
haad
35392e7afb Add missed MKDEBUG entry. 2011-04-21 09:45:55 +00:00
haad
1676d4f10c Fix MKDEBUG build for all 64bit architectures which have compat lib installed,
after kerberos import.

hi elric@!
2011-04-21 09:09:33 +00:00
martin
211a501951 Backout previous, it breaks lots of tests (tests/lib/librumphijack for
example).
2011-04-21 08:21:13 +00:00
martin
a128c5080b Backout previous, it causes lots of test failures (tests/fs/nfs for
example).
2011-04-21 08:17:00 +00:00
blymn
e0662f42c2 Fix deleting a key definition, it did not work. Also improve tracing
of key definition deletion.
2011-04-21 08:10:49 +00:00
dholland
423044e331 Prune dead assignment, from Henning Petersen in PR 44890. 2011-04-21 06:58:31 +00:00
matt
2420b39245 Move some #ifdefs to prevent a code path change when DEBUG .vs. !DEBUG
Solves problem an assert firing when using NFS on MIPS.
2011-04-21 06:27:17 +00:00
enami
d944227fe6 lwpaddr is a boolean variable and thus doesn't hold an address of lwp.
Compare with correct value so that tr/t works again on current procecss.
2011-04-21 00:24:07 +00:00
enami
9aed075519 - Put empty line after the local variable definition in the sample code
to improve readability.
- Remove indirection operator to clarify error condition.
2011-04-20 23:37:51 +00:00
jym
e1b18c561e Unmap rings before freeing their associated VAs, or we will get a
non-recoverable fault in the error path.
2011-04-20 20:32:38 +00:00
christos
d2eb905628 PR/41258: Elias Benali: Try to get the ethernet address from the BIOS before
failing.
2011-04-20 20:15:03 +00:00
martin
eafc32a2b4 PR fixed, remove expected failure. 2011-04-20 20:02:58 +00:00
martin
235708f88f Update also the non-void pointers to the current test objects.
Finaly fixes PR lib/43964.
2011-04-20 20:00:07 +00:00
christos
57ddf70a57 sync with reality (prototype of open is varyadic) 2011-04-20 19:57:58 +00:00
martin
e40530ec28 Fix "address of a void*" vs. void* confusion.
Part of fixing PR lib/43964.
2011-04-20 19:40:00 +00:00
haad
df816ac199 Do some useful work and fix MKDEBUG build after kerberos update. 2011-04-20 18:55:53 +00:00
wiz
d8926a5a43 Fix typos. 2011-04-20 14:08:07 +00:00
gdt
f641bea548 Rewrite comments about TCP RTO calculations.
Long ago, the storage representations of srtt and rttvar were changed
from the 4.4BSD scheme, and the comments are out of sync with the
code.  This commit rewrites most of the comments that explain the RTO
calculations, and points out some issues in the code.

Joint work with Bev Schwartz of BBN (original analysis and comments),
but I have rewritten and extended them, so errors are mine.

This material is based upon work supported by the Defense Advanced
Research Projects Agency and Space and Naval Warfare Systems Center,
Pacific, under Contract No. N66001-09-C-2073.  Approved for Public
Release, Distribution Unlimited
2011-04-20 13:35:51 +00:00
blymn
8f5d556812 Add boolean values to the standard definitions. 2011-04-20 10:40:14 +00:00
drochner
eefdc5052a fix V->version flag 2011-04-20 10:10:32 +00:00
martin
2886b9e634 Remove some leftovers 2011-04-20 09:57:59 +00:00
drochner
5c9a5a3496 in alloc_sqtd_chain(), deal with the case where a data packet ends
exactly at a page boundary, and the FORCE_SHORT_XFER was set by the
client (which causes that an empty descriptor is needed to terminate
the transfer), from Gordon McNutt per PR kern/44883
(fixed a bit differently than the proposed patch for aesthetical
reasons -- avoids the page pointer to come into unexpexted area earlier)
2011-04-20 09:32:43 +00:00
elric
fa5d8eb474 openssh and libsaslc depend on heimdal, so we need to wait for it to be
built.
2011-04-20 08:36:07 +00:00
wiz
a422d26790 Spelling, sort sections. 2011-04-20 08:20:16 +00:00
jym
f5c98195c2 So, hi again, balloon(4). Merge with the current version:
- driver attaches to xenbus(4) (no compile time option anymore)
- max reservation hypercall is fixed
- sysctl(7) entries are now in KiB (like Xentools) rather than in number
of pages
- some more explanations.
2011-04-20 00:21:34 +00:00
jym
53935bb7a5 Sigh, removing balloon(4) there was already one living under x86.
Not marking the entry in set lists as obsolete, the man page stayed
in there for approx. 5min.

(apologies for the noise)
2011-04-20 00:04:54 +00:00
jym
ab22fdaedf Please welcome balloon(4), the Xen memory balloon man page. 2011-04-19 23:54:38 +00:00
martin
fd21e1d8bf Manually craft a (default) termios description instead of trying to fetch
one from stdin - ATF tests should not rely on stdin being a terminal.
2011-04-19 20:13:55 +00:00
martin
8fc4e7259f Make the test case independend of stdin being a terminal 2011-04-19 20:07:53 +00:00
drochner
ab862eb3da fix some labels for ipcomp counters which didn't make sense at all 2011-04-19 18:34:39 +00:00
phx
161f7a47d9 It is probably better to flash the power LED after power-off on a DSM-G600,
to make the user aware that he needs to remove power manually.
2011-04-19 18:16:03 +00:00
phx
e122f9b9e1 Make it compile when no kernel symbols and no debugger is configured. 2011-04-19 18:06:19 +00:00
phx
e8dfac90be Some DSM-G600 use a Acard ATP865A instead of ATP865. Added its product id. 2011-04-19 17:49:38 +00:00
phx
53ec9ace10 Added a detailed description of altboot command line and boot arguments. 2011-04-19 14:12:54 +00:00