]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
10 years agoMFC: r262333
brueffer [Sat, 8 Mar 2014 12:26:17 +0000 (12:26 +0000)]
MFC: r262333

Simplify the way the end of a singly linked list is followed (for adding
items), so it is more obvious that we aren't going to indirect through
a NULL pointer.

PR:             144723
Submitted by:   Garrett Cooper <yaneurabeya at gmail.com>
Obtained from:  NetBSD r1.19

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

10 years agoMFC: r253983-253984
erwin [Mon, 3 Mar 2014 09:57:04 +0000 (09:57 +0000)]
MFC: r253983-253984
MFV: r262443

Update BIND to 9.8.7

Note this is a commit straight to stable as BIND no longer exists in head.

Sponsored by: DK Hostmaster A/S

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

10 years agoMFC: r262574
brueffer [Sun, 2 Mar 2014 12:15:26 +0000 (12:15 +0000)]
MFC: r262574

Add tws(4) to the hardware notes.

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

10 years agoMFC: r262296
brueffer [Fri, 28 Feb 2014 00:45:55 +0000 (00:45 +0000)]
MFC: r262296

Match the correct variable to the variable description.

PR: 121173
Submitted by: Thomas Mueller <tmueller at sysgo.com>

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

10 years agoMFC: r261773
brueffer [Tue, 25 Feb 2014 07:59:33 +0000 (07:59 +0000)]
MFC: r261773

In acline_init(), initialize ac_line to SRC_UNKNOWN.  Previously
this could lead to the -n option effectively being ignored (in case
ac_line happened to be 0 aka SRC_AC), or other undefined behaviour.

PR: 169779
Submitted by: Alex Gonzalez <loox at e-shell.com>
Reviewed by: jhb

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

10 years agoMFC r261774 by feld:
eadler [Mon, 24 Feb 2014 17:03:02 +0000 (17:03 +0000)]
MFC r261774 by feld:

Add caveat to zpool manpage indicating that we do not automatically activate
hot spares. This should be MFC'd to all STABLE branches.

Upon the availability of zfsd, the zpool manpage on relevant branches should
be updated to remove this caveat and document hot spare's reliance on zfsd.

Requested by: feld

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

10 years agoMFC r261872:
hselasky [Sun, 23 Feb 2014 13:39:15 +0000 (13:39 +0000)]
MFC r261872:
Fix minor logical error in the XHCI driver. Set correct SETUP packet
direction value.

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

10 years agoMFC r261981:
hselasky [Sun, 23 Feb 2014 13:28:37 +0000 (13:28 +0000)]
MFC r261981:
Add new PCI ID for hardware which needs port routing for USB 3.0.

PR: usb/186811

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

10 years agoMFC r261795:
hselasky [Sun, 23 Feb 2014 13:13:59 +0000 (13:13 +0000)]
MFC r261795:
Issue doorbell twice before finally freeing the DMA descriptors. This
should fix DMA descriptor caching issues seen with the EHCI controller
found in Google Chromebook C720 during removal and insertion of USB
devices.

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

10 years agoMFC r261620: MFV r261619:
delphij [Sat, 22 Feb 2014 01:13:48 +0000 (01:13 +0000)]
MFC r261620: MFV r261619:

4574 get_clones_stat does not call zap_count in non-debug kernel

zap_count(...) is never called in non-DEBUG kernel.
As result "count" variable is always 0, and "goto fail" is always
reached.  This means get_clones_stat function never makes up list
of clones for "clones" properties.

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

10 years agoMFC r261618:
delphij [Sat, 22 Feb 2014 00:41:03 +0000 (00:41 +0000)]
MFC r261618:

In g_eli_crypto_hmac_init(), zero out after using the ipad buffer,
k_ipad.

Note that the two consumers in geli(4) are not affected by this
issue because the way the code is constructed and as such, we
believe there is no security impact with or without this change
with geli(4)'s usage.

Reported by: Serge van den Boom <serge vdboom.org>
Reviewed by: pjd

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

10 years agoMFC: r261900
brueffer [Fri, 21 Feb 2014 09:27:48 +0000 (09:27 +0000)]
MFC: r261900

In chat_UpdateSet(), initialize the input buffer to prevent stale data
from previous timed out commands.

PR: 186530
Submitted by: Alexander Zagrebin <alexz at visp.ru>
Reviewed by: brian

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

