Pawel Jakub Dawidek
6c25233782
Deny invalid I/O requests which comes from userland here, because later
...
we'll get a panic.
MT5 candidate.
Reviewed by: phk
2004-09-27 22:10:01 +00:00
Poul-Henning Kamp
87d451b95e
Desupport device nodes on EXT2 filesystems.
2004-09-27 20:38:46 +00:00
Pawel Jakub Dawidek
d2fb9c62e2
Avoid race while synchronizing components. It is very hard to bump into,
...
but it is possible:
1. Read data from good component for synchronization.
2. Write data to the same area.
3. Write synchronization data, which are now stale.
Found by: tegge (for gmirror)
2004-09-27 20:32:35 +00:00
Poul-Henning Kamp
52c55a26b1
Remove NFS4 vop method vector for devices: we are desupporing device nodes
...
on anything but DEVFS and in this case it was not even used (see below).
Put the NFS4 vop method for fifo's behind "#if 0" because it is unused.
Add a XXX comment to say that I think the unusedness is a bug.
2004-09-27 20:02:50 +00:00
Andrew Gallatin
e237071f1a
Add sc_iostart to softc and unbreak the build.
...
This was forgotten in my previous commit to add i/o port to uninorth.c
Pointy-hat to: me
2004-09-27 19:51:58 +00:00
Poul-Henning Kamp
9f2b7bc4a8
style consistency.
2004-09-27 19:44:39 +00:00
Pawel Jakub Dawidek
829c0864cb
Minor, but very important condition fix. The current one can never be true.
2004-09-27 19:32:26 +00:00
Poul-Henning Kamp
961da2716b
Give cluster_write() an explicit vnode argument.
...
In the future a struct buf will not automatically point out a vnode for us.
2004-09-27 19:14:10 +00:00
Dag-Erling Smørgrav
bd7667733f
Attempting to unset an undefined variable or function should not be
...
considered an error according to the Open Group Base Specification.
PR: standards/45738
Submitted by: Matthias Andree <matthias.andree@web.de>
MFC after: 3 days
2004-09-27 18:43:18 +00:00
Ken Smith
e400e0825a
Some minor print/panic message cleanups.
2004-09-27 16:06:38 +00:00
Pawel Jakub Dawidek
cf41526bdc
Decrease kern.geom.mirror.timeout to 4, so it is smaller than
...
vfs.root.mountdelay by default.
2004-09-27 13:47:37 +00:00
Ken Smith
705ea0213d
Initialize the count of saved register windows to 0 in the pcb created
...
for the new thread. The rest of the fields in the pcb wind up being
written to before they're read as a normal part of the pcb usage but
this field may be read upon return to userland, having it be uninitialized
garbage is bad.
Submitted by: Andrew Belashov (bel at orel dot ru)
Reviewed by: jake
MFC after: 3 days
2004-09-27 12:34:47 +00:00
Poul-Henning Kamp
eb7b5f46a3
Stop on write error.
2004-09-27 08:24:05 +00:00
Doug Barton
2a61444749
1. Add much finer granularity to the NO_BIND knobs with the addition of:
...
NO_BIND_DNSSEC, NO_BIND_ETC, NO_BIND_NAMED, and NO_BIND_UTILS.
2. Make creation of directories in /usr/include that are only needed
in the WITH_BIND_LIBS case conditional.
Reviewed by: ru, des
2004-09-27 08:23:43 +00:00
Doug Barton
8b7a7341b3
Remove the directories that are now only installed when the user
...
defines WITH_BIND_LIBS.
2004-09-27 08:18:43 +00:00
Doug Barton
795f8333f2
Hook the BIND.* files up to the build.
2004-09-27 08:17:51 +00:00
Doug Barton
536fbda965
Seperate out the optional parts of the include tree that are
...
only built and installed when the user defines WITH_BIND_LIBS.
2004-09-27 08:16:29 +00:00
Doug Barton
9ab99fee24
Add a file spec to create a chroot directory structure for
...
a BIND name server.
This file is not being used yet, but will be soon.
2004-09-27 08:15:34 +00:00
Doug Barton
11a3397fec
This file is about to get some optional bits, so line up the parts of
...
the FILES variable one line at a time.
This should be a whitespace change only.
Reviewed by: ru
2004-09-27 07:00:44 +00:00
Poul-Henning Kamp
a5993c332a
Used cached cdevsw pointer.
2004-09-27 06:34:30 +00:00
Poul-Henning Kamp
743cd76a73
Add cdevsw->d_purge() support.
...
This device method shall wake up any threads sleeping in the device driver
and make the depart the drivers code for good.
2004-09-27 06:18:25 +00:00
Julian Elischer
c7f4c39534
Don't use an uninitialised variable when reading from a ktr alq file.
2004-09-27 05:56:57 +00:00
Alan Cox
c97680825c
Add cross references to vm_map_entry_resize_free.9.
...
Submitted by: Mark W. Krentel
2004-09-27 05:44:28 +00:00
Alan Cox
af3db1449f
Document the O(log n) algorithm for finding free space.
...
Submitted by: Mark W. Krentel
2004-09-27 04:22:41 +00:00
Alan Cox
0a7c173775
Document the flags field.
...
Submitted by: Mark W. Krentel
2004-09-27 03:59:36 +00:00
Doug Barton
fd01cb6244
Previously I thought I was seeing a failure to install the .5 man pages
...
with this configuration, but Ruslan tells me that I was probably mistaken,
and on retest the .5 pages are being installed just fine.
Therefore reverse the MAN[58] change in favor of the more modern syntax.
Submitted by: ru
2004-09-27 03:55:03 +00:00
Dag-Erling Smørgrav
456f759554
Document the upgrade procedure.
2004-09-27 00:25:56 +00:00
Pawel Jakub Dawidek
0217ba9893
Forgot to commit addition of ds_resync field.
2004-09-26 20:42:35 +00:00
Pawel Jakub Dawidek
e8adbe4499
Avoid race while synchronizing components. It is very hard to bump into,
...
but it is possible:
1. Read data from good component for synchronization.
2. Write data to the same area.
3. Write synchronization data, which are now stale.
Found by: tegge
2004-09-26 20:41:07 +00:00
Marcel Moolenaar
287e12f172
...And fix WITNESS builds: declare syscallnames.
2004-09-26 20:39:56 +00:00
Pawel Jakub Dawidek
31522023f9
Simplify code a bit.
2004-09-26 20:30:15 +00:00
Simon L. B. Nielsen
0e2efac233
- Auto generate device listings for the following drivers: urio, ulpt,
...
and umct.
MFC after: 3 days
2004-09-26 19:13:37 +00:00
Simon L. B. Nielsen
5374e66b01
Add ulpt(4) and urio(4).
...
MFC after: 3 days
2004-09-26 19:06:17 +00:00
Marcel Moolenaar
4bc31b9bd9
Don't put devel/gdb6 on disc1 for non-i386 platforms. We have gdb6 in
...
the base-system. Adding the port for ia64 on disc1 is especially bogus,
because the port doesn't even build on ia64. It also doesn't support
libthread_db.
2004-09-26 19:05:52 +00:00
Simon L. B. Nielsen
1a7cf6134e
- Add a HARDWARE section which lists supported devices based on the
...
Hardware Notes.
- Update some text to fit better now that this driver support
multiple different device types.
MFC after: 3 days
2004-09-26 19:03:45 +00:00
David E. O'Brien
9a6e0a5e5c
Embellish the man page after trying to migrate to gstripe from ccd(4).
2004-09-26 17:29:09 +00:00
Pawel Jakub Dawidek
0c8a9da21e
Don't allow to specify wrong stripe size.
...
Reported by: obrien
2004-09-26 17:15:42 +00:00
Max Laier
9007cc283f
PFIL_HOOKS is no longer an optional item.
...
Submitted by: Anders Hanssen
MFC after: 1 day
2004-09-26 16:10:40 +00:00
Stefan Farfeleder
80c4c0db4f
Prefer C99's __func__ over GCC's __FUNCTION__.
...
Approved by: dwmalone
2004-09-26 13:47:25 +00:00
Simon L. B. Nielsen
13c133ac06
Add a HARDWARE section which lists supported devices based on the
...
Hardware Notes.
MFC after: 3 days
2004-09-26 13:38:38 +00:00
Hidetoshi Shimokawa
00fab05d23
Invalidate dcons buffer address if the magic is wrong.
2004-09-26 12:46:47 +00:00
Pawel Jakub Dawidek
69560edc13
Backout manual page updates.
...
Requested by: ru
2004-09-26 12:08:31 +00:00
Søren Schmidt
b5dee91f5f
Remove the old ATA_*LOCK_CH macros that used atomic ops and use
...
mutexes instead.
This closes the last (known) race issues in ATA which should fix
the various hangs etc seen on heavy loaded systems.
Change from using timeout functions to using callout functions in
the timeout code. This together with above closes the race that could
happen if timeout and device interrupt occured simultaniously.
Also fix the possible recursion in ata_reinit() on very dodgy
devices that could take us down in the probe.
2004-09-26 11:48:43 +00:00
Søren Schmidt
c5b2c44ce8
Rearrange the order of I/O's in dma-start/stop, some chipsets are very
...
picky on the order of this, especially in error situations.
2004-09-26 11:42:42 +00:00
Dag-Erling Smørgrav
92d0921f8e
Forced commit to note that the previous commit added /etc/namedb/s
...
(where bind stores slave zones), not /etc/namedb/bind.
2004-09-26 10:50:06 +00:00
Doug Barton
34d60d9101
Per style.Makefile(5), don't define MAN if the only page installed
...
is ${PROG}.1
Reviewed by: ru
2004-09-26 09:38:08 +00:00
Ruslan Ermilov
9684333e54
Get rid of obsolete MAN[0-9] syntax.
2004-09-26 09:25:03 +00:00
Johan Karlsson
1868ee666e
style: Move the { back to the else line to match the }.
...
Discussed with: glebius
X-MFC after: 5.3-Release
2004-09-26 09:01:02 +00:00
Doug Barton
f50b1bdb22
Update the BIND 9 entry with information about files that
...
have moved, or should be removed.
2004-09-26 07:50:23 +00:00
Doug Barton
85aca891e7
It's not necessary to create an rndc.key file if the user already
...
has an rndc.conf file.
Submitted by: Sergey Mokryshev <mokr@mokr.net>
2004-09-26 07:01:56 +00:00