Commit Graph

178213 Commits

Author SHA1 Message Date
ad
59fcf21389 PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.
2009-02-22 20:28:05 +00:00
ad
430f67aa17 PR kern/39564 wapbl performance issues with disk cache flushing
PR kern/40361 WAPBL locking panic in -current
PR kern/40361 WAPBL locking panic in -current
PR kern/40470 WAPBL corrupts ext2fs
PR kern/40562 busy loop in ffs_sync when unmounting a file system
PR kern/40525 panic: ffs_valloc: dup alloc

- A fix for an issue that can lead to "ffs_valloc: dup" due to dirty cg
  buffers being invalidated. Problem discovered and patch by dholland@.

- If the syncer fails to lazily sync a vnode due to lock contention,
  retry 1 second later instead of 30 seconds later.

- Flush inode atime updates every ~10 seconds (this makes most sense with
  logging). Presently they didn't hit the disk for read-only files or
  devices until the file system was unmounted. It would be better to trickle
  the updates out but that would require more extensive changes.

- Fix issues with file system corruption, busy looping and other nasty
  problems when logging and non-logging file systems are intermixed,
  with one being the root file system.

- For logging, do not flush metadata on an inode-at-a-time basis if the sync
  has been requested by ioflush. Previously, we could try hundreds of log
  sync operations a second due to inode update activity, causing the syncer
  to fall behind and metadata updates to be serialized across the entire
  file system. Instead, burst out metadata and log flushes at a minimum
  interval of every 10 seconds on an active file system (happens more often
  if the log becomes full). Note this does not change the operation of
  fsync() etc.

- With the flush issue fixed, re-enable concurrent metadata updates in
  vfs_wapbl.c.
2009-02-22 20:10:25 +00:00
christos
4534498c64 Get the ESCDELAY from the environment. 2009-02-22 20:05:48 +00:00
christos
58e089a802 Document curses environment variables. 2009-02-22 20:04:21 +00:00
ahoka
c0dfcdb337 Add a missing opt_multiboot.h into sys/arch/i386/i386/machdep.c.
Also do the missed rename of multiboot_ksyms_init to
multiboot_ksyms_addsyms_elf to compile with MULTIBOOT set.

This caused a minor and a more serious bug in the past:
- dmesg did not contain the information about the loader
- /dev/ksyms did not work when the kernel was booted with a
  multiboot bootloader (grub for example)

Ok by jmcneill, joerg.
2009-02-22 18:05:42 +00:00
pgoyette
7bcb9558e0 1. Reorganize code into memory-type-specific routines instead of multiple
monstrous if-then-else-if constructs.
2. Display module capacity in GB if it is at least 1GB.
3. Indicate if a memory module is "registered".
4. For DDR3, indicate if a temp-sensor is present.

Inspired by similar changes in OpenBSD's spdmem(4).
2009-02-22 17:28:50 +00:00
agc
88ba3068b1 Use one struct for both zlib and bzip2 decompression. 2009-02-22 16:29:33 +00:00
yamt
dacc2a910d remove a useless cast. 2009-02-22 15:28:43 +00:00
yamt
9287e91c00 do_makedev: look at a correct directory for MAKEDEV.local 2009-02-22 15:27:44 +00:00
yamt
b9a7e1db53 udf_write_filebuf: remove an write-only variable 2009-02-22 15:26:51 +00:00
ad
33774d3216 Report LB_MISC events, for one-off instrumentation. 2009-02-22 15:08:58 +00:00
apb
3578465a0d Under "The following issues need to be resolved manually", say that
unprivileged use of mount(8) now needs the nosuid and nodev flags.
2009-02-22 14:32:54 +00:00
apb
bdc237349e Under "Features to be removed in a later release", try to explain what
softdep is, as well as saying that it will be removed.  Say that the
WAPBL in netbsd-5 is a "preview", not an "experimental preview".
2009-02-22 14:21:48 +00:00
nakayama
c99ea852e4 - fix copyout size in CLOCKCTL_O?ADJTIME.
- add missing break in CLOCKCTL_NTP_ADJTIME.
2009-02-22 13:06:58 +00:00
wiz
02b22ed2c3 New sentence, new line.
Remove trailing whitespace.
2009-02-22 12:18:32 +00:00
tnozaki
63b0517c27 fix following wregexp bug reported in current-user:
- . doesn't match anything
  - [] groups containing more than one character don't match anything
introduced by -Wsign-compare fix.
2009-02-22 11:34:53 +00:00
ad
86df8239c4 Remove softdep menu item. 2009-02-22 11:21:55 +00:00
plunky
ce5adaa39a document the RNDGETPOOLSTAT ioctl. 2009-02-22 11:04:03 +00:00
dholland
18eba7e824 fix a dud indent 2009-02-22 08:32:25 +00:00
dholland
e203f53315 Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)

