]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
12 years agoMFC r225828:
mm [Wed, 5 Oct 2011 20:00:50 +0000 (20:00 +0000)]
MFC r225828:
Remove assertion that prevents zfs rename of datasets with mountpoint=none
or mountpoint=legacy that have children datasets. This also fixes dataset
rename when receiving incremental snapshots as reported on freebsd-fs@

This assertion was made triggerable by opensolaris change #10196.

PR: bin/160400
Reviewed by: pjd

git-svn-id: svn://svn.freebsd.org/base/stable/8@226045 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r225801
jkim [Wed, 5 Oct 2011 15:52:04 +0000 (15:52 +0000)]
MFC: r225801

Avoid accidental conflicts with C++ operator keywords.

git-svn-id: svn://svn.freebsd.org/base/stable/8@226037 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoFix a bug in UNIX socket handling in the linux emulator which was
cperciva [Tue, 4 Oct 2011 19:07:38 +0000 (19:07 +0000)]
Fix a bug in UNIX socket handling in the linux emulator which was
exposed by the security fix in FreeBSD-SA-11:05.unix.

Approved by: so (cperciva)
Approved by: re (kib)
Security: Related to FreeBSD-SA-11:05.unix, but not actually
a security fix.

git-svn-id: svn://svn.freebsd.org/base/stable/8@226023 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225885:
bz [Tue, 4 Oct 2011 13:31:57 +0000 (13:31 +0000)]
MFC r225885:

 Fix an obvious bug from r186196 shadowing a variable, not correctly
 appending the new mbuf to the chain reference but possibly causing an mbuf
 nextpkt loop leading to a memory used after handoff (or having been freed)
 and leaking an mbuf here.

 Reviewed by: rwatson, brooks

git-svn-id: svn://svn.freebsd.org/base/stable/8@225978 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225837:
bz [Tue, 4 Oct 2011 13:18:14 +0000 (13:18 +0000)]
MFC r225837:

 Pass the fibnum where we need filtering of the message on the
 rtsock allowing routing daemons to filter routing updates on an
 rtsock per FIB.

 Adjust raw_input() and split it into wrapper and a new function
 taking an optional callback argument even though we only have one
 consumer [1] to keep the hackish flags local to rtsock.c.

 PR: kern/134931
 Submitted by: multiple (see PR)
 Suggested by: rwatson [1]
 Reviewed by: rwatson

git-svn-id: svn://svn.freebsd.org/base/stable/8@225975 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225677:
kib [Tue, 4 Oct 2011 11:23:03 +0000 (11:23 +0000)]
MFC r225677:
Do not overallocate on the stack. Threaded code might use custom stack
size.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225969 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225809:
trociny [Tue, 4 Oct 2011 11:08:31 +0000 (11:08 +0000)]
MFC r225809:

When script(1) reads EOF from input it starts spinning on zero-byte
reads eating 100% CPU. Fix this by skipping select on STDIN after
reading EOF -- permanently if STDIN is not terminal and for one second
if it is.

Also after reading EOF from STDIN we have to pass it to the program
being scripted. The previous approach was to write zero bytes into the
pseudo-terminal. This does not work because zero-byte write does not
have any effect on read. Fix this by sending VEOF instead.

Submitted by: Ronald Klop <ronald-freebsd8@klop.yi.org>
Discussed with: kib, Chris Torek <chris.torek@gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@225966 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225790:
kib [Tue, 4 Oct 2011 10:08:02 +0000 (10:08 +0000)]
MFC r225790:
Install ciss(4) ioctl header.

PR: kern/109813

git-svn-id: svn://svn.freebsd.org/base/stable/8@225964 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225699:
kib [Tue, 4 Oct 2011 09:55:15 +0000 (09:55 +0000)]
MFC r225699:
Restore the writing of the .bss sections of the dsos.
Revert the optimization of using mprotect(2) to establish .bss, overlap
the section with mmap(2).

git-svn-id: svn://svn.freebsd.org/base/stable/8@225961 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225798: Improve battery capacity reporting
emaste [Tue, 4 Oct 2011 00:29:10 +0000 (00:29 +0000)]
MFC r225798: Improve battery capacity reporting

  When a status pointer is passed in mfi_dcmd_command does not return an
  errno (if the ioctl is successful), so move the test for NO_HW_PRESENT
  outside of the error case.  This should fix incorrect reporting for
  systems with a dead or no battery.

  Additionally, handle error codes other than NO_HW_PRESENT by omitting
  the battery capacity display.  LSI's supercap-based parts (CV series)
  report their data using the same interface as battery-based parts,
  except that they do not include the capacity stats (state of charge,
  cumulative charge cycles, etc.)

PR: bin/160581

git-svn-id: svn://svn.freebsd.org/base/stable/8@225956 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoRestore the td_syscalls counter, that was erronously removed in the r225855.
kib [Mon, 3 Oct 2011 20:05:21 +0000 (20:05 +0000)]
Restore the td_syscalls counter, that was erronously removed in the r225855.
Note that this is a direct commit to stable/8, td_syscalls was removed in
head by r210138.

