| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
now that all that stuff has been abstracted out of the disk drivers with
GEOM.
- Reference bsdlabel(8) rather than disklabel(8).
Ok'd by: phk, scottl (1)
Submitted by: Björn König (2)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
out of cdregister() and daregister(), which are run from interrupt context.
The sysctl code does blocking mallocs (M_WAITOK), which causes problems
if malloc(9) actually needs to sleep.
The eventual fix for this issue will involve moving the CAM probe process
inside a kernel thread. For now, though, I have fixed the issue by moving
dynamic sysctl variable creation for these two drivers to a task queue
running in a kernel thread.
The existing task queues (taskqueue_swi and taskqueue_swi_giant) run in
software interrupt handlers, which wouldn't fix the problem at hand. So I
have created a new task queue, taskqueue_thread, that runs inside a kernel
thread. (It also runs outside of Giant -- clients must explicitly acquire
and release Giant in their taskqueue functions.)
scsi_cd.c: Remove sysctl variable creation code from cdregister(), and
move it to a new function, cdsysctlinit(). Queue
cdsysctlinit() to the taskqueue_thread taskqueue once we
have fully registered the cd(4) driver instance.
scsi_da.c: Remove sysctl variable creation code from daregister(), and
move it to move it to a new function, dasysctlinit().
Queue dasysctlinit() to the taskqueue_thread taskqueue once
we have fully registered the da(4) instance.
taskqueue.h: Declare the new taskqueue_thread taskqueue, update some
comments.
subr_taskqueue.c:
Create the new kernel thread taskqueue. This taskqueue
runs outside of Giant, so any functions queued to it would
need to explicitly acquire/release Giant if they need it.
cd.4: Update the cd(4) man page to talk about the minimum command
size sysctl/loader tunable. Also note that the changer
variables are available as loader tunables as well.
da.4: Update the da(4) man page to cover the retry_count,
default_timeout and minimum_cmd_size sysctl variables/loader
tunables. Remove references to /dev/r???, they aren't used
any longer.
cd.9: Update the cd(9) man page to describe the CD_Q_10_BYTE_ONLY
quirk.
taskqueue.9: Update the taskqueue(9) man page to describe the new thread
task queue, and the taskqueue_swi_giant queue.
MFC after: 3 days
|
| |
|
|
|
|
| |
Approved by: re
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Change lines referring to kernel configuration file:
device foo0 at isa port xxx irq yyy...
to
device foo
Describe resource "hints" in /boot/device.hints.
- Try to describe resource allocation and probe/attach behavior in the
newbus framework.
|
|
|
|
|
| |
correct, but the former seems to be preferred. This makes all of the
section-4 manual pages consistent in this respect.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
precedent.
|
|
|
|
|
|
|
|
| |
- add the reference to ad.4 in da.4.
MFC candidate.
Submitted by: sheldonh, mpp
|
|
|
|
| |
Discussed with: phk
|
| |
|
|
|
|
| |
Found by: phk
|
|
|
|
|
| |
of all macros placed after FILES section w/o any space characters.
. slightly correct usage of .An macros.
|
| |
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
|
|
|
| |
device blah0 -> device blah for PCI devices and busses.
|
| |
|
|
|
|
|
| |
PR: docs/8472
Submitted by: Craig Leres <leres@ee.lbl.gov>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: docs/12068
Submitted by: Steve Coltrin <spcoltri@io.com>
|
|
|
|
|
|
|
| |
Also, update the pass(4) man page to indicate that some CCBs must be
sent through the xpt(4) device and cannot be sent through a pass device.
PR: 8826
|
| |
|
|
|
|
|
|
|
|
|
| |
from the sd.4 man page.
This includes a discussion of write caching and its effects.
Reviewed by: ken
Submitted by: gibbs
|
| |
|
| |
|
|
|
|
| |
plus add appropriate xrefs now that we have {cd,sd,st}.9
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
|
|
|
|
| |
I probably originally wrote. Also take my name OUT of the ddb
man page.. I did NOT port it from mach.
|
| |
|
| |
|
|
|
|
|
|
| |
Delete lots of out-of-date text.
Write new text to replace some of the old text. BDE will need to inspect
the results for accuracy.
|
|
|
|
| |
are getting pretty out of date and need to be visited some more.
|
|
|