10 years agoMFC: r261885
brueffer [Fri, 21 Feb 2014 09:22:37 +0000 (09:22 +0000)]
MFC: r261885

In sgetpwnam(), save and free pw_class like all other char members
of struct passwd.  This fixes spurious "login_getclass: unknown class"
errors.

PR: 186439
Submitted by: UEMURA Tetsuya <t_uemura at macome.co.jp>

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

10 years agoMFC: r261858
brueffer [Thu, 20 Feb 2014 09:00:13 +0000 (09:00 +0000)]
MFC: r261858

Fix a bug in be_uuid_dec(); it called le16dec() instead of be16dec(),
probably due to copy+pasting le_uuid_dec().

PR: 146588
Submitted by: Erwin Rol <erwin at erwinrol.com>
Reviewed by: marcel

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

10 years agoMFC r257883:
eadler [Wed, 19 Feb 2014 19:47:08 +0000 (19:47 +0000)]
MFC r257883:

Add support for SIIG x1 pci-e single parallel port card (JJ-E01211-S1)

PR: kern/182217

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

10 years agoMFC 261512,261514:
jhb [Wed, 19 Feb 2014 19:28:49 +0000 (19:28 +0000)]
MFC 261512,261514:
- Partially revert r52493 and change client side interval statistics to
  report the actual number of RPCs issued, not the theoretical number
  that would be issued if all caching was disabled.
- Use the DELTA() macro to tidy the server-side interval stats code a bit.

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

10 years agoMFC 261524:
jhb [Wed, 19 Feb 2014 18:35:22 +0000 (18:35 +0000)]
MFC 261524:
Properly set the alignment flags when allocating the initial range for a
BAR.  This only really matters when pci_do_realloc_bars is enabled and
the initial allocation of a specific range fails.

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

10 years agoMFC 250691:
jhb [Wed, 19 Feb 2014 15:00:55 +0000 (15:00 +0000)]
MFC 250691:
Return one-based key so that user can check if the key is ever allocated
in the first place.

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

10 years agoMFC 261518:
jhb [Tue, 18 Feb 2014 20:16:32 +0000 (20:16 +0000)]
MFC 261518:
- Update a few places to account for va_copy().
- Create a separate 'return values' section and move some statements about
  return values to that section.
- Note that each invocation of va_start() and va_copy() must be paired with
  va_end() in the same function.

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

10 years agoMFC r259576: MFV r258923: 4188 assertion failed in dmu_tx_hold_free():
avg [Tue, 18 Feb 2014 15:45:15 +0000 (15:45 +0000)]
MFC r259576: MFV r258923: 4188 assertion failed in dmu_tx_hold_free():
dn_datablkshift != 0

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

10 years agoMFC r259052: Expose spa_asize_inflation
avg [Tue, 18 Feb 2014 15:38:50 +0000 (15:38 +0000)]
MFC r259052: Expose spa_asize_inflation

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

10 years agoMFC r258294: Fix ZFS deadlock when sending a snapshot which is mounted
avg [Tue, 18 Feb 2014 15:30:11 +0000 (15:30 +0000)]
MFC r258294: Fix ZFS deadlock when sending a snapshot which is mounted

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

10 years agoMFC r256889: Use the vdev's ashift to calculate the supported min block
avg [Tue, 18 Feb 2014 15:24:59 +0000 (15:24 +0000)]
MFC r256889: Use the vdev's ashift to calculate the supported min block
size passed to zio_compress_data

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

10 years agoMFC r254757: MFV r254749: 4046 dsl_dataset_t ds_dir->dd_lock is highly
avg [Tue, 18 Feb 2014 15:18:21 +0000 (15:18 +0000)]
MFC r254757: MFV r254749: 4046 dsl_dataset_t ds_dir->dd_lock is highly
contended

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

10 years agoMFC r254608: Add kstat entries for ZFS compression statistics
avg [Tue, 18 Feb 2014 15:05:09 +0000 (15:05 +0000)]
MFC r254608: Add kstat entries for ZFS compression statistics

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

10 years agoMFC r253820: MFV r253782: 3888 zfs recv -F should destroy any snapshots
avg [Tue, 18 Feb 2014 14:11:19 +0000 (14:11 +0000)]
MFC r253820: MFV r253782: 3888 zfs recv -F should destroy any snapshots
created since the incremental source

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