Submitted by: jhb

git-svn-id: svn://svn.freebsd.org/base/stable/8@225948 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225662:
attilio [Mon, 3 Oct 2011 10:23:28 +0000 (10:23 +0000)]
MFC r225662:
Cleanup #PROCHOT sticky assertion.

Sponsored by: Sandvine Incorporated

git-svn-id: svn://svn.freebsd.org/base/stable/8@225933 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoBring nanobsd.sh up to date.
mr [Sun, 2 Oct 2011 13:48:15 +0000 (13:48 +0000)]
Bring nanobsd.sh up to date.

MFC:
r212938: Support new variable NANO_LABEL.
r212990: Make the labels match the device name that's mounted, not just the
   slice they are on.
r214955:
  - Set -x flag when executing customisation scripts to aid in debugging them.
  - Use KERNCONFDIR with KERNCONF instead of copying the kernel config into
    the source tree so included kernel configs work.
  - Put more stuff in the _.bk/_.ik log file, not just make statements.
  - Add the kernel config name to the pprint during kernel installation.
  - Add NANO_MODULES providing a list of modules to build and install.
r215069: Document NANO_CFGDIR and NANO_DATADIR
r215070: Build make.conf when the world is not selected to build, but the
  kernel is.
r215081: Insulate the nanobsd build from the current system by opting out of
  the SRCCONF processing.
r216144: _WITHOUT_SRCCONF has too much baggage.  Instead, use the simpler
  SRCCONF=/dev/null.
r216145:
  - Mount the device async when we're doing the copy.
  - Create a sparse file instead of a fully zerod one.  This trades the
    possibiltiy of running out of space during the build for the speed
    gain not having do write all those zeros...
r216928: Put in the other half of the SRCCONF patch.
r216929: Bump the media size from approx 600MB to approx 750MB.  The great
  hob-nailed tennis shoe of progress demands it!
r220091: Use ${NANO_WORLDDIR}/var/empty as copy source since
  it has no schg flag set.
r221850: Copy symbolic links as files rather than recreating the links.
r221851: Implement -f to inhibit copying s1 partition out for speed.
r221852: Add ${} around variable dereference...
r221856: If there's no package directory, don't try to install packages from
  it.  Instead, report that 0 packages are reported.
r221877: Restore BOOT2CFG, accidentally removed in r212938.
r222535: Don't need (and can't use) -L to copy links here.

Parts of the MFC's requested by: jpaetzel@

git-svn-id: svn://svn.freebsd.org/base/stable/8@225923 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225869:
mav [Sun, 2 Oct 2011 12:18:06 +0000 (12:18 +0000)]
MFC r225869:
- Add special support for the MFI_CMD ioctl with MFI_CMD_STP command,
used by present MegaCLI version. It has some special meaning for the
first s/g list entry, while the main s/g list begins from the the second
entry, and those lists should remain separate after loading to the
busdma map.
 - Fix bug in 32bit ioctl compatibility shims when s/g list consists of
more then on element.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225919 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225339:
delphij [Sun, 2 Oct 2011 09:44:28 +0000 (09:44 +0000)]
MFC r225339:

Expose more variables from coretemp(4) via sysctl:

 - tjmax - Tj(max) value from the CPU
 - delta - current delta reading
 - resolution - sensor resolution in Celsius
 - throttle_log - whether a #PROCHOT was asserted since last reset

Submitted by: Mark Johnston <markjdb gmail.com> (mostly)

git-svn-id: svn://svn.freebsd.org/base/stable/8@225916 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r225775
gabor [Sat, 1 Oct 2011 13:54:48 +0000 (13:54 +0000)]
MFC: r225775
  - Move misplaced reference
  - Sort references
  - s/Since/Because/

git-svn-id: svn://svn.freebsd.org/base/stable/8@225903 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225172:
kib [Sat, 1 Oct 2011 12:35:09 +0000 (12:35 +0000)]
MFC r225172:
Clarify the behaviour of sigwait() on signal interruption, and note
the difference between sigwait() and sigtimedwait()/sigwaitinfo().

git-svn-id: svn://svn.freebsd.org/base/stable/8@225898 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r212405 (by davidxu):
kib [Sat, 1 Oct 2011 11:59:45 +0000 (11:59 +0000)]
MFC r212405 (by davidxu):
Because POSIX does not allow EINTR to be returned from sigwait(),
add a wrapper for it in libc and rework the code in libthr, the
system call still can return EINTR, we keep this feature.

Discussed with: davidxu

git-svn-id: svn://svn.freebsd.org/base/stable/8@225896 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r211526:
kib [Sat, 1 Oct 2011 11:49:24 +0000 (11:49 +0000)]
MFC r211526:
Reduce redundant code.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225895 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225586:
ae [Thu, 29 Sep 2011 15:05:16 +0000 (15:05 +0000)]
MFC r225586:
  Add IPv6 support to the ng_ipfw(4) [1]. Also add ifdefs to be able
  build it with and without INET/INET6 support.

  Submitted by: Alexander V. Chernikov <melifaro at yandex-team.ru> [1]
  Tested by: Alexander V. Chernikov <melifaro at yandex-team.ru> [1]

