]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
10 years agoMFC r261354:
kib [Sat, 8 Feb 2014 15:51:42 +0000 (15:51 +0000)]
MFC r261354:
In _pthread_kill(), if passed pthread is current thread, do not send
the signal second time, by adding the missed else before if statement.

PR: threads/186309

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

10 years agoMFC r254798:
dumbbell [Sat, 8 Feb 2014 11:05:48 +0000 (11:05 +0000)]
MFC r254798:

drm: Fix leak of connector->edid_blob_ptr

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

10 years agoMFC r254797:
dumbbell [Sat, 8 Feb 2014 10:57:46 +0000 (10:57 +0000)]
MFC r254797:

drm: Const'ify the 1st "drm_display_mode" passed to "mode_fixup" callbacks

This will be needed by the Radeon KMS driver.

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

10 years agoMFC r254796:
dumbbell [Sat, 8 Feb 2014 10:45:49 +0000 (10:45 +0000)]
MFC r254796:

drm/i915: Import Linux commit 71244653a8fb0f46bc12ae421f1d5f72af6a75da

Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon Jun 4 18:39:20 2012 +0200

    drm/i915: adjusted_mode->clock in the dp mode_fixup

    ... instead of changing mode->clock, which we should leave as-is.

    After the previous patch we only touch that if it's a panel, and then
    adjusted mode->clock equals adjusted_mode->clock. Outside of
    intel_dp.c we only use ajusted_mode->clock in the mode_set functions.

    Within intel_dp.c we only use it to calculate the dp dithering
    and link bw parameters, so that's the only thing we need to fix
    up.

    As a temporary ugliness (until the cleanup in the next patch) we
    pass the adjusted_mode into dp_dither for both parameters (because
    that one still looks at mode->clock).

    Note that we do overwrite adjusted_mode->clock with the selected dp
    link clock, but that only happens after we've calculated everything we
    need based on the dotclock of the adjusted output configuration.

    Outside of intel_dp.c only intel_display.c uses adjusted_mode->clock,
    and that stays the same after this patch (still equals the selected dp
    link clock). intel_display.c also needs the actual dotclock (as
    target_clock), but that has been fixed up in the previous patch.

    v2: Adjust the debug message to also use adjusted_mode->clock.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
git-svn-id: svn://svn.freebsd.org/base/stable/9@261630 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r254794:
dumbbell [Sat, 8 Feb 2014 10:33:23 +0000 (10:33 +0000)]
MFC r254794:

drm: Import drm_buffer.[ch] from Linux 3.8-rc3

This will be used by the Radeon KMS driver.

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

10 years agoMFC r254792:
dumbbell [Sat, 8 Feb 2014 09:50:02 +0000 (09:50 +0000)]
MFC r254792:

drm: Call drm_global_init() & drm_global_release() at module load/unload

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

10 years agoMFC r249041, r249249:
dumbbell [Sat, 8 Feb 2014 09:25:56 +0000 (09:25 +0000)]
MFC r249041, r249249:

drm and i915: Left-shift iic_msg.slave at creation time

This is required because, in the radeon driver, we can't left-shift in a
central place, like it was done in the i915 driver.

Reviewed by: kib@, kan@, avg@
Tested by: kib@, avg@,
Olivier Cochard-LabbĂ© <olivier@cochard.me>

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

10 years agoMFC r248061:
dumbbell [Sat, 8 Feb 2014 08:50:44 +0000 (08:50 +0000)]
MFC r248061:

Import Linux commit a1b7736dac5f2d5876e68c47a0fce3f423840070
Author: Sascha Hauer <s.hauer@pengutronix.de>
Date:   Wed Feb 1 11:38:22 2012 +0100

    drm drm_fb_helper: destroy modes

    drm_setup_crtcs allocated modes using drm_mode_duplicate. Free
    them in drm_fb_helper_crtc_free.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Discussed with: Konstantin Belousov (kib@)

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

10 years agoMFC r259679:
dumbbell [Sat, 8 Feb 2014 08:16:38 +0000 (08:16 +0000)]
MFC r259679:

vga_pci: Improve boot display detection

The previous code was checking the "VGA Enable" bit on the video card's
parent PCI-to-PCI bridge only. This didn't work for the case where the
video card is attached to the root PCI bus (ie. the card has no parent
PCI-to-PCI bridge).

Now, the new code:
    1. checks the "VGA Enable" bit on the parent bridge only if it's a
       PCI-to-PCI bridge;
    2. always checks the "I/O" and "Memory address space decoding" bits
       on the video card itself.

However, vendor-specific bits are not used.