10 years agoMFC r253819: MFV r253781 + r253871: 3894 zfs should not allow snapshot of inconsisten...
avg [Tue, 18 Feb 2014 14:06:59 +0000 (14:06 +0000)]
MFC r253819: MFV r253781 + r253871: 3894 zfs should not allow snapshot of inconsistent dataset

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

10 years agoMFC r250149: In case ZFS doesn't use UMA for buffers there's no need to
avg [Tue, 18 Feb 2014 13:59:06 +0000 (13:59 +0000)]
MFC r250149: In case ZFS doesn't use UMA for buffers there's no need to
waste memory

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

10 years agoMFC r240829: remove cache entries associated with the source and the
avg [Tue, 18 Feb 2014 13:49:03 +0000 (13:49 +0000)]
MFC r240829: remove cache entries associated with the source and the
target of rename()

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

10 years agoMFC 260926:
jhb [Mon, 17 Feb 2014 22:19:49 +0000 (22:19 +0000)]
MFC 260926:
Add support for displaying VPD for PCI devices via pciconf.
- Store the length of each read-only VPD value since not all values are
  guaranteed to be ASCII values (though most are).
- Add a new pciio ioctl to fetch VPD for a single PCI device.  The values
  are returned as a list of variable length records, one for the device
  name and each keyword.
- Add a new -V flag to pciconf's list mode which displays VPD data for
  each device.

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

10 years agoMFC r260185: MFV r260155: 4391 panic system rather than corrupting pool
avg [Mon, 17 Feb 2014 18:24:37 +0000 (18:24 +0000)]
MFC r260185: MFV r260155: 4391 panic system rather than corrupting pool
if we hit bug 4390

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

10 years agoMFC r260835: MFV r260834: Fix memory leak of compressed buffers in
avg [Mon, 17 Feb 2014 18:16:50 +0000 (18:16 +0000)]
MFC r260835: MFV r260834: Fix memory leak of compressed buffers in
l2arc_write_done

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

10 years agoMFC r260703: zinject must use ioctl(2) compatibility wrapper
avg [Mon, 17 Feb 2014 18:07:07 +0000 (18:07 +0000)]
MFC r260703: zinject must use ioctl(2) compatibility wrapper

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

10 years agoMFC r260704,260717: zfs: getnewvnode_reserve must be called outside of a
avg [Mon, 17 Feb 2014 17:59:51 +0000 (17:59 +0000)]
MFC r260704,260717: zfs: getnewvnode_reserve must be called outside of a
zfs transaction

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

10 years agoMFC r260812: traverse_visitbp: visit DMU_GROUPUSED_OBJECT before
avg [Mon, 17 Feb 2014 17:52:14 +0000 (17:52 +0000)]
MFC r260812: traverse_visitbp: visit DMU_GROUPUSED_OBJECT before
DMU_USERUSED_OBJECT

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

10 years agoMFC r260811: zdb -R: do not treat numeric parameters to a flag as more flags
avg [Mon, 17 Feb 2014 17:49:03 +0000 (17:49 +0000)]
MFC r260811: zdb -R: do not treat numeric parameters to a flag as more flags

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

10 years agoMFC r260703: zinject must use ioctl(2) compatibility wrapper
avg [Mon, 17 Feb 2014 17:46:33 +0000 (17:46 +0000)]
MFC r260703: zinject must use ioctl(2) compatibility wrapper

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

10 years agoMFC r254591,255753: Enhance the ZFS vdev layer to maintain both a
avg [Mon, 17 Feb 2014 17:42:33 +0000 (17:42 +0000)]
MFC r254591,255753: Enhance the ZFS vdev layer to maintain both a
logical and a physical minimum allocation size for devices

Missed userland bits.

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

10 years agoMFC r260706: zfs_deleteextattr: name buffer from namei is needed by zfs_remove
avg [Mon, 17 Feb 2014 17:28:19 +0000 (17:28 +0000)]
MFC r260706: zfs_deleteextattr: name buffer from namei is needed by zfs_remove

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

10 years agoMFC r258717: MFV r258371,r258372: 4101 metaslab_debug should allow for
avg [Mon, 17 Feb 2014 17:12:11 +0000 (17:12 +0000)]
MFC r258717: MFV r258371,r258372: 4101 metaslab_debug should allow for
fine-grained control

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