PR 38093 from Dieter Roelants; I adjusted the patch a little.

This needs pullups for both -4 and -5.
2009-02-22 07:43:01 +00:00
dholland
1fc98979b6 Use pid_t for the result of fork and wait. PR 38031 from Ryan Stutsman. 2009-02-22 07:33:00 +00:00
dholland
57ebf9a50f Improve some cryptic warning messages; from a patch attached to PR 38019
by Greg A. Woods, with a couple adjustments. Compile-tested only, but should
not be able to break anything.
2009-02-22 07:14:46 +00:00
dholland
45e10be5f4 Add __warn_references to getdirentries(), per PR 37730. Okayed by Christos
a while back.
2009-02-22 06:33:38 +00:00
jun
f7db2a9184 add
COMPAT_50
2009-02-22 04:36:16 +00:00
martin
c79c3eed1d Make NAN a compile time constant (with help from the compiler). Suggested
by krister. Fixes PR 40695.
Make references to the old construct (which we can't remove for binary
compatibility reasons) emit a linker warning.
2009-02-22 01:34:01 +00:00
christos
07e886c39c remove VEOF test. the tty is in cooked mode when we are not editing and
the tty driver does the check for us.
2009-02-21 23:35:10 +00:00
christos
954af9bb67 more size_t stuff. 2009-02-21 23:31:56 +00:00
christos
41907725b6 use the VEOF character from the terminal, instead of hard-coding 4. 2009-02-21 23:31:29 +00:00
mhitch
ddaf305db5 Not all 32 bits of the interval count register are being used, so set
the counter_mask to the number of significant bits we are actually using.
Fixes user/system CPU usage times.
2009-02-21 23:19:30 +00:00
plunky
e93c5d3dce update usage message for -x to "build X11" rather than "build X11R6" 2009-02-21 22:04:35 +00:00
jmcneill
63d7c7d5c2 esl(4) is no more 2009-02-21 20:47:39 +00:00
christos
d43c4580f1 s/long/intptr_t/ 2009-02-21 17:24:47 +00:00
christos
eb7fe43718 fix sign comparison warning in debug build. 2009-02-21 17:20:01 +00:00
roy
539843bf71 Import dhcpcd-4.0.11 2009-02-21 10:17:36 +00:00
roy
27323c5250 Import dhcpcd-4.0.11
Fixes since dhcpcd-4.0.10 include recovery from send_packet failure
2009-02-21 10:12:30 +00:00
wiz
6c890a7983 Restore markup changes (probably accidentally) reverted in previous. 2009-02-21 07:58:58 +00:00
jmcneill
2f56ffd259 Adjust for acpi_resource_parse aprint changes, noted by Jukka Salmi 2009-02-21 00:30:37 +00:00
christos
c51877c3f4 back out all prompt changes. they are not needed. 2009-02-21 00:05:23 +00:00
martin
ff1d9de353 Include wsdisplay.h directly in the header to avoid different sizes
of cgsix_softc depending on proper previous includes by the includer
due to #ifdef NWSDISPLAY. Thanks to kmem poison check and DEBUG kernels.
2009-02-20 22:55:26 +00:00
jmmv
2302094ae3 Note the conversion of some kernel tests to ATF. 2009-02-20 21:47:42 +00:00
jmmv
92ed1fa069 Remove the kernel and ipf tests that have been converted to atf and now
live in the tests subtree.
2009-02-20 21:45:47 +00:00
jmmv
b071025674 Add directories and file lists for the new kernel and ipf tests. 2009-02-20 21:45:09 +00:00
jmmv
b9daf172a0 Add the ipf tests developed by Lukasz Strzygowski as part of the atfify
GSoC 2008 project.  These were originally inside the kernel subdirectory
but I think they belong in their own top-level directory because ipf
consists of more components than just the kernel-level packet filter.
2009-02-20 21:42:59 +00:00
jmmv
1861ed5ed9 Add helper macros for tests. 2009-02-20 21:40:55 +00:00
jmmv
99635d94f8 Add the kernel-level tests developed by Lukasz Strzygowski as part of the
atfify GSoC 2008 project.
2009-02-20 21:39:57 +00:00
pooka
69c19242f6 need sys/syscall.h 2009-02-20 18:08:12 +00:00
pooka
21edd4422b missed one prototype 2009-02-20 18:02:19 +00:00
pooka
700c2e19b8 typedef rump_sysproxy_t 2009-02-20 17:59:58 +00:00
pooka
bbcc1462b6 Add local syscall proxy as the default. 2009-02-20 17:58:22 +00:00
pooka
7d67be65d2 regen: make syscalls through a table 2009-02-20 17:57:46 +00:00