| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
systat is working great on this LCD ;)
Submitted by: Ben Haga <tuximus AT absoludicrous DOT com>
MFC after: 3 days
|
|
|
|
|
| |
- Cast the rvalue to be compared with the result of
strlen() to size_t.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If B_NOCACHE is set the pages of vm backed buffers will be invalidated.
However clean buffers can be backed by dirty VM pages so invalidating them
can lead to data loss.
Add support for flush dirty page in the data invalidation function
of some network file systems.
This fixes data losses during vnode recycling (and other code paths
using invalbuf(*,V_SAVE,*,*)) for data written using an mmaped file.
Collaborative effort by: jhb@,mohans@,peter@,ps@,ups@
Reviewed by: tegge@
MFC after: 7 days
|
|
|
|
|
|
| |
before doing the read/write.
Reported by: Chuck Lever.
|
|
|
|
|
|
|
|
|
|
|
|
| |
stopped before adjusting their priority and setting them on the run
q so they cannot race for resources (pointed out by njl).
While here add a console printf on thread create fails; otherwise
noone may notice (e.g. return value is always 0 and caller has no
way to verify).
Reviewed by: jhb, scottl
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
client into the kernel by default, and many users won't use NFS,
don't start an extra 4 kernel threads that are unused. Once NFS
becomes active, it will start nfsiod's as it needs them.
We might consider mandating a minimum iod's equal to the number of
active NFS mounts (truncated to some value), which would force some
to remain available without having to create a new one if the file
system is mostly inactive.
PR: 70880
MFC after: 2 weeks
Prodded by: cel
Head nod: peter
Pointed out by: Joe <fbsd_user at a1poweruser dot com>
|
|
|
|
| |
purposes only. Additional information may be exported in the future.
|
|
|
|
|
|
|
|
| |
was done, I believe, to work around some cards having issues in the
suspend case. I think that this helped my Sony VAIO TS505 work better
when it had certain wireless cards in it and I did a apm -z. I've not
tested suspend/resume on other laptops in a long time, so I hope this
doesn't cause greif. Please let me know if it does.
|
|
|
|
|
|
| |
of cases where we didn't take out the lock before setting or clearing
a bit. This apparently can lead to a race at kldunload time (at least
on my Turion64 laptop, never saw it on my Sony Vaio).
|
|
|
|
| |
to work on the Turion64 laptop I have.
|
|
|
|
|
|
|
|
|
|
| |
Adam Radford as follows:
twe aradford@amcc.com Pre-commit review requested
twa aradford@amcc.com Pre-commit review requested
With hat: core-secretary
Requested by: vkashyap
|
|
|
|
|
|
|
| |
NFSv4 client READDIR logic. This change matches the logic in the version
2 and 3 code.
Sponsored by: Network Appliance, Incorporated
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This version of scsi_target.c removes all SMP locking until
we have a lock-aware CAM stack. This allows us to use KNOTE
without a panic at least.
It's not yet clear whether target mode is working yet or not.
Discussed with: Scott, Ken, Nate, Justin
|
| |
|
|
|
|
|
|
|
|
| |
return to user space w/o waiting for I/O to complete.
I tried to get several folks who know this code better than me to review it
with no luck. I *do* know that w/o this code, using the SCSI target driver
panics in userret (if it doesn't panic in knote first).
|
| |
|
|
|
|
|
|
|
| |
into and out of the halt state very quickly.
Submitted by: Andriy Gapon <avg at icyb dot net dot ua>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
if a process's uid or gid has changed, but the /proc/<PID> directory
itself was also set to mode 0. Assuming this doesn't open any
security holes, open access to the /proc/<PID> directory for users
other than root to read or search the directory.
Reviewed by: des (back in February)
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
Since tags are kept while packet resides in kernelspace, it's possible to
use other kernel facilities (like netgraph nodes) for altering those tags.
Submitted by: Andrey Elsukov <bu7cher at yandex dot ru>
Submitted by: Vadim Goncharov <vadimnuclight at tpu dot ru>
Approved by: glebius (mentor)
Idea from: OpenBSD PF
MFC after: 1 month
|
|
|
|
|
|
|
| |
more likely to belong to chips of 8168 family.
PR: kern/96734
Submitted by: Sven Petai <hadara bsd.ee>
|
|
|
|
|
|
| |
and cd9660.
PR: bin/97642
|
|
|
|
|
|
|
| |
sysctl values.
PR: conf/96509
Submitted by: Gregory Bond <gnb itga.com.au>
|
|
|
|
| |
by the preceding one some time during editing.
|
| |
|
|
|
|
| |
Submitted by: Alex Lyashkov <shadow@psoft.net>
|
|
|
|
|
|
|
|
|
| |
SRC_BASE package (src/[A-Z]*) as well as SRC_SYS (src/sys/*). This
allows users who only install the kernel source code to use the
modern "make buildkernel" approach.
Discussed with: re (scottl, kensmith)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EHCI spec for linking in new qTDs into an asynchronous QH. This
requires that there is a qTD marked as not active and not halted
at the start of the QH's list, and the hardware will know to re-fetch
the qTD on each pass rather than just looking at the overlay qTD:
"The host controller must be able to advance the queue from the
Fetch QH state in order to avoid all hardware/software race
conditions. This simple mechanism allows software to simply link
qTDs to the queue head and activate them, then the host controller
will always find them if/when they are reachable."
This is achieved by keeping an "inactivesqtd" entry on the QH list,
and re-using it each time as the start of the next transfer, and
allocating a new qTD to become the next inactivesqtd. Then a new
transfer can be activated by just setting its "active" flag, which
avoids all the previous messing with overlay qTD state in
ehci_set_qh_qtd().
|
|
|
|
| |
in vfs_mount.c.
|
|
|
|
|
|
|
|
|
|
|
| |
more appropriate value and is also the default set by the kernel. I
could not find a justification of why rc.conf began overriding it back
in 1998.
This dramatically cuts NFS traffic on e.g. a busy system with NFS root.
Reviewed by: mohans
MFC After: 2 weeks
|
| |
|
| |
|
|
|
|
| |
were in fact wrong.
|
|
|
|
| |
work, but is better than nothing. Any help appreciated.
|
|
|
|
|
|
|
|
|
|
|
|
| |
mimicing the NFS reference implementation.
NFS over TCP does not need fast retransmit timeouts, since network loss
and congestion are managed by the transport (TCP), unlike with NFS over
UDP. A long timeout prevents the unnecessary retransmission of non-
idempotent NFS requests.
Reviewed by: mohans, silby, rees?
Sponsored by: Network Appliance, Incorporated
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the estimator to be more easily tuned and maintained.
There should be no functional change except there is now a lower limit
on the retransmit timeout to prevent the client from retransmitting
faster than the server's disks can fill requests, and an upper limit
to prevent the estimator from taking to long to retransmit during a
server outage.
Reviewed by: mohan, kris, silby
Sponsored by: Network Appliance, Incorporated
|
|
|
|
| |
on ufs, cd9660, msdosfs, and ntfs, but not all dependencies.
|
|
|
|
|
|
| |
parsed, so it winds up at usage anyway.
Add 'b' to the usage summary. Noticed by Ben Mesander.
|
|
|
|
| |
Found by: Kris Kennaway.
|
|
|
|
|
|
|
| |
with pmap_map_entry.
More use of macros instead of hardcoding the addr.
Submitted by: kevlo
|
| |
|
| |
|
|
|
|
| |
Missed by: benno
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
before starting exploring (4 seconds), and extend the wait period
if new USB buses are attached while waiting.
This works around a problem seen when there is more than one EHCI
controller in the system and you kldload usb.ko after the system
has booted. The problem is that usb.ko contains 3 separate PCI
drivers which get initialised one by one (uhci, ohci, ehci), and
when each driver is initialised, all PCI buses are re-probed after
just the addition of that driver. This means that there can be a
significant delay between the attaching of a companion controller
and the subsequent EHCI attach, so it is possible for the companion
controller's USB 1.x bus to be scanned before the EHCI driver gets
a chance to check if there is really a USB 2.x device connected.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rename REG_DL to REG_DLL and REG_DLH.
- Always treat DLL and DLH as two separate 8-bit registers instead of one
16-bit register.
Additionally, remove the probe for the high 4 bits of IER being 0 and don't
assume we can always read/write 0 to/from those bits.
These changes allow uart(4) to drive the UARTs on the Intel XScale PXA255.
Reviewed by: marcel
|
| |
|
|
|
|
|
|
| |
pretend we're working with SACOM3, as we're really mapping SACOM1.
Submitted by: kevlo
|
|
|
|
| |
Modified release note: Add a missing word in mdmfs(8) -P note.
|
|
|
|
| |
switched to those created from GCC's crtstuff.c 4 years ago.
|