git-svn-id: svn://svn.freebsd.org/base/stable/8@225876 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225789:
mav [Thu, 29 Sep 2011 10:42:51 +0000 (10:42 +0000)]
MFC r225789:
Add one more ID for the Marvell 88SE9128 6Gbps SATA controller.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225874 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMerge the optimizations for the syscall entry and leave.
kib [Thu, 29 Sep 2011 00:39:56 +0000 (00:39 +0000)]
Merge the optimizations for the syscall entry and leave.

MFC r225474:
Inline the syscallenter() and syscallret(). This reduces the time measured
by the syscall entry speed microbenchmarks by ~10% on amd64.

MFC r225475:
Perform amd64-specific microoptimizations for native syscall entry
sequence. The effect is ~1% on the microbenchmark.

In particular, do not restore registers which are preserved by the
C calling sequence. Align the jump target. Avoid unneeded memory
accesses by calculating some data in syscall entry trampoline.

MFC r225483:
The jump target shall be after the padding, not into it.

MFC r225575:
Microoptimize the return path for the fast syscalls on amd64. Arrange
the code to have the fall-through path to follow the likely target.
Do not use intermediate register to reload user %rsp.

MFC r225576:
Put amd64_syscall() prototype in md_var.h.

Tested by:  Alexandr Kovalenko <never nevermind kiev ua>

git-svn-id: svn://svn.freebsd.org/base/stable/8@225855 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoFix handling of corrupt compress(1)ed data. [11:04]
bz [Wed, 28 Sep 2011 08:47:17 +0000 (08:47 +0000)]
Fix handling of corrupt compress(1)ed data. [11:04]

Add missing length checks on unix socket addresses. [11:05]

Approved by: so (cperciva)
Approved by: re (kensmith)
Security: FreeBSD-SA-11:04.compress
Security: CVE-2011-2895 [11:04]
Security: FreeBSD-SA-11:05.unix

git-svn-id: svn://svn.freebsd.org/base/stable/8@225827 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225794:
attilio [Tue, 27 Sep 2011 13:50:30 +0000 (13:50 +0000)]
MFC r225794:
Backout r225372 MFC.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225796 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years ago- MFC r225354:
stas [Tue, 27 Sep 2011 07:33:04 +0000 (07:33 +0000)]
- MFC r225354:
  - Fix NULL pointer dereference when a packet of uneven size is being
  transmitted.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225780 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225695:
hselasky [Tue, 27 Sep 2011 07:19:01 +0000 (07:19 +0000)]
MFC r225695:
Fix minor race in device side mode.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225779 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225675:
attilio [Mon, 26 Sep 2011 10:12:16 +0000 (10:12 +0000)]
MFC r225675:
Initialize the pmap lock for the kernel pmap when it is really
appropriate.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225760 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225659:
hselasky [Mon, 26 Sep 2011 07:38:01 +0000 (07:38 +0000)]
MFC r225659:
Implement missing USB debug information functions.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225759 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoFollow up to r225738 to fix the mismerge of share/man/man4/Makefile.
lstewart [Fri, 23 Sep 2011 05:35:24 +0000 (05:35 +0000)]
Follow up to r225738 to fix the mismerge of share/man/man4/Makefile.

This is an intentional direct commit to the 8-STABLE branch.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225739 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225583:
lstewart [Fri, 23 Sep 2011 05:28:09 +0000 (05:28 +0000)]
MFC r225583:

Rename the cc.4 and cc.9 modular congestion control related man pages to
mod_cc.4 and mod_cc.9 respectively to avoid any possible confusion with the cc.1
gcc man page. Update references to these man pages where required.

Requested by: Grenville Armitage

git-svn-id: svn://svn.freebsd.org/base/stable/8@225738 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r202992:
gabor [Thu, 22 Sep 2011 22:08:09 +0000 (22:08 +0000)]
MFC r202992:

Cache failing and opened catalogs in catopen() and related functions.
Continuous catopen() calls cause 4 failig stat(2) each, which means a lot
of overhead.  It is also a good idea to keep the opened catalogs in the memory
to speed up further catopen() calls to the same catalog since these catalogs
are not big at all.  In this case, we count references and only free() the
allocated space when the reference count reaches 0.  The reads and writes to
the cache are syncronized with an rwlock when these functions are called from
a threaded program.

MFC r202993, r203174, r203719, r204110:

Small fixes and style nits for the above change.