This fixes the use of many integrated Radeon cards: without this patch,
we fail to detect them as the boot display and, when radeonkms looks for
the Video BIOS, it skips the shadow copy made by the System BIOS. It
then fails to fully initialize the card, because the shadow copy is the
only way to read the Video BIOS in these situations. A workaround was to
force the boot display selection using the "hw.pci.default_vgapci_unit"
tunable.

A previous version of this patch added a new function doing the checks.
Now, the vga_pci_is_boot_display() function is used to perform the
checks (only until the boot display is found) and return if the given
device is the boot display or not.

Furthermore, vga_pci_attach() logs "Boot video device" if the card being
attached it the Chosen One:
    vgapci0: <VGA-compatible display> [...]
    vgapci0: Boot video device

Reviewed by: kib@, jhb@ (both a previous version)
Tested by: lunatic_ (#freebsd-xorg, integrated Radeon card,
xmj (#freebsd-xorg, i915+NVIDIA cards)

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

10 years agoMFC r254882, r254883, r255571:
dumbbell [Sat, 8 Feb 2014 07:53:39 +0000 (07:53 +0000)]
MFC r254882, r254883, r255571:

vga_pci: Add API to map the Video BIOS

Here are two new functions to map and unmap the Video BIOS:
    void * vga_pci_map_bios(device_t dev, size_t *size);
    void   vga_pci_unmap_bios(device_t dev, void *bios);

The BIOS is either taken from the shadow copy made by the System BIOS at
boot time if the given device was used for the default display (i386,
amd64 and ia64 only), or from the PCI expansion ROM.

Additionally, one can determine if a given device was the default
display at boot time using the following new function:
    int    vga_pci_is_boot_display(device_t dev);

Submitted by: jhb@ (r255571)

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

10 years agoMFC r244535, r245995, r261505 and r258961:
hselasky [Fri, 7 Feb 2014 07:31:54 +0000 (07:31 +0000)]
MFC r244535, r245995, r261505 and r258961:
- Use a boundary of zero, hence a PAGE_SIZE boundary
is implied by all memory allocations.
- Fix an external compiler warning about write-only
assigned variable.

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

10 years agoMFC r261449:
mav [Fri, 7 Feb 2014 05:23:04 +0000 (05:23 +0000)]
MFC r261449:
Fix lock acquisition in case no request space available, missed in r260097.

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

10 years agoMFC: 261291
gnn [Fri, 7 Feb 2014 04:35:20 +0000 (04:35 +0000)]
MFC: 261291

The timestamp bit is number 17, and not number 9, in the stat error
field of the receive descriptor.

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

10 years agoMFC r260949:
mav [Fri, 7 Feb 2014 04:10:30 +0000 (04:10 +0000)]
MFC r260949:
Make comconsole options set before its activation to be remembered.

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

10 years agoMFC r261080:
kib [Thu, 6 Feb 2014 19:47:50 +0000 (19:47 +0000)]
MFC r261080:
The posix_fallocate(2) syscall should return error number on error,
without modifying errno.

MFC r261290:
The posix_madvise(3) and posix_fadvise(2) should return error on
failure, same as posix_fallocate(2).

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

10 years agoMFC: r233049 by rmh
brueffer [Thu, 6 Feb 2014 07:55:50 +0000 (07:55 +0000)]
MFC: r233049 by rmh

Remove gratuitous DEBUG_FLAGS="-g" setting (this is already the default
option with GENERIC kernels).

PR: 179536
Submitted by: Alexey Markov

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

10 years agoMFC r261260, r261262, r261315 and r261343:
hselasky [Wed, 5 Feb 2014 08:42:59 +0000 (08:42 +0000)]
MFC r261260, r261262, r261315 and r261343:
Add support for trackpads found in Apple MacBook products. While at it
add some missing devd entries.

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

10 years agoTypo in the EXAMPLES section: this is regexp, not a shell wildcard expression.
pluknet [Tue, 4 Feb 2014 14:30:34 +0000 (14:30 +0000)]
Typo in the EXAMPLES section: this is regexp, not a shell wildcard expression.

This is a direct commit to stable/9.

Submitted by: Ilya Noskov <phantom@phantom.su>

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

10 years agoMFC r260903:
hselasky [Tue, 4 Feb 2014 10:27:39 +0000 (10:27 +0000)]
MFC r260903:
Add support for GPS ports to UHSO driver.

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

10 years agoMFC r260315:
hselasky [Tue, 4 Feb 2014 10:22:28 +0000 (10:22 +0000)]
MFC r260315:
Implement two new libusb API functions.

PR: usb/185454

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

10 years agoMFC r261228:
hselasky [Tue, 4 Feb 2014 09:06:07 +0000 (09:06 +0000)]
MFC r261228:
When detaching a [USB] keyboard, keys might still be pressed. Ensure
that all pressed keys are released before completing the USB keyboard
detach. This will prevent so-called "ghost-keys" from appearing after
that the USB device generating the key event(s) has been detached.

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

10 years agoMFC r261224:
hselasky [Tue, 4 Feb 2014 08:59:02 +0000 (08:59 +0000)]
MFC r261224:
Comply to the official LibUSB v1.0 API:
"It is legal to attempt to claim an already-claimed interface."

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

10 years agoMFC r261134:
hselasky [Tue, 4 Feb 2014 08:55:44 +0000 (08:55 +0000)]
MFC r261134:
Add more USB quirks.

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

10 years agoMFC r261123:
hselasky [Tue, 4 Feb 2014 08:47:08 +0000 (08:47 +0000)]
MFC r261123:
Reduce dmesg verbosity.

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

10 years agoMFC r261004, r261005 and r261033:
hselasky [Tue, 4 Feb 2014 08:44:33 +0000 (08:44 +0000)]
MFC r261004, r261005 and r261033:
Adjust the DMA delay logic so that the DMA delay does not become too small.

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

10 years agoMFC r261003:
hselasky [Tue, 4 Feb 2014 08:37:47 +0000 (08:37 +0000)]
MFC r261003:
Add new quirk.

PR: usb/185968

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

10 years agoMFC r260996:
mav [Tue, 4 Feb 2014 00:52:08 +0000 (00:52 +0000)]
MFC r260996:
Fix memory and references leak due to unfreed path in case we can't
allocate bus scan CCB.

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

10 years agoMFC: 260791
gnn [Mon, 3 Feb 2014 03:35:43 +0000 (03:35 +0000)]
MFC: 260791

Add a command line argument to turn off blocking waiting for the user
to press Ctrl-C (-b).  This allows tests with tight loops of mcgrabs
that can stress the multicast tables.

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

10 years agoMFC r260883:
mav [Sun, 2 Feb 2014 00:34:32 +0000 (00:34 +0000)]
MFC r260883:
Remove unneeded and dangerous assignment.  It would probably cause NULL
refererence panic if compiler not optimize it out.

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

10 years agoMFC: Note merge of sendmail 8.14.8.
gshapiro [Sat, 1 Feb 2014 23:47:45 +0000 (23:47 +0000)]
MFC: Note merge of sendmail 8.14.8.

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

10 years agoMFC: Minor changes to force commit these files so new freebsd*.cf files are
gshapiro [Sat, 1 Feb 2014 23:44:26 +0000 (23:44 +0000)]
MFC: Minor changes to force commit these files so new freebsd*.cf files are
     built to use the new sendmail-8.14.8/cf tree.

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

10 years agoMFC: Add missing svn:keywords property to new files
gshapiro [Sat, 1 Feb 2014 23:40:48 +0000 (23:40 +0000)]
MFC: Add missing svn:keywords property to new files

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

10 years agoMFC: Update for sendmail 8.14.8 import
gshapiro [Sat, 1 Feb 2014 23:40:23 +0000 (23:40 +0000)]
MFC: Update for sendmail 8.14.8 import

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

10 years agoMFC: Remove local FreeBSD workaround now that upstream project has a better fix.
gshapiro [Sat, 1 Feb 2014 23:39:59 +0000 (23:39 +0000)]
MFC: Remove local FreeBSD workaround now that upstream project has a better fix.

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

10 years agoMFC: Add new sendmail 8.14.8 file
gshapiro [Sat, 1 Feb 2014 23:39:03 +0000 (23:39 +0000)]
MFC: Add new sendmail 8.14.8 file

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

10 years agoMFC: Merge sendmail 8.14.8
gshapiro [Sat, 1 Feb 2014 23:37:03 +0000 (23:37 +0000)]
MFC: Merge sendmail 8.14.8

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

10 years agoMFC: Update link to vendor import instructions
gshapiro [Sat, 1 Feb 2014 22:06:02 +0000 (22:06 +0000)]
MFC: Update link to vendor import instructions

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

10 years agoMFC r261261: Restore the Nx macro.
pluknet [Sat, 1 Feb 2014 10:42:15 +0000 (10:42 +0000)]
MFC r261261: Restore the Nx macro.

PR: 186205
Submitted by: naddy

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

10 years agoMFC r261136:
pfg [Fri, 31 Jan 2014 04:06:00 +0000 (04:06 +0000)]
MFC r261136:

ext2fs: Re-enable reallocblk.

The major corruption issues affecting this code have been fixed.

Tested by: Mike Ma

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

10 years agoMFC r260988, r261034, r261120, r261235:
pfg [Fri, 31 Jan 2014 03:59:28 +0000 (03:59 +0000)]
MFC r260988, r261034, r261120,  r261235:

ext2fs: Properly the EXT4_EXTENTS and EXT4_INDEX to the inode flags.

In order to support Ext4 extents we need to pass the Ext4 inode flags
without interfering with the chflags. This is better done by using the
i_flag field in the inode and doing proper translation to the linux
ext4 equivalents.

Solve a potential corruption issue in the dirindex code. The dirindex
code can now be renabled as the problems related to it have been
solved.

Suggested by: bde
Tested by: kevlo

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

10 years agoMFC r261175:
pfg [Fri, 31 Jan 2014 03:39:11 +0000 (03:39 +0000)]
MFC r261175:

binutils: add support for Intel SMAP-related instructions

Add support for stac/clac instructions to manipulate the flag
that controls the behaviour of Intel's Supervisor Mode Access
Prevention (SMAP) feature.

Tested by: dim
Obtained from: OpenBSD

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

10 years agoMFC 261216:
jhb [Thu, 30 Jan 2014 19:13:14 +0000 (19:13 +0000)]
MFC 261216:
Explicitly enable I/O and memory decoding in the bridge's command register
when activating an I/O or memory window on the CardBus bridge.

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

10 years agoMFC r261084:
ae [Thu, 30 Jan 2014 10:54:11 +0000 (10:54 +0000)]
MFC r261084:
  malloc() with M_WAITOK doesn't return NULL.

MFC r261085:
  Fix typo in r261084.
  Add to the gctl_error() an ability to specify error description even
  if numeric error code is already specified. Also by default set
  error code to EINVAL.

  PR: 185852

MFC r261086:
  In gctl_copyin() remove unused error variable.
  geom_alloc_copyin() can't return ENOMEM, so describe its fail as bad
  control request. Add check for NULL pointer in gctl_dump(), since it
  can be NULL when geom_alloc_copyin() failed.

MFC r261089:
  Remove another unneeded NULL check from geom_alloc_copyin().
  Do copyout in case of gctl version mismatch and fix sbuf leak in
  g_ctl_ioctl_ctl().

MFC r261091:
  Always free sbuf in gctl_free().

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

10 years agoMFC r261075: Update EINVAL description.
pluknet [Thu, 30 Jan 2014 05:37:17 +0000 (05:37 +0000)]
MFC r261075: Update EINVAL description.

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

10 years agoMFC r260267 (by smh), r261042:
mav [Wed, 29 Jan 2014 02:39:44 +0000 (02:39 +0000)]
MFC r260267 (by smh), r261042:
Correct short delete issue in SCSI UNMAP support
Correct missing \n's in xpt_print's
Correct incorrect count being passed to short delete xpt_print

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

10 years agoMFC 260910:
jhb [Tue, 28 Jan 2014 21:56:18 +0000 (21:56 +0000)]
MFC 260910:
- Allow PCI devices that are attached to a driver to be identified by their
  device name instead of just the selector.
- Accept an optional device argument to -l to restrict the output to only
  listing details about a single device.  This is mostly useful in
  conjunction with other flags like -e or -c to allow a user to query
  details about a single device.

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

10 years agoMFC r261162:
dim [Tue, 28 Jan 2014 08:07:19 +0000 (08:07 +0000)]
MFC r261162:

Pull in r195679 from upstream llvm trunk:

  Don't use nopl in cpus that don't support it.

  Patch by Mikulas Patocka. I added the test. I checked that for cpu names that
  gas knows about, it also doesn't generate nopl.

  The modified cpus:
  i686 - there are i686-class CPUs that don't have nopl: Via c3, Transmeta
 Crusoe, Microsoft VirtualBox - see
 https://bbs.archlinux.org/viewtopic.php?pid=775414
  k6, k6-2, k6-3, winchip-c6, winchip2 - these are 586-class CPUs
  via c3 c3-2 - see https://bugs.archlinux.org/task/19733 as a proof that
 Via c3 and c3-Nehemiah don't have nopl

PR: bin/185777

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

10 years agoMFC r260978:
hselasky [Tue, 28 Jan 2014 07:09:48 +0000 (07:09 +0000)]
MFC r260978:
Add check for "hw.usb.no_pf" sysctl value.

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

10 years agoMFC r260485,260496:
ae [Tue, 28 Jan 2014 00:31:48 +0000 (00:31 +0000)]
MFC r260485,260496:
  Remove extra nesting from X_ip6_mforward() function.
  Also remove disabled definitions from ip6_mroute.h.

  PR: 185148

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

10 years agoMFC r260872:
jhibbits [Sun, 26 Jan 2014 02:41:00 +0000 (02:41 +0000)]
MFC r260872:

There's actually no data in the PMU_GET_VERSION command.  Don't send any.
This change now allows the PMU to be used on PowerBook5,8.

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

10 years agoMFC r260534:
hselasky [Fri, 24 Jan 2014 08:19:50 +0000 (08:19 +0000)]
MFC r260534:
Move USB ID from u3g driver to uhso driver.

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

10 years agoMFC r258545:
hselasky [Fri, 24 Jan 2014 08:16:19 +0000 (08:16 +0000)]
MFC r258545:
Comply to the XHCI specification. Certain input context fields should
always be zero.

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

10 years agoMFC r260808 and r260814:
hselasky [Fri, 24 Jan 2014 08:08:28 +0000 (08:08 +0000)]
MFC r260808 and r260814:
- Close a minor deadlock.
- Fix a possible memory use after free and leak situation associated
with USB device detach when using character device handles. This also
includes LibUSB. It turns out that "usb_close()" cannot always get a
reference to clean up its USB transfers and such, if called during the
kernel USB device detach.

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

10 years agoMFC r260588 and r260589:
hselasky [Fri, 24 Jan 2014 07:57:21 +0000 (07:57 +0000)]
MFC r260588 and r260589:
- Separate I/O errors from reception of STALL PID.
- Implement better error recovery for Transaction Translators, TTs,
found in High Speed USB HUBs which translate from High Speed USB into
FULL or LOW speed USB. In some rare cases SPLIT transactions might get
lost, which might leave the TT in an unknown state. Whenever we detect
such an error try to issue either a clear TT buffer request, or if
that is not possible reset the whole TT.

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

10 years agoMFC r260563:
hselasky [Fri, 24 Jan 2014 07:42:26 +0000 (07:42 +0000)]
MFC r260563:
Make sure reserved fields of the EHCI DMA descriptors are not dirty
after previous transfers.

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

10 years agoMFC r260559:
hselasky [Fri, 24 Jan 2014 07:33:54 +0000 (07:33 +0000)]
MFC r260559:
Don't do synchronous USB requests inside USB transfer callbacks. It is
technically OK, but not recommended.

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

10 years agoMFC r260388, r260535 and r260536:
hselasky [Fri, 24 Jan 2014 07:27:11 +0000 (07:27 +0000)]
MFC r260388, r260535 and r260536:
Fix XHCI interrupt logic for "Intel Lynx Point" found in MBP2013.

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

10 years agoFix build on stable/9.
mav [Thu, 23 Jan 2014 17:27:16 +0000 (17:27 +0000)]
Fix build on stable/9.

I am sorry. :(

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

10 years agoMFC r260229, r260258, r260367, r260390, r260459, r260648:
mav [Thu, 23 Jan 2014 00:46:29 +0000 (00:46 +0000)]
MFC r260229, r260258, r260367, r260390, r260459, r260648:
Rework NFS Duplicate Request Cache cleanup logic.

 - Introduce additional hash to group requests by hash of sockref.  This
allows to process TCP acknowledgements without looping though all the cache,
and as result allows to do it every time.
 - Indroduce additional callbacks to notify application layer about sockets
disconnection.  Without this last few requests processed just before socket
disconnection never processed their ACKs and stuck in cache for many hours.
 - Implement transport-specific method for tracking reply acknowledgements.
New implementation does not cross multiple stack layers to get the data and
does not have race conditions that previously made some requests stuck
in cache.  This could be done more efficiently at sockbuf layer, but that
would broke some KBIs, while I don't know other consumers for it aside NFS.
 - Instead of traversing all DRC twice per request, run cleaning only once
per request, and except in some conditions traverse only single hash slot
at a time.

Together this limits NFS DRC growth only to situations of real connectivity
problems.  If network is working well, and so all replies are acknowledged,
cache remains almost empty even after hours of heavy load.  Without this
change on the same test cache was growing to many thousand requests even
with perfectly working local network.

As another result this reduces CPU time spent on the DRC handling during
SPEC NFS benchmark from about 10% to 0.5%.

Sponsored by:   iXsystems, Inc.

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

10 years agoMFC r260097:
mav [Thu, 23 Jan 2014 00:45:20 +0000 (00:45 +0000)]
MFC r260097:
Move most of NFS file handle affinity code out of the heavily congested
global RPC thread pool lock and protect it with own set of locks.

On synthetic benchmarks this improves peak NFS request rate by 40%.

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

10 years agoMFC r260036:
mav [Thu, 23 Jan 2014 00:44:45 +0000 (00:44 +0000)]
MFC r260036:
Introduce xprt_inactive_self()  -- variant for use when sure that port
is assigned to thread.  For example, withing receive handlers.  In that
case the function reduces to single assignment and can avoid locking.

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

10 years agoMFC r260031:
mav [Thu, 23 Jan 2014 00:44:14 +0000 (00:44 +0000)]
MFC r260031:
In addition to r259632 completely block receive upcalls if we have more
data than we need.  This reduces lock pressure from xprt_active() side.

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

10 years agoMFC r259877:
mav [Thu, 23 Jan 2014 00:43:33 +0000 (00:43 +0000)]
MFC r259877:
Slightly simplify expiration logic introduced in r254337.

 - Do not update the histogram for items we are any way deleting from cache.
 - Do not update the histogram if nfsrc_tcphighwater is not set.
 - Remove some extra math operations.

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

10 years agoMFC r259828:
mav [Thu, 23 Jan 2014 00:42:55 +0000 (00:42 +0000)]
MFC r259828:
Fix a bug introduced at r259632, triggering infinite loop in some cases.

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

10 years agoMFC r259765:
mav [Thu, 23 Jan 2014 00:42:08 +0000 (00:42 +0000)]
MFC r259765:
Fix RPC server threads file handle affinity to work better with ZFS.

  Instead of taking 8 specific bytes of file handle to identify file during
RPC thread affitinity handling, use trivial hash of the full file handle.
ZFS's struct zfid_short does not have padding field after the length field,
as result, originally picked 8 bytes are loosing lower 16 bits of object ID,
causing many false matches and unneeded requests affinity to same thread.
  This fix substantially improves NFS server latency and scalability in SPEC
NFS benchmark by more flexible use of multiple NFS threads.

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

10 years agoMFC r259659, r259662:
mav [Thu, 23 Jan 2014 00:41:23 +0000 (00:41 +0000)]
MFC r259659, r259662:
Remove several linear list traversals per request from RPC server code.

  Do not insert active ports into pool->sp_active list if they are success-
fully assigned to some thread.  This makes that list include only ports that
really require attention, and so traversal can be reduced to simple taking
the first one.

  Remove idle thread from pool->sp_idlethreads list when assigning some
work (port of requests) to it.  That again makes possible to replace list
traversals with simple taking the first element.

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

10 years agoMFC r259632:
mav [Thu, 23 Jan 2014 00:40:28 +0000 (00:40 +0000)]
MFC r259632:
Rework flow control for connection-oriented (TCP) RPC server.

  When processing receive buffer, write the amount of data, expected
in present request record, into socket's so_rcv.sb_lowat to make stack
aware about our needs.  When processing following upcalls, ignore them
until socket collect enough data to be read and processed in one turn.
  This change reduces number of context switches and other operations
in RPC stack during large NFS writes (especially via non-Jumbo networks)
by order of magnitude.

  After precessing current packet, take another look into the pending
buffer to find out whether the next packet had been already received.
If not, deactivate this port right there without making RPC code to
push this port to another thread just to find that there is nothing.
If the next packet is received partially, also deactivate the port, but
also update socket's so_rcv.sb_lowat to not be woken up prematurely.
  This change additionally reduces number of context switches per NFS
request about in half.

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

10 years agoMFC r244008 (by rmacklem):
mav [Thu, 23 Jan 2014 00:35:41 +0000 (00:35 +0000)]
MFC r244008 (by rmacklem):
Add support for backchannels to the kernel RPC. Backchannels
are used by NFSv4.1 for callbacks. A backchannel is a connection
established by the client, but used for RPCs done by the server
on the client (callbacks). As a result, this patch mixes some
client side calls in the server side and vice versa. Some
definitions in the .c files were extracted out into a file called
krpc.h, so that they could be included in multiple .c files.
This code has been in projects/nfsv4.1-client for some time.
Although no one has given it a formal review, I believe kib@
has taken a look at it.

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

10 years agoMFC r258578, r258580, r258581 (by hrs):
mav [Thu, 23 Jan 2014 00:28:17 +0000 (00:28 +0000)]
MFC r258578, r258580, r258581 (by hrs):
Replace Sun RPC license in TI-RPC library with a 3-clause BSD license
with the explicit permissions.

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

10 years agoMFC r258132:
mav [Thu, 23 Jan 2014 00:26:24 +0000 (00:26 +0000)]
MFC r258132:
Some minor tuning to rpc/svc.c:
 - close cosmetic race in svc_exit();
 - do not set wait timeout for idle threads if we have no use for wakeups;
 - create new requested thread sooner, not only after some another thread
wakeup, that may happen later under constant load.

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

10 years agoMerge 260225:
glebius [Wed, 22 Jan 2014 09:23:30 +0000 (09:23 +0000)]
Merge 260225:

  Fix circular math macro.

PR: 146082

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

10 years agoMFC r259925-259926:
marck [Tue, 21 Jan 2014 09:20:45 +0000 (09:20 +0000)]
MFC r259925-259926:

  Add GPT UUID for VMware vSAN meta-data partition.

Approved by: ae

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

10 years agoMFC r260407:
mav [Tue, 21 Jan 2014 00:34:37 +0000 (00:34 +0000)]
MFC r260407:
Allow delete_method sysctl to be set to "DISABLE".

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

10 years agoMFC r257054:
mav [Tue, 21 Jan 2014 00:31:31 +0000 (00:31 +0000)]
MFC r257054:
Some microoptimizations for da and ada drivers:
 - Replace ordered_tag_count counter with single flag;
 - From da remove outstanding_cmds counter, duplicating pending_ccbs list;
 - From da_softc remove unused links field.

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

10 years agoMFC r256995:
mav [Tue, 21 Jan 2014 00:27:49 +0000 (00:27 +0000)]
MFC r256995:
Remove 128KB bzero() call done for every block I/O data buffer.

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

10 years agoMFC r256895:
mav [Tue, 21 Jan 2014 00:25:50 +0000 (00:25 +0000)]
MFC r256895:
Fix memory and references leak due to unfreed path.

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

10 years agoMFC r256836:
mav [Tue, 21 Jan 2014 00:22:08 +0000 (00:22 +0000)]
MFC r256836:
Remove hard limit on number of BIOs handled with one ATA TRIM request.

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

10 years agoMFC r255307 (by bryanv):
mav [Tue, 21 Jan 2014 00:16:41 +0000 (00:16 +0000)]
MFC r255307 (by bryanv):
Add camcontrol support for the SCSI sanitize command

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

10 years agoMFC r254970 (by ken):
mav [Tue, 21 Jan 2014 00:14:06 +0000 (00:14 +0000)]
MFC r254970 (by ken):
If a drive returns ASC/ASCQ 0x04,0x11 "Logical unit not ready,
notify (enable spinup) required", instead of doing the normal
retries, poll for a change in status.

We will poll every half second for a minute for the status to
change.

Hitachi drives (and likely other SAS drives) return that ASC/ASCQ
when they are waiting to spin up.  What it means is that they are
waiting for the SAS expander to send them the SAS
NOTIFY (ENABLE SPINUP) primitive.

That primitive is the mechanism expanders/enclosures use to
sequence drive spinup to avoid overloading power supplies.

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

10 years agoMFC r260782:
wblock [Mon, 20 Jan 2014 23:25:52 +0000 (23:25 +0000)]
MFC r260782:

-h and -H options backwards in manual page.

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

10 years agoMFC r260332;
pfg [Mon, 20 Jan 2014 21:52:00 +0000 (21:52 +0000)]
MFC r260332;
gcc: backport some fixes from llvm-gcc

llvm-gcc backported some patches from gcc trunk:

http://gcc.gnu.org/ml/gcc-cvs/2007-05/msg00662.html
http://gcc.gnu.org/ml/gcc-cvs/2007-07/msg00019.html
http://gcc.gnu.org/ml/gcc-cvs/2007-08/msg00240.html
http://gcc.gnu.org/ml/gcc-cvs/2007-08/msg00493.html

The first two were always GPL2. The last two were
added after the GPL3 transition, but were written
by aaw@google.com and Rafael EspĂ­ndola got permission
to relicense them under the GPL2 for inclusion in
llvm-gcc.

This fixes GCC-PR c++/31749

Obtained from: llvm-gcc (rev. 75463; GPLv2)

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

10 years agoMFC r260833:
trociny [Mon, 20 Jan 2014 20:34:31 +0000 (20:34 +0000)]
MFC r260833:

Bring back r226403, the fix for bin/161526, which was (accidentally?)
reverted in r238896.

PR: bin/161526
Reported by: Karli.Sjoberg slu.se

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

10 years agoMFC r260014, r260099:
pfg [Mon, 20 Jan 2014 19:38:16 +0000 (19:38 +0000)]
MFC r260014, r260099:

gcc: Add support for label attributes and "unavailable" attribute.

Apple GCC has extensions to support for both label attributes and
an "unavailable" attribute. These are critical for objc but are
also useful in regular C/C++.

Obtained from: Apple GCC 4.2 - 5531

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

10 years agoMFH: r260483, r260484, r260594, r260595, r260596, r260597
bapt [Mon, 20 Jan 2014 15:33:31 +0000 (15:33 +0000)]
MFH: r260483, r260484, r260594, r260595, r260596, r260597

Improve error message shown to the user when trying to load a module that is
already loaded or compiled withing the kernel
Point the user to dmesg(1) to get informations about why loading a module did fail
instead of printing the cryptic "Exec format error"
Update the BUGS section of kld(4) according the recent changes in kldload(8)

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

10 years agoMFC r259729:
gjb [Sun, 19 Jan 2014 19:49:24 +0000 (19:49 +0000)]
MFC r259729:
  Bootstrap etcupdate(8) as part of the release build, similar
  to what is done for mergemaster(8).  This allows etcupdate(8)
  to work out-of-box after the first upgrade of a system.

Sponsored by: The FreeBSD Foundation

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

10 years agoMFC r255077:
dumbbell [Sun, 19 Jan 2014 13:51:46 +0000 (13:51 +0000)]
MFC r255077:

acpi_thermal: Warn about insane _TMP temperature only once

A warning is emitted again if the temperature became briefly valid
meanwhile. This avoids spamming the user when the sensor is broken.

Other values (ie. not _TMP) always raise a warning.

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

10 years agoMFC r251223 (by nyan):
mav [Sat, 18 Jan 2014 22:59:10 +0000 (22:59 +0000)]
MFC r251223 (by nyan):
Always update the hw.uart.console hint.

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

10 years agoMFC r245848 (by jhb):
mav [Sat, 18 Jan 2014 22:52:43 +0000 (22:52 +0000)]
MFC r245848 (by jhb):
Always update the hw.uart.console hint anytime a change is made to the
comconsole setup.  Previously the hint would be set when if you set a
custom port, but it would not be updated if you later set a custom speed.

Also, leave the hw.uart.console hint mutable so it can be overridden or
unset by the user if needed.

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

10 years agoMFC r250816:
pluknet [Sat, 18 Jan 2014 21:21:44 +0000 (21:21 +0000)]
MFC r250816:

Protect SDT_PROBE() with do { } while (0) loop.

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

10 years agoMFC r260566: Remove incorrect bit shift when assigning the LUN request field
bryanv [Sat, 18 Jan 2014 03:35:10 +0000 (03:35 +0000)]
MFC r260566: Remove incorrect bit shift when assigning the LUN request field

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

10 years agoMFC of 260088:
mckusick [Fri, 17 Jan 2014 16:29:57 +0000 (16:29 +0000)]
MFC of 260088:

Fine tune filesystem block allocations under low free-space
conditions (-r254995) based on further operational experience.

Submitted by:  Dmitry Sivachenko
Fix Tested by: Dmitry Sivachenko

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

10 years agofollowup to r260816, MFC of r257037: remove dtio from dtrace Makefile
avg [Fri, 17 Jan 2014 15:01:50 +0000 (15:01 +0000)]
followup to r260816, MFC of r257037: remove dtio from dtrace Makefile

svn merge ran without any complains or errors, but this Makefile somehow
was not updated.

This is a direct commit.

Reported by: Jukka Ukkonen <jau789@gmail.com>

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

10 years agoMFC r227294: SDT's struct sdt_argtype can be marked static everywhere
avg [Fri, 17 Jan 2014 11:20:23 +0000 (11:20 +0000)]
MFC r227294: SDT's struct sdt_argtype can be marked static everywhere

MFC slacker: ed

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

10 years agoMFC r251237: Port the SDT test
avg [Fri, 17 Jan 2014 11:13:45 +0000 (11:13 +0000)]
MFC r251237: Port the SDT test

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

10 years agoMFC r250817: Use SDT_PROBE1() instead of SDT_PROBE()
avg [Fri, 17 Jan 2014 11:04:59 +0000 (11:04 +0000)]
MFC r250817: Use SDT_PROBE1() instead of SDT_PROBE()

MFC slacker: pjd

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

10 years agoMFC r257037: Redefine the io provider using the SDT(9) macros
avg [Fri, 17 Jan 2014 10:50:46 +0000 (10:50 +0000)]
MFC r257037: Redefine the io provider using the SDT(9) macros

MFC slacker: markj

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

10 years agoMFC r258744-258746: zfs: add zfs_freebsd_putpages
avg [Thu, 16 Jan 2014 18:13:18 +0000 (18:13 +0000)]
MFC r258744-258746: zfs: add zfs_freebsd_putpages

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

10 years agoMFC r258720: MFV r258665: 4347 ZPL can use dmu_tx_assign(TXG_WAIT)
avg [Thu, 16 Jan 2014 16:15:48 +0000 (16:15 +0000)]
MFC r258720: MFV r258665: 4347 ZPL can use dmu_tx_assign(TXG_WAIT)

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

10 years agoMFC r258739: zfs mappedread_sf: assert that a page is never partially valid
avg [Thu, 16 Jan 2014 16:13:32 +0000 (16:13 +0000)]
MFC r258739: zfs mappedread_sf: assert that a page is never partially valid

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

10 years agoMFC r258634: MFV r258376: 3964 L2ARC should always compress metadata
avg [Thu, 16 Jan 2014 16:08:14 +0000 (16:08 +0000)]
MFC r258634: MFV r258376: 3964 L2ARC should always compress metadata
buffers

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