10 years agoMFC r255750: MFV r254750: Add support of Illumos dumps on zvol over RAID-Z.
avg [Mon, 17 Feb 2014 17:01:41 +0000 (17:01 +0000)]
MFC r255750: MFV r254750: Add support of Illumos dumps on zvol over RAID-Z.

Note that this only adds the features.  FreeBSD would
still need more work to support dumping on zvols.

MFC slacker: delphij

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

10 years agoMFC r254112: MFV r254079: multiple ZFS issues
avg [Mon, 17 Feb 2014 16:48:11 +0000 (16:48 +0000)]
MFC r254112: MFV r254079: multiple ZFS issues

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

10 years agoMFC r254077: MFV r254071: Fix a regression introduced by fix for Illumos bug #3834
avg [Mon, 17 Feb 2014 16:41:58 +0000 (16:41 +0000)]
MFC r254077: MFV r254071: Fix a regression introduced by fix for Illumos bug #3834

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

10 years agoMFC r252840: 3836 zio_free() can be processed immediately in the common case
avg [Mon, 17 Feb 2014 16:33:42 +0000 (16:33 +0000)]
MFC r252840: 3836 zio_free() can be processed immediately in the common case

MFC slacker: mm

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

10 years agoMFC r254591,255753: Enhance the ZFS vdev layer to maintain both a
avg [Mon, 17 Feb 2014 16:30:01 +0000 (16:30 +0000)]
MFC r254591,255753: Enhance the ZFS vdev layer to maintain both a
logical and a physical minimum allocation size for devices

Note: on this branch the commit is adjusted for absence of U64
type support in sysctl infrastructure.

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

10 years agoMFC r253441: Manually merge part of vendor import r238583 from Illumos
avg [Mon, 17 Feb 2014 16:18:13 +0000 (16:18 +0000)]
MFC r253441: Manually merge part of vendor import r238583 from Illumos

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

10 years agoMFC r261401:
bdrewery [Mon, 17 Feb 2014 16:18:04 +0000 (16:18 +0000)]
MFC r261401:

  Fix newsyslog(8) to use the size of the file instead of the blocks it
  takes on disk, as advertised in newsyslog.conf(5).

Approved by: bapt (mentor, implicit)

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

10 years agoMFC r255226: Add sysctl/tunables for various metaslab variables
avg [Mon, 17 Feb 2014 15:51:19 +0000 (15:51 +0000)]
MFC r255226: Add sysctl/tunables for various metaslab variables

MFC slacker: pjd

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

10 years agoMFC r258715: opensolaris compat: add taskq_wait emulation
avg [Mon, 17 Feb 2014 15:41:01 +0000 (15:41 +0000)]
MFC r258715: opensolaris compat: add taskq_wait emulation

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

10 years agoMFC r261122: dtrace: remove unexplained 16MB limitation from dt_alloc/dt_zalloc
avg [Mon, 17 Feb 2014 15:35:36 +0000 (15:35 +0000)]
MFC r261122: dtrace: remove unexplained 16MB limitation from dt_alloc/dt_zalloc

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

10 years agoMFC r258713,262062: add taskqueue_drain_all
avg [Mon, 17 Feb 2014 15:24:49 +0000 (15:24 +0000)]
MFC r258713,262062: add taskqueue_drain_all

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

10 years agoMFC r214019: Update links for taskqueue(9) functions
avg [Mon, 17 Feb 2014 15:20:03 +0000 (15:20 +0000)]
MFC r214019: Update links for taskqueue(9) functions

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

10 years agoMFC r253720: Use kern_ioctl() rather than ioctl() for testing the FBT provider
avg [Mon, 17 Feb 2014 11:28:27 +0000 (11:28 +0000)]
MFC r253720: Use kern_ioctl() rather than ioctl() for testing the FBT provider

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

10 years agoMFC r252895: Add a man page for the SDT_* macros
avg [Mon, 17 Feb 2014 11:23:21 +0000 (11:23 +0000)]
MFC r252895: Add a man page for the SDT_* macros

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

10 years agoMFC r249514 (by gnn):
markj [Mon, 17 Feb 2014 05:06:43 +0000 (05:06 +0000)]
MFC r249514 (by gnn):
Point args[0] not at the thread that is ending but at the one that
is starting.  This is in line with practice in OpenSolaris.