Approved by: delphij (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@225733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225587:
jh [Thu, 22 Sep 2011 17:59:33 +0000 (17:59 +0000)]
MFC r225587:

Expose "log" in the default devfs rules. /etc/rc.d/jail creates /dev/log
as a symbolic link.

PR: conf/160711

git-svn-id: svn://svn.freebsd.org/base/stable/8@225731 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225516:
attilio [Thu, 22 Sep 2011 11:07:11 +0000 (11:07 +0000)]
MFC r225516:
Return ENOSPC rather than ENXIO when dump_write() cannot proceed in
order to correctl deal with consumers.

Sponsored by: Sandvine Incorporated

git-svn-id: svn://svn.freebsd.org/base/stable/8@225728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225582:
kib [Thu, 22 Sep 2011 08:39:20 +0000 (08:39 +0000)]
MFC r225582:
Use the proper dynamic tls block to calculate the tls variable address
in case tls data generation was updated.

PR: misc/160721

git-svn-id: svn://svn.freebsd.org/base/stable/8@225726 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225452:
delphij [Thu, 22 Sep 2011 01:13:40 +0000 (01:13 +0000)]
MFC r225452:

Sync pf.os with OpenBSD:

 - Update OpenBSD fingerprints through OpenBSD 4.9
 - Fix typos.

Obtained from: OpenBSD

git-svn-id: svn://svn.freebsd.org/base/stable/8@225721 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225556:
hselasky [Wed, 21 Sep 2011 07:31:16 +0000 (07:31 +0000)]
MFC r225556:
Reduce USB memory usage during enumeration.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225712 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225534:
kib [Tue, 20 Sep 2011 08:34:15 +0000 (08:34 +0000)]
MFC r225534:
Do not try to change the mode or ownership of the root of the mountpoint
when newly established mdmfs mount is readonly.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225692 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r225533
brueffer [Tue, 20 Sep 2011 04:59:34 +0000 (04:59 +0000)]
MFC: r225533

Improve the sleep_delay sysctl description by specifying which unit
the number is in.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225687 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 225341:
jhb [Mon, 19 Sep 2011 16:28:36 +0000 (16:28 +0000)]
MFC 225341:
Clear the mountprog variable after each mountfs() call so that mountprog
options don't leak over into subsequent mounts listed in /etc/fstab.
While here, fix a memory leak in debug mode.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225674 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 225331:
jhb [Mon, 19 Sep 2011 16:25:37 +0000 (16:25 +0000)]
MFC 225331:
Move the logic to parse volume cache commands out into a separate function
and use a loop so that multiple cache commands can be strung together on
the command line into a single update to the volume's properties.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225673 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225448:
attilio [Mon, 19 Sep 2011 11:08:31 +0000 (11:08 +0000)]
MFC r225448:
Improve busy buffers diagnostic on shutdown path.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225663 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 225200:
jhb [Fri, 16 Sep 2011 19:53:56 +0000 (19:53 +0000)]
MFC 225200:
- Replace references to sio(4) with uart(4) instead.
- We no longer use the same data structure in as NetBSD in pucdata.c.
- ppc(4) has had a puc(4) attachment for a while now.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225630 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 225017:
jhb [Fri, 16 Sep 2011 19:52:49 +0000 (19:52 +0000)]
MFC 225017:
Walk the zombproc list as well as the allproc list when enumerating threads
and processes in a kernel image.  This allows examination of threads that
have exited or are in the late stages of exiting.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225629 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 224942:
jhb [Fri, 16 Sep 2011 19:29:11 +0000 (19:29 +0000)]
MFC 224942:
Fix a regression where a rule containing a source port option after a
destination IP would incorrectly display the source port as a destination
port.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225628 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 225201:
jhb [Fri, 16 Sep 2011 18:41:19 +0000 (18:41 +0000)]
MFC 225201:
Enable the puc(4) driver on amd64 and i386 in GENERIC.  This allows
devices supported by puc(4) to work "out of the box" since puc.ko does
not work "out of the box".

git-svn-id: svn://svn.freebsd.org/base/stable/8@225627 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 225194:
jhb [Fri, 16 Sep 2011 18:36:43 +0000 (18:36 +0000)]
MFC 225194:
Make NKPT a kernel option on amd64 so that it can be set to a non-default
value from kernel config files.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225626 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 225079:
jhb [Fri, 16 Sep 2011 18:26:40 +0000 (18:26 +0000)]
MFC 225079:
Add two new macros DRIVER_MODULE_ORDERED() and EARLY_DRIVER_MODULE_ORDERED()
that allow a module to use an order other than the default of
SI_ORDER_MIDDLE when registering a driver.  This can be useful for drivers
in a kld that contain multiple new-bus drivers as part of one logical device
driver.  A typical case would be to use SI_ORDER_LAST for the "main" driver
to ensure that any other "helper" drivers are registered and available
before the "main" driver attempts to attach.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225625 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 224733:
jhb [Fri, 16 Sep 2011 18:23:39 +0000 (18:23 +0000)]
MFC 224733:
Allow the NFS client to use a max file size larger than 1TB for v3 mounts.
It now allows files up to OFF_MAX subject to whatever limit the server
advertises.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225624 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 224228:
jhb [Fri, 16 Sep 2011 18:18:38 +0000 (18:18 +0000)]
MFC 224228:
Note that the "kernel" variable in loader.conf is the name of a directory
containing a kernel under /boot and that it's default value is "kernel"
not "/boot/kernel/kernel".

git-svn-id: svn://svn.freebsd.org/base/stable/8@225623 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 224041:
jhb [Fri, 16 Sep 2011 17:47:12 +0000 (17:47 +0000)]
MFC 224041:
Support controllers whose option ROM is disabled in the BIOS by kicking
the firmware so that it boots.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225622 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 224039:
jhb [Fri, 16 Sep 2011 17:44:33 +0000 (17:44 +0000)]
MFC 224039:
Use MFI_STAT_* constants for cmd_status field values rather than magic
numbers in a few places.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225621 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 224062:
jhb [Fri, 16 Sep 2011 17:41:56 +0000 (17:41 +0000)]
MFC 224062:
Revert 130163 and let top use KERN_PROC_PROC when individual threads are
not displayed.  The KERN_PROC_PROC sysctl was fixed in 188764.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225620 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 223936,224205:
jhb [Fri, 16 Sep 2011 17:39:39 +0000 (17:39 +0000)]
MFC 223936,224205:
Allow per-CPU statistics to be toggled at runtime via the 'P' key.
While here, make -P a toggle similar to other options such as -I.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225619 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225340:
delphij [Fri, 16 Sep 2011 05:57:01 +0000 (05:57 +0000)]
MFC r225340:

Fix a bug in ichwd(4) which prevents it from being enabled if the new
timeout is the same timeout.

Submitted by: Dmitrij Tejblum <tejblum yandex-team.ru>
PR: kern/139604

git-svn-id: svn://svn.freebsd.org/base/stable/8@225606 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225338:
delphij [Fri, 16 Sep 2011 05:45:13 +0000 (05:45 +0000)]
MFC r225338:

Fix the check in dircheck() on namlen.

The value of namlen is copied from on-disk d_namlen, which is a 8-bit
unsigned integer which can never exceed MAXNAMLEN (255) so the test is
always true.  Moreover, UFS does not allow d_namelen being zero.

Change namlen from u_int to u_int8_t, and replace the unneeded test
with a useful test.

PR: bin/160339
Submitted by: Eugene Grosbein <eugen grosbein.pp.ru>

git-svn-id: svn://svn.freebsd.org/base/stable/8@225605 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMerge r225570 from HEAD - Ensure that ta_pending doesn't overflow u_short by capping...
adrian [Fri, 16 Sep 2011 02:28:55 +0000 (02:28 +0000)]
Merge r225570 from HEAD - Ensure that ta_pending doesn't overflow u_short by capping its value at USHRT_MAX.

If it overflows before the taskqueue can run, the task will be
re-added to the taskqueue and cause a loop in the task list.

Submitted by: rstone@
Reviewed by:  jhb@

MFC after: 1 day

git-svn-id: svn://svn.freebsd.org/base/stable/8@225600 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225440:
yongari [Thu, 15 Sep 2011 17:20:20 +0000 (17:20 +0000)]
MFC r225440:
  vge(4) hardwares poll media status and generates an interrupt
  whenever the link state is changed.  Using software based polling
  for media status tracking is known to cause MII access failure
  under certain conditions once link is established so vge(4) used to
  rely on link status change interrupt.
  However DEVICE_POLLING completely disables generation of all kind
  of interrupts on vge(4) such that this resulted in not detecting
  link state change event.  This means vge(4) does not correctly
  detect established/lost link with DEVICE_POLLING.  Losing the
  interrupt made vge(4) not to send any packets to peer since vge(4)
  does not try to send any packets when there is no established link.

  Work around the issue by generating link state change interrupt
  with DEVICE_POLLING.

  PR: kern/160442

git-svn-id: svn://svn.freebsd.org/base/stable/8@225594 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225177,225181:
attilio [Thu, 15 Sep 2011 12:27:26 +0000 (12:27 +0000)]
MFC r225177,225181:
Introduce and use seldrain() function for dealing with fast
selrecord/selinfo destruction.

Sponsored by: Sandvine Incorporated

git-svn-id: svn://svn.freebsd.org/base/stable/8@225585 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r223530: generic_stop_cpus: pull timeout logic from under DIAGNOSTIC
avg [Thu, 15 Sep 2011 11:17:07 +0000 (11:17 +0000)]
MFC r223530: generic_stop_cpus: pull timeout logic from under DIAGNOSTIC

git-svn-id: svn://svn.freebsd.org/base/stable/8@225581 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r213736: generic_stop_cpus: prevent parallel execution
avg [Thu, 15 Sep 2011 10:51:31 +0000 (10:51 +0000)]
MFC r213736: generic_stop_cpus: prevent parallel execution

Addendum to the original commit message:
This is mostly useful to protect kdb_trap() from concurrent entry as it
doesn't have any protection like e.g. panic(9) has.  Even if kdb_trap()
had that protection there would still be a need for protection
between concurrect panic() and kdb_trap() entries.  That protection
could be implemented externally, but doing it in generic_stop_cpus()
seems to be OK as well (stopping CPUs on panic is in the works).

git-svn-id: svn://svn.freebsd.org/base/stable/8@225580 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r209305,209358: Do not allow EOF token to be put back into input buffer.
avg [Thu, 15 Sep 2011 10:39:44 +0000 (10:39 +0000)]
MFC r209305,209358: Do not allow EOF token to be put back into input buffer.

PR: kern/159064
On behalf of: kan, marcel

git-svn-id: svn://svn.freebsd.org/base/stable/8@225578 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r209030: In dtrace lexer, do not unput token if it is EOF.
avg [Thu, 15 Sep 2011 10:35:38 +0000 (10:35 +0000)]
MFC r209030: In dtrace lexer, do not unput token if it is EOF.

On behalf of: kan

git-svn-id: svn://svn.freebsd.org/base/stable/8@225577 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r223356 (by delphij):
ae [Thu, 15 Sep 2011 04:34:59 +0000 (04:34 +0000)]
MFC r223356 (by delphij):
  Mod the offset padding by alignment.  Without this change we may
  pad too much when underlying GEOM object have a zero stripesize.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225566 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225445:
ae [Thu, 15 Sep 2011 04:32:14 +0000 (04:32 +0000)]
MFC r225445:
  Don't use the whole free space when resizing  partition to a larger size
  on a disk with non zero stripesize (e.g. disks with 4k sector size)[1].
  Also do not use automatic alignment when size is exactly specified, but
  an alignment is not. Use automatic alignment only for case when user
  omits both "-s" and "-a" options.

  Reported by: Mikael Fridh <frimik at gmail> [1]

git-svn-id: svn://svn.freebsd.org/base/stable/8@225565 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r222951:
attilio [Wed, 14 Sep 2011 10:27:23 +0000 (10:27 +0000)]
MFC r222951:
Fix races in handling flags at detach time for FIBs.

Sponsored by: Sandvine Incorporated

git-svn-id: svn://svn.freebsd.org/base/stable/8@225551 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225416:
kib [Tue, 13 Sep 2011 08:49:52 +0000 (08:49 +0000)]
MFC r225416:
Add -t switch for mdmfs to enable TRIM on the configured filesystem.
While there, fix minor style issues.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225526 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225372:
attilio [Mon, 12 Sep 2011 11:18:54 +0000 (11:18 +0000)]
MFC r225372:
Disable the watchdog while a KDB backend is running and kick it again
just before to return KDB context.

Sponsored by: Sandvine Incorporated

git-svn-id: svn://svn.freebsd.org/base/stable/8@225507 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r224002:
delphij [Mon, 12 Sep 2011 06:41:13 +0000 (06:41 +0000)]
MFC r224002:

Add a new option, -N to disable the default and recommended syslogd(8)
behavior, which binds to the well known UDP port.

This option implies -s.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225504 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225380
thompsa [Sun, 11 Sep 2011 23:37:40 +0000 (23:37 +0000)]
MFC r225380

 On the first loop for generating a bridge MAC address use the local
 hostid, this gives a good chance of keeping the same address over
 reboots. This is intended to help IPV6 and similar which generate
 their addresses from the mac.

PR: kern/160300
Submitted by: mdodd

git-svn-id: svn://svn.freebsd.org/base/stable/8@225495 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r223007,r223011,r223546,r224104: sh: New testcases that already work in
jilles [Sun, 11 Sep 2011 21:38:33 +0000 (21:38 +0000)]
MFC r223007,r223011,r223546,r224104: sh: New testcases that already work in
stable/8.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225494 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r221407 (partial)
marius [Sun, 11 Sep 2011 20:38:33 +0000 (20:38 +0000)]
MFC: r221407 (partial)

- Let mii_phy_add_media() also announce the support of IFM_NONE.
- Add a PHY-specific reset routine is for lxtphy(4) which disables MII
  interrupts.
- Remove redundant checks in NIC drivers for mii->mii_instance not being
  zero before calling the reset routines because as soon as one PHY driver
  attaches mii->mii_instance is incremented and we hardly can end up in
  their media change callbacks etc if no PHY driver has attached as
  mii_attach() would have failed in that case and not attach a miibus(4)
  instance.
- Convert the mebers of the MII data structure to unsigned where
  appropriate. This is partly inspired by NetBSD/OpenBSD.
- Add MIIF_NOMANPAUSE and mii_phy_flowstatus() calls to drivers that
  weren't explicitly converted to support flow control before. It's
  unclear whether flow control actually works with these but typically
  it should and their net behavior should be more correct with these
  changes in place than without if the MAC driver sets MIIF_DOPAUSE.

Obtained from: NetBSD (partially)

git-svn-id: svn://svn.freebsd.org/base/stable/8@225492 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225414:
hselasky [Sat, 10 Sep 2011 16:56:38 +0000 (16:56 +0000)]
MFC r225414:
Fix precedence warning when compiling kernel with clang.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225471 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225469:
hselasky [Sat, 10 Sep 2011 16:52:15 +0000 (16:52 +0000)]
MFC r225469:

Refactor auto-quirk solution so that we break as few external
drivers as possible.

PR: usb/160299
Suggested by: rwatson

git-svn-id: svn://svn.freebsd.org/base/stable/8@225470 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r225348
brueffer [Fri, 9 Sep 2011 19:39:54 +0000 (19:39 +0000)]
MFC: r225348

Remove an incorrect apostrophe.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225464 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225350 and r225400:
hselasky [Fri, 9 Sep 2011 07:44:14 +0000 (07:44 +0000)]
MFC r225350 and r225400:

This patch adds automatic detection of USB mass storage devices
which does not support the no synchronize cache SCSI command.

The __FreeBSD_version version macro has been bumped and
external kernel modules needs to be recompiled after
this patch.

PR: usb/160299

git-svn-id: svn://svn.freebsd.org/base/stable/8@225458 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225199:
delphij [Fri, 9 Sep 2011 01:39:19 +0000 (01:39 +0000)]
MFC r225199:

Fix format strings for KTR_STATE in 4BSD ad ULE schedulers.

Submitted by: Ivan Klymenko <fidaj@ukr.net>
PR: kern/159904, kern/159905

git-svn-id: svn://svn.freebsd.org/base/stable/8@225454 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225446:
delphij [Thu, 8 Sep 2011 16:22:58 +0000 (16:22 +0000)]
MFC r225446:

Fix SSL memory handlig for (EC)DH cipher suites, in particular for
multi-threaded use of ECDH.

Security: CVE-2011-3210
Reviewed by: stas
Obtained from: OpenSSL CVS

git-svn-id: svn://svn.freebsd.org/base/stable/8@225449 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r225109
rmacklem [Thu, 8 Sep 2011 00:45:28 +0000 (00:45 +0000)]
MFC: r225109
Fix nfsstat(1) so that it prints out correct stats for the
new NFS server when the "-w" option is used. The problem was
spotted by hrs@ during testing where srvrpcnt[] must be indexed
by NFSV4OP_XXX and not NFSPROC_XXX.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225442 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r225334
marius [Mon, 5 Sep 2011 17:45:22 +0000 (17:45 +0000)]
MFC: r225334

Fix alignment assumptions.

PR: 160289

git-svn-id: svn://svn.freebsd.org/base/stable/8@225403 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r198136
marius [Mon, 5 Sep 2011 12:39:14 +0000 (12:39 +0000)]
MFC: r198136

Support the specification of a range of destination ports e.g.

netsend 127.0.0.1 6666-7777 [payloadsize] [packet_rate] [duration]

git-svn-id: svn://svn.freebsd.org/base/stable/8@225398 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r198132
marius [Mon, 5 Sep 2011 12:36:10 +0000 (12:36 +0000)]
MFC: r198132

A small change to avoid calling gettimeofday() too often (hardwired to once
every 20us at most).

git-svn-id: svn://svn.freebsd.org/base/stable/8@225396 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r224659, r224674 and r224765:
ed [Mon, 5 Sep 2011 11:08:33 +0000 (11:08 +0000)]
MFC r224659, r224674 and r224765:

  Remove NIS entries from /etc/nsswitch.conf for WITHOUT_NIS.

  We already modify various configuration files in /etc based on build
  configuration. This is not done for nsswitch.conf right now when setting
  WITHOUT_NIS. This breaks various utilities, including crond, that depend
  on working databases.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225395 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225167, r225329:
mm [Mon, 5 Sep 2011 09:49:28 +0000 (09:49 +0000)]
MFC r225167, r225329:

MFC r225167:
Import bugfix for reading and extracting of FreeBSD ISO images with tar.

Vendor revision 3645 (merge of 3642):
Change the mechanism handling a rr_moved directory,
which is Rockridge extension that can exceed the limitation of
a maximum directory depth of ISO 9660.
  - Stop reading all entries at a time.
  - Connect "CL" entry to "RE" entry dynamically, which "CL" and "RE"
    have information to rebuild a full directory tree.
  - Tweak some related tests since we use Headsort for re-ordering
    entries and it cannot make a steady order when the keies of
    the entries are the same.

http://code.google.com/p/libarchive/issues/detail?id=168

MFC r225329:
Import additional bugfix for reading and extracting makefs-created
ISO images with tar.

Vendor revision 3648 (merge of 3647):
Additional fix to issue 168 because the change of r3642 was not sufficient.
  - Make sure "CL" entry appear after its "RE" entry which the "CL" entry
    should be connected with.
  - Give consideration to the case that the top level "RE" entry has
    already been exposed outside before its tree.

Obtained from: libarchive (release/2.8, svn rev 3645, 3648)

git-svn-id: svn://svn.freebsd.org/base/stable/8@225392 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225076:
kib [Mon, 5 Sep 2011 08:41:57 +0000 (08:41 +0000)]
MFC r225076:
Apply the limit to avoid the overflows in the radix tree subr_blist.c
after the conversion of the swap device size to the page size units,
not before.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225388 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225330:
pluknet [Mon, 5 Sep 2011 07:57:56 +0000 (07:57 +0000)]
MFC r225330:

 Cosmetic cleanup: remove unused #define LIBMEMSTAT

git-svn-id: svn://svn.freebsd.org/base/stable/8@225386 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225234:
art [Mon, 5 Sep 2011 06:54:13 +0000 (06:54 +0000)]
MFC r225234:

Make sure RPC calls over UDP return RPC_INTR status if the process has
been interrupted in a restartable syscall. Otherwise we could end up
in an (almost) endless loop in clnt_reconnect_call().

PR: kern/160198
Reviewed by: rmacklem
Approved by: avg (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@225384 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r225228
brueffer [Sun, 4 Sep 2011 14:28:06 +0000 (14:28 +0000)]
MFC: r225228

Remove broken link to supported wifi cards. There doesn't appear to
be an equivalent list anywhere else.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225374 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r225215
brueffer [Sat, 3 Sep 2011 20:46:30 +0000 (20:46 +0000)]
MFC: r225215

Fix memory leaks in error cases.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225369 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225040:
kib [Sat, 3 Sep 2011 08:31:59 +0000 (08:31 +0000)]
MFC r225040:
Prevent the hiwatermark for the unix domain socket from becoming
effectively negative. Often seen as upstream fastcgi connection timeouts
in nginx when using sendfile over unix domain sockets for communication.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225365 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoinsta-mfh r225359: cosmetic nit in usage string.
des [Sat, 3 Sep 2011 03:13:35 +0000 (03:13 +0000)]
insta-mfh r225359: cosmetic nit in usage string.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225360 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r225049
rmacklem [Sat, 3 Sep 2011 01:45:37 +0000 (01:45 +0000)]
MFC: r225049
Fix the NFSv4 server so that it returns NFSERR_SYMLINK when
an attempt to do an Open operation on any type of file other
than VREG is done. A recent discussion on the IETF working group's
mailing list (nfsv4@ietf.org) decided that NFSERR_SYMLINK
should be returned for all non-regular files and not just symlinks,
so that the Linux client would work correctly.
This change does not affect the FreeBSD NFSv4 client and is not
believed to have a negative effect on other NFSv4 clients.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225358 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r225229
marius [Fri, 2 Sep 2011 16:17:52 +0000 (16:17 +0000)]
MFC: r225229

Since r221218 (MFC'ed to stable/8 in r223500) rman_manage_region(9)
actually honors rm_start and rm_end which may cause problems when these
contain garbage so zero the range descriptors embedding the rmans when
allocating them.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225332 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r226155:
mm [Fri, 2 Sep 2011 08:19:19 +0000 (08:19 +0000)]
MFC r226155:

Generalize ffs_pages_remove() into vn_pages_remove().

Remove mapped pages for all dataset vnodes in zfs_rezget() using
new vn_pages_remove() to fix mmapped files changed by
zfs rollback or zfs receive -F.

PR: kern/160035, kern/156933

git-svn-id: svn://svn.freebsd.org/base/stable/8@225326 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r207662 (trasz):
mm [Fri, 2 Sep 2011 07:37:55 +0000 (07:37 +0000)]
MFC r207662 (trasz):
Move checking against RLIMIT_FSIZE into one place, vn_rlimit_fsize().

git-svn-id: svn://svn.freebsd.org/base/stable/8@225320 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFH 221143, 221144: whitespace
des [Thu, 1 Sep 2011 19:39:10 +0000 (19:39 +0000)]
MFH 221143, 221144: whitespace
MFH 221232: make "-f" optional

git-svn-id: svn://svn.freebsd.org/base/stable/8@225316 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225140:
mav [Thu, 1 Sep 2011 15:53:59 +0000 (15:53 +0000)]
MFC r225140:
Add ID for ASMedia ASM1061 2-port PCIe 2.0 x1 6Gb/s SATA controller.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225312 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFH r221107, r221108: alphabetize command-line options
des [Wed, 31 Aug 2011 16:25:34 +0000 (16:25 +0000)]
MFH r221107, r221108: alphabetize command-line options
MFH r221233: add -E option (BIO_DELETE unused blocks)

git-svn-id: svn://svn.freebsd.org/base/stable/8@225296 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225057:
attilio [Wed, 31 Aug 2011 09:14:56 +0000 (09:14 +0000)]
MFC r225057:
Fix a race that can happen when switching spinlocks in
callout_cpu_switch() and curthread is preempted.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225288 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225104:
ae [Wed, 31 Aug 2011 06:47:39 +0000 (06:47 +0000)]
MFC r225104:
  Fix lock leak.

  Reported by: Alex Lyashkov

git-svn-id: svn://svn.freebsd.org/base/stable/8@225282 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 225142:
gjb [Wed, 31 Aug 2011 01:17:49 +0000 (01:17 +0000)]
MFC 225142:

Reword sentence noting UPDATING entries prior to October 2007[1] are
only available in older FreeBSD releases.

PR: 159220

[1] - October 2007 is specific to HEAD.  In stable/8 and stable/7,
the correct year is 2004, so that change is reflected here as well.

git-svn-id: svn://svn.freebsd.org/base/stable/8@225275 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f