Note that this change is only in ULE and not in the 4BSD scheduler.
Once this change settles in (MFC timeout has expired) we'll try it out
on 4BSD as well.

MFC r260043:
The arguments to sched:::off-cpu are the thread and associated process of
the thread selected to run, not the currently running thread.

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

10 years agoDirect commit to stable/8 to note that the nve(4) driver has been
brueffer [Sun, 16 Feb 2014 19:44:30 +0000 (19:44 +0000)]
Direct commit to stable/8 to note that the nve(4) driver has been
deprecated.

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

10 years agoMFC: r261838
brueffer [Sun, 16 Feb 2014 11:17:40 +0000 (11:17 +0000)]
MFC: r261838

Add a deprecation notice to nve.4 and Xref nfe.4.

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

10 years agoMFC: r261584
brueffer [Fri, 14 Feb 2014 08:26:05 +0000 (08:26 +0000)]
MFC: r261584

In IPv6 code examples, use the correct v6 socket.

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

10 years agoMFC r257600:
markj [Thu, 13 Feb 2014 04:55:46 +0000 (04:55 +0000)]
MFC r257600:
Initialize the struct tm before handing it to strptime(3).

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

10 years agoMFC r256557 - kernel and userland osreldate helpers.
peter [Tue, 11 Feb 2014 17:07:28 +0000 (17:07 +0000)]
MFC r256557 - kernel and userland osreldate helpers.

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

10 years agoMFC r244535, r245995, r261505 and r258961:
hselasky [Fri, 7 Feb 2014 07:34:47 +0000 (07:34 +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/8@261581 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: r233049 by rmh
brueffer [Thu, 6 Feb 2014 07:59:05 +0000 (07:59 +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/8@261540 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

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

PR: usb/185454

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

10 years agoMFC r261228:
hselasky [Tue, 4 Feb 2014 09:03:14 +0000 (09:03 +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/8@261476 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r261224:
hselasky [Tue, 4 Feb 2014 08:58:12 +0000 (08:58 +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/8@261473 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r261004, r261005 and r261033:
hselasky [Tue, 4 Feb 2014 08:52:08 +0000 (08:52 +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/8@261470 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

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

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

10 years agoMFC: Note merge of sendmail 8.14.8.
gshapiro [Sun, 2 Feb 2014 00:08:52 +0000 (00:08 +0000)]
MFC: Note merge of sendmail 8.14.8.

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

10 years agoMFC: Minor changes to force commit these files so new freebsd*.cf files are
gshapiro [Sun, 2 Feb 2014 00:08:28 +0000 (00:08 +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/8@261382 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC: Add missing svn:keywords property to new files
gshapiro [Sun, 2 Feb 2014 00:07:55 +0000 (00:07 +0000)]
MFC: Add missing svn:keywords property to new files

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

10 years agoMFC: Update for sendmail 8.14.8 import
gshapiro [Sun, 2 Feb 2014 00:07:16 +0000 (00:07 +0000)]
MFC: Update for sendmail 8.14.8 import

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

10 years agoMFC: Remove local FreeBSD workaround now that upstream project has a better fix.
gshapiro [Sun, 2 Feb 2014 00:06:44 +0000 (00:06 +0000)]
MFC: Remove local FreeBSD workaround now that upstream project has a better fix.

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

10 years agoMFC: Add new sendmail 8.14.8 file
gshapiro [Sun, 2 Feb 2014 00:05:30 +0000 (00:05 +0000)]
MFC: Add new sendmail 8.14.8 file

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

10 years agoMFC: Merge sendmail 8.14.8
gshapiro [Sun, 2 Feb 2014 00:04:23 +0000 (00:04 +0000)]
MFC: Merge sendmail 8.14.8

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

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

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

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

git-svn-id: svn://svn.freebsd.org/base/stable/8@261282 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/8@261250 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

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

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

10 years agoMFC r258545:
hselasky [Fri, 24 Jan 2014 08:17:47 +0000 (08:17 +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/8@261113 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260808 and r260814:
hselasky [Fri, 24 Jan 2014 08:06:14 +0000 (08:06 +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/8@261108 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260588 and r260589:
hselasky [Fri, 24 Jan 2014 08:01:42 +0000 (08:01 +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/8@261107 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260563:
hselasky [Fri, 24 Jan 2014 07:40:58 +0000 (07:40 +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/8@261102 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260559:
hselasky [Fri, 24 Jan 2014 07:35:27 +0000 (07:35 +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/8@261101 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260388, r260535 and r260536:
hselasky [Fri, 24 Jan 2014 07:29:31 +0000 (07:29 +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/8@261098 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r260332;
pfg [Tue, 21 Jan 2014 16:02:31 +0000 (16:02 +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/8@260985 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

10 years agoMFC r259925-259926 (with appropriate changes to
marck [Tue, 21 Jan 2014 09:22:00 +0000 (09:22 +0000)]
MFC r259925-259926 (with appropriate changes to
g_part_uuid_alias struct):

  Add GPT UUID for VMware vSAN meta-data partition.

Approved by: ae

git-svn-id: svn://svn.freebsd.org/base/stable/8@260982 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:45:07 +0000 (03:45 +0000)]
MFC r260566: Remove incorrect bit shift when assigning the LUN request field

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

10 years agofix a botched merge in r260775, MFC of r258739
avg [Thu, 16 Jan 2014 18:01:57 +0000 (18:01 +0000)]
fix a botched merge in r260775, MFC of r258739

This is a direct commit.

Pointyhat to: avg

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

10 years agoRevert r260780 "add zfs_bmap to aid vnode_pager_haspage"
avg [Thu, 16 Jan 2014 17:58:22 +0000 (17:58 +0000)]
Revert r260780 "add zfs_bmap to aid vnode_pager_haspage"

I thought that I had to have that commit in this branch, but now I
decided to not bother.

This is a direct commit, obviously.

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

10 years agoMFC r243518: add zfs_bmap to aid vnode_pager_haspage
avg [Thu, 16 Jan 2014 16:37:17 +0000 (16:37 +0000)]
MFC r243518: add zfs_bmap to aid vnode_pager_haspage

git-svn-id: svn://svn.freebsd.org/base/stable/8@260780 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:56 +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/8@260778 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:44 +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/8@260775 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

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

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

10 years agoMFC r258633: MFV r255256: 3954 metaslabs continue to load even after
avg [Thu, 16 Jan 2014 16:04:36 +0000 (16:04 +0000)]
MFC r258633: MFV r255256: 3954 metaslabs continue to load even after
hitting zfs_mg_alloc_failure limit

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

10 years agoMFC r258632,258704: MFV r255255: 4045 zfs write throttle & i/o scheduler
avg [Thu, 16 Jan 2014 16:00:05 +0000 (16:00 +0000)]
MFC r258632,258704: MFV r255255: 4045 zfs write throttle & i/o scheduler
performance work

Note a change in dmu_tx_delay: pause_sbt is not available in this
branch.

Sponsored by: HybridCluster [merge]

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

10 years agoMFC r245511: MFV r245510: improve the comment in txg.c
avg [Thu, 16 Jan 2014 15:47:09 +0000 (15:47 +0000)]
MFC r245511: MFV r245510: improve the comment in txg.c

MFC slacker: delphij

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

10 years agoMFC r254074: MFV r254070: Merge vendor bugfix for ZFS test suite that
avg [Thu, 16 Jan 2014 15:45:04 +0000 (15:45 +0000)]
MFC r254074: MFV r254070: Merge vendor bugfix for ZFS test suite that
triggers false positives

MFC slacker: delphij

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

10 years agoMFC r251478: MFV r251474: 3137 L2ARC compression
avg [Thu, 16 Jan 2014 15:29:44 +0000 (15:29 +0000)]
MFC r251478: MFV r251474: 3137 L2ARC compression

MFC slacker: delphij

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

10 years agoMFC r248426: Fix typo in sysctl description
avg [Thu, 16 Jan 2014 15:22:49 +0000 (15:22 +0000)]
MFC r248426: Fix typo in sysctl description

MFC slacker: mm

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

10 years agoMFC r255437: MFV r247844 (illumos-gate 13975:ef6409bc370f)
avg [Thu, 16 Jan 2014 15:11:48 +0000 (15:11 +0000)]
MFC r255437: MFV r247844 (illumos-gate 13975:ef6409bc370f)

Note that a different kind of cv_timedwait_hires shim is provided in
this branch because cv_timedwait_sbt is not available for better
emulation.

Sponsored by: HybridCluster [merge]

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