]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
9 years agoMFC r271919:
hrs [Thu, 9 Oct 2014 23:49:36 +0000 (23:49 +0000)]
MFC r271919:

  Fix a bug which could make routed(8) daemon exit by sending a special RIP
  query from a remote machine, and disable accepting it by default.  This
  requests a routed(8) daemon to dump routing information base for debugging
  purpose.  An -i flag to enable it has been added.

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

9 years agoMFC r271909:
hrs [Thu, 9 Oct 2014 23:48:20 +0000 (23:48 +0000)]
MFC r271909:
  Revert changes in r269180.  It could cause -c N option to enter an
  infinite loop if no reply packet is received.

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

9 years agoMFC r271663:
hrs [Thu, 9 Oct 2014 23:47:07 +0000 (23:47 +0000)]
MFC r271663:
  Fix a typo; master server for iprop service should be singular.

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

9 years agoMFC r271628:
hrs [Thu, 9 Oct 2014 23:46:17 +0000 (23:46 +0000)]
MFC r271628:
  Use generic SYSCTL_* macro instead of deprecated SYSCTL_VNET_*.

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

9 years agoMFC r271545, 271610:
hrs [Thu, 9 Oct 2014 23:45:26 +0000 (23:45 +0000)]
MFC r271545, 271610:
  Make net.inet.ip.sourceroute, net.inet.ip.accept_sourceroute, and
  net.inet.ip.process_options vnet-aware.

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

9 years agoMFC r271411:
hrs [Thu, 9 Oct 2014 23:43:13 +0000 (23:43 +0000)]
MFC r271411:

  Fix a bug which could break extended attributes in a dump output.
  This occurred when a file was >892kB long and had a large data (>1kB)
  in the extended attributes.

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

9 years agoMFC r271410:
hrs [Thu, 9 Oct 2014 23:42:22 +0000 (23:42 +0000)]
MFC r271410:

  Fix header output when -P is specified and (ncpus - 1) != maxid.

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

9 years agoMFC r271145:
hrs [Thu, 9 Oct 2014 23:41:11 +0000 (23:41 +0000)]
MFC r271145:

  Fix a bug which prevented mount.fstab parameter from being converted
  when jail_JID_devfs_enable=NO.

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

9 years agoMFC r270836:
hrs [Thu, 9 Oct 2014 23:40:08 +0000 (23:40 +0000)]
MFC r270836:

  Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.

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

9 years agoMFC r270783:
hrs [Thu, 9 Oct 2014 23:39:17 +0000 (23:39 +0000)]
MFC r270783:

  Return false status only when adding a route is failed.  It could
  erroneously return false due to an afexists() check loop in routing_start().

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

9 years agoMFC r270782:
hrs [Thu, 9 Oct 2014 23:35:23 +0000 (23:35 +0000)]
MFC r270782:

  Restructure rc.d scripts for kerberos5 daemons:

  - Rename $kerberos5_server_enable with $kdc_enable and rename
    rc.d/kerberos with rc.d/kdc.

  - Rename $kadmin5_server_enable with $kadmind_enable.

  - Rename ${kerberos5,kpasswdd}_server with ${kdc,kpasswdd}_program.

  - Fix rc.d/{kadmind,kerberos,kpasswdd,kfd} scripts not to change variables
    after load_rc_config().

  - Add rc.d/ipropd_master and rc.d/ipropd_slave scripts.  These are
    for iprop-master(8) and iprop-slave(8).  Keytab used for iprop service is
    defined in ipropd_{master,slave}_keytab (/etc/krb5.keytab by default).

  - Add dependency on rc.d/kdc to SERVERS.  rc.d/kdc must be invoked as early
    as possible before scripts divided by rc.d/SERVERS.

  Note that changes to rc.d/{kdc,kpasswdd,kadmind} are backward-compatible
  with the old configuration variables:
  ${kerberos5,kpasswdd,kadmin5}_server{,_enable,_flags}.

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

9 years agoMFC r270780:
hrs [Thu, 9 Oct 2014 23:33:33 +0000 (23:33 +0000)]
MFC r270780:
  Fix rc.d/gssd script to define the default values in a standard way.

MFC r270781:
  - Add a warning message when an IPv6 address is specified with no prefixlen.
  - Use a parameter argument in jls(8) instead of doing grep.

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

9 years agoMFC r270234:
hrs [Thu, 9 Oct 2014 23:30:51 +0000 (23:30 +0000)]
MFC r270234:

  Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index
  where a RIP packet was received.  This fixes a bug which prevented gateway
  addresses in fe80::/64 from being added.

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

9 years agoMFC r269054:
hrs [Thu, 9 Oct 2014 23:29:44 +0000 (23:29 +0000)]
MFC r269054:

  Fix EtherIP.  TOS field must be initialized when the inner protocol is
  PF_LINK, and multicast/broadcast flag should always be dropped because
  the outer protocol uses unicast even when the inner address is not for
  unicast.  It had been broken since r236951 when gif_output() started to
  use IFQ_HANDOFF().

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

9 years agoMFC r266267, r267636:
hrs [Thu, 9 Oct 2014 23:28:04 +0000 (23:28 +0000)]
MFC r266267, r267636:

  Fix an issue in range specification handling when a "-foo" is specified in
  ifconfig_IF_aliasN.

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

9 years agoMFC r266248:
hrs [Thu, 9 Oct 2014 23:25:57 +0000 (23:25 +0000)]
MFC r266248:

  Cancel DAD for an ifa when the ifp has ND6_IFF_IFDISABLED as early as
  possible and do not clear IN6_IFF_TENTATIVE.  If IFDISABLED was accidentally
  set after a DAD started, TENTATIVE could be cleared because no NA was
  received due to IFDISABLED, and as a result it could prevent DAD when
  manually clearing IFDISABLED after that.

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

9 years agoMFC r265225:
hrs [Thu, 9 Oct 2014 23:24:23 +0000 (23:24 +0000)]
MFC r265225:

  Move configuration of IPv6 NDP flags to a point before handling ifconfig_IF.
  This fixes a race that a non-IPv4 interface can get an EUI64 LLA even if it
  has IFDISABLED nd6 flag at boot time.

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

9 years agoMFC r266177:
hrs [Thu, 9 Oct 2014 23:23:12 +0000 (23:23 +0000)]
MFC r266177:

  - Do not override sin6_scope_id in LLA when it is already set to non-zero.
    This fixes destination list in output of netstat -r.
  - Plug a memory leak.
  - Add RTM_VERSION check.

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

9 years agoMFC r257036:
hrs [Thu, 9 Oct 2014 23:17:18 +0000 (23:17 +0000)]
MFC r257036:

  Return 0 if:

    1. "-u N" specified, no -f, and mdN found,
    2. no -u, "-f /pathname" specified, and mdN associated with /pathname found,
    3. "-u N" specified, "-f /pathname" specified, and both of them found,
    4. "-l" specified and no -f,
    5. "-l" specified, "-f /pathname" specified, and /pathname found.

  otherwise return -1.

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

9 years agoMFC r256715:
hrs [Thu, 9 Oct 2014 23:15:26 +0000 (23:15 +0000)]
MFC r256715:
  Use long explicitly for the time difference.

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

9 years agoMFC r256695:
hrs [Thu, 9 Oct 2014 23:14:02 +0000 (23:14 +0000)]
MFC r256695:
  - Add relative specification in expiration time.
  - Add proto3 option for RTF_PROTO3.
  - Use %lu for members of struct rt_metrics.

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

9 years agoMFC r258580:
hrs [Thu, 9 Oct 2014 23:05:32 +0000 (23:05 +0000)]
MFC r258580:
  Replace Sun RPC license in TI-RPC library with a 3-clause BSD license,
  with the explicit permission of Sun Microsystems in 2009.

MFC r258581, 258582:
  Replace Sun Industry Standards Source License for Sun RPC code with a
  3-clause BSD license as specified by Oracle America, Inc. in 2010.
  This license change was approved by Wim Coekaerts, Senior Vice
  President, Linux and Virtualization at Oracle Corporation.

MFC r259117, 259118:
  Replace Sun RPC license with a 3-clause BSD license.  This license change
  was approved in 2010 by Wim Coekaerts, Senior Vice President, Linux and
  Virtualization at Oracle Corporation.

MFC r259417:
  Replace Sun RPC license for TI-RPC library with a 3-clause BSD license,
  with the explicit permission of Sun Microsystems in 2009.
  The code in question in this file was copied from lib/libc/rpc/pmap_getport.c.

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

9 years agoMFC r266857:
hrs [Thu, 9 Oct 2014 22:56:38 +0000 (22:56 +0000)]
MFC r266857:

  - Add rwlock to struct dadq.  A panic could occur when a large number of
    addresses performed DAD at the same time.

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

9 years agoMFC r266494:
hrs [Thu, 9 Oct 2014 22:54:51 +0000 (22:54 +0000)]
MFC r266494:

  - Fix a bug which can make sysctl() fail when -F is specified.
  - Increase WID_IF_DEFAULT() from 6 to 8 (the default for AF_INET6) because
    we have interfaces with longer names than 6 chars like epairN{a,b}.
  - Style fixes.

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

9 years agoMFC r272650: Set CAM_SIM_QUEUED flag before calling ctl_queue() to avoid race.
mav [Thu, 9 Oct 2014 05:28:11 +0000 (05:28 +0000)]
MFC r272650: Set CAM_SIM_QUEUED flag before calling ctl_queue() to avoid race.

PR: 194128
Submitted by: Scott M. Ferris <smferris@gmail.com>
Sponsored by: EMC/Isilon Storage Division

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

9 years agoMFC r271307:
ae [Thu, 9 Oct 2014 02:49:33 +0000 (02:49 +0000)]
MFC r271307:
  Add the ability to set `prefer_source' flag to an IPv6 address.
  It affects the IPv6 source address selection algorithm (RFC 6724)
  and allows override the last rule ("longest matching prefix") for
  choosing among equivalent addresses. The address with `prefer_source'
  will be preferred source address.

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

9 years agoMFC r272485: Fill cyclinder, head and sector fields for the EBR,
marcel [Wed, 8 Oct 2014 22:13:18 +0000 (22:13 +0000)]
MFC r272485: Fill cyclinder, head and sector fields for the EBR,
MBR and PC98 schemes.

Requested by: gjb

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

9 years agoMFC 272384:
marcel [Wed, 8 Oct 2014 22:09:36 +0000 (22:09 +0000)]
MFC 272384:
Improve performance of mking(1).

Requested by: gjb

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

9 years agoMFC 272198, 272217:
marcel [Wed, 8 Oct 2014 22:06:38 +0000 (22:06 +0000)]
MFC 272198, 272217:
Add 3 long options (--version, --formats & --schemes) for getting
information about mkimg itself.

Requested by: gjb

Relnotes: yes

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

9 years agoMFC 271965, 272072, 272086: Add QCOW v1 & v2 support
marcel [Wed, 8 Oct 2014 22:01:35 +0000 (22:01 +0000)]
MFC 271965, 272072, 272086: Add QCOW v1 & v2 support

Requested by: gjb

Relnotes: yes

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

9 years agoMFC r272273, r272387, r272443, r272533 :
pfg [Wed, 8 Oct 2014 16:29:46 +0000 (16:29 +0000)]
MFC r272273, r272387, r272443, r272533 :

Add strptime(3) support for %U and %W

Add support for the missing POSIX-2001 %U and %W features: the
existing FreeBSD strptime code recognizes both directives and
validates that the week number lies in the permitted range,
but then simply discards the value.

Initial support for the feature was written by Paul Green.
David Carlier added the initial handling of tm_wday/tm_yday.
Major credit goes to Andrey Chernov for detecting much of the
brokenness and rewriting/cleaning most of the code, making it
much more robust.

Tested independently with the strptime test from the GNU C
library.

PR: 137307
Relnotes: yes

MFC r272441 :

strptime: %s format fix.

Almost never needed in real life because %s is tends to be
only one format spec.
1) Return code of gmtime_r() is checked.
2) All flags are set.

Submitted by: ache

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

9 years agoMFC r272706:
tuexen [Wed, 8 Oct 2014 15:45:15 +0000 (15:45 +0000)]
MFC r272706:
Fix a bug introduced in
https://svnweb.freebsd.org/base?view=revision&revision=272347

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

9 years agoMFC r271287:
brooks [Wed, 8 Oct 2014 15:44:11 +0000 (15:44 +0000)]
MFC r271287:

Merge from NetBSD:

PR/49185: Conrad Meyer: strvisx: Handle zero-length input strings
gracefully.  (don't abuse 0 to mean compute string length internally)

PR: 193447
Submitted by: Conrad Meyer <conrad.meyer@isilon.com>

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

9 years agoRevert r272724:
gjb [Wed, 8 Oct 2014 04:42:56 +0000 (04:42 +0000)]
Revert r272724:
  Features not yet available in stable/10 are needed in
  mkimg(1), and it is more dangerous to tweak these changes
  in stable/10 directly without explicitly testing certain
  failure cases.

  Re-addition of this change is imminent.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC r272270:
neel [Wed, 8 Oct 2014 04:35:09 +0000 (04:35 +0000)]
MFC r272270:

tty_rel_free() can be called more than once for the same tty so make sure
that the tty is dequeued from 'tty_list' only the first time.

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

9 years agoMFC r272414:
gjb [Wed, 8 Oct 2014 04:25:17 +0000 (04:25 +0000)]
MFC r272414:

Merge the following revisions from ^/projects/release-vmimage:

r272234, r272236, r272262, r272264, r272269, r272271, r272272,
r272277, r272279, r272376, r272380, r272381, r272392, r272234,
r272412:

r272234:
  Initial commit to include virtual machine images as part
  of the FreeBSD release builds.

  This adds a make(1) environment variable requirement,
  WITH_VMIMAGES, which triggers the virtual machine image
  targets when not defined to an empty value.

  Relevant user-driven variables include:

   o VMFORMATS: The virtual machine image formats to create.
     Valid formats are provided by running 'mkimg --formats'

   o VMSIZE: The size of the resulting virtual machine
     image.  Typical compression is roughly 140Mb, regardless
     of the target size (10GB, 15GB, 20GB, 40GB sizes have been
     tested with the same result).

   o VMBASE: The prefix of the virtual machine disk images.
     The VMBASE make(1) environment variable is suffixed with
     each format in VMFORMATS for each individual disk image, as
     well as '.img' for the source UFS filesystem passed to
     mkimg(1).

  This also includes a new script, mk-vmimage.sh, based on how
  the VM images for 10.0-RELEASE, 9.3-RELEASE, and 10.1-RELEASE
  were created (mk-vmimage.sh in ^/user/gjb/thermite/).

  With the order in which the stages need to occur, as well as
  sanity-checking error cases, it makes much more sense to
  execute a shell script called from make(1), using env(1) to
  set specific parameters for the target image than it does to
  do this in make(1) directly.

r272236:
  Use VMBASE in place of a hard-coded filename in the CLEANFILES
  list.

r272262:
  Remove a 'set -x' that snuck in during testing.

r272264:
  release/Makefile:
    Connect the virtual machine image build to the release
    target if WITH_VMIMAGES is set to a non-empty value.

  release/release.sh:
    Add WITH_VMIMAGES to RELEASE_RMAKEFLAGS.

  release/release.conf.sample:
    Add commented entries for tuning the release build if the
    WITH_VMIMAGES make(1) environment variable is set to
    a non-empty value.

r272269:
  release/Makefile:
    Include .OBJDIR in DESTDIR in the vm-base target.

  release/release.sh:
    Provide the full path to mddev.

r272271:
  Fix UFS label for the root filesystem.

r272272:
  Remove comments left in accidentally while testing, so the
  VM /etc/fstab is actually created.

r272277:
  Remove the UFS label from the root filesystem since it is added
  by mkimg(1) as a gpt label, consistent with the fstab(5) entry.

r272279:
  Comment cleanup in panic() message when mkimg(1) does not support
  the requested disk image format.

r272376:
  Separate release/scripts/mk-vmimage.sh to machine-specific
  scripts, making it possible to mimic the functionality for
  non-x86 targets.

  Move echo output if MAKEFLAGS is empty outside of usage().

  Remove TARGET/TARGET_ARCH evaluation.

r272380:
  Avoid using env(1) to set values passed to mk-vmimage.sh,
  and instead pass the values as arguments to the script,
  making it easier to run this by hand, without 'make release'.

  Add usage_vm_base() and usage_vm_image() usage helpers.

r272381:
  After evaluating WITH_VMIMAGES is non-empty, ensure
  the mk-vmimage.sh script exists before running it.

r272392:
  Add WITH_COMPRESSED_VMIMAGES variable, which when set enables
  xz(1) compression of the virtual machine images.

  This is intentionally separate to allow more fine-grained
  tuning over which images are compressed, especially in cases
  where compressing 20GB sparse images can take hours.

r272412:
  Document the new 'vm-image' target, and associated release.conf
  variables.

r272413:
  Remove two stray comments added during the initial iterations
  of testing, no longer needed.

Sponsored by: The FreeBSD Foundation

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

9 years agoMFC 272550:
bryanv [Wed, 8 Oct 2014 04:07:07 +0000 (04:07 +0000)]
MFC 272550:

  Remove stray uma_mtx lock/unlock in zone_drain_wait()

  Callers of zone_drain_wait(M_WAITOK) do not need to hold (and were not)
  the uma_mtx, but we would attempt to unlock and relock the mutex if we
  had to sleep because the zone was already draining. The M_NOWAIT callers
  may hold the uma_mtx, but we do not sleep in that case.

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

9 years agoMFC r271609: add gptzfsboot.8, zfsboot.8 and zfsloader.8 manual pages
avg [Tue, 7 Oct 2014 13:35:34 +0000 (13:35 +0000)]
MFC r271609: add gptzfsboot.8, zfsboot.8 and zfsloader.8 manual pages

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

9 years agoMFC r261894: move devd rules for zfs events into a separate file
avg [Tue, 7 Oct 2014 13:30:15 +0000 (13:30 +0000)]
MFC r261894: move devd rules for zfs events into a separate file

... and fix stale event types

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

9 years agoMFC r261893: zfs.8: fix garbled options in a sample zfs send -R command line
avg [Tue, 7 Oct 2014 13:23:52 +0000 (13:23 +0000)]
MFC r261893: zfs.8: fix garbled options in a sample zfs send -R command line

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

9 years agoMFC r261892: zpool.8: fix typo in option description of labelclear command
avg [Tue, 7 Oct 2014 13:20:04 +0000 (13:20 +0000)]
MFC r261892: zpool.8: fix typo in option description of labelclear command

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

9 years agoMFC r272176:
ae [Tue, 7 Oct 2014 07:52:47 +0000 (07:52 +0000)]
MFC r272176:
  Keep list of lagg ports sorted by if_index.

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

9 years agoMake external NFS clients know when files have their attributes changed and
araujo [Tue, 7 Oct 2014 06:00:09 +0000 (06:00 +0000)]
Make external NFS clients know when files have their attributes changed and
avoid cache the file's state indefinitely. The va_filerev is what is sent
to the client as the "change" attribute, the client is periodically fetching
the attributes and without this option the attribute remains as some garbage
value.

Phabric: D905
Reported by: Kevin Buhr <buhr@asaurus.net>
Reviewed by: rmacklem, delphij
Approved by: delphij
Obtained from: r272467
Sponsored by: QNAP Systems Inc.

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

9 years agoMFC r265232
asomers [Mon, 6 Oct 2014 23:17:01 +0000 (23:17 +0000)]
MFC r265232

Fix a panic caused by doing "ifconfig -am" while a lagg is being destroyed.
The thread that is destroying the lagg has already set sc->sc_psc=NULL when
the "ifconfig -am" thread gets to lacp_req().  It tries to dereference
sc->sc_psc and panics.  The solution is for lacp_req() to check the value of
sc->sc_psc.  If NULL, harmlessly return an lacp_opreq structure full of
zeros.  Full details in GNATS.

PR: 189003

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

9 years agoMFC r271532: MFV r271515:
delphij [Mon, 6 Oct 2014 17:27:49 +0000 (17:27 +0000)]
MFC r271532: MFV r271515:

Add a new tunable/sysctl, vfs.zfs.free_max_blocks, which can be used to
limit how many blocks can be free'ed before a new transaction group is
created.  The default is no limit (infinite), but we should probably have
a lower default, e.g. 100,000.

With this limit, we can guard against the case where ZFS could run out of
memory when destroying large numbers of blocks in a single transaction
group, as the entire DDT needs to be brought into memory.

Illumos issue:
    5138 add tunable for maximum number of blocks freed in one txg

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

9 years agoMFC r272469:
tuexen [Mon, 6 Oct 2014 17:14:31 +0000 (17:14 +0000)]
MFC r272469:
UDP/IPv6 and UDPLite/IPv6 require a checksum. So check for it.

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

9 years agoMFC r272408:
tuexen [Mon, 6 Oct 2014 17:12:03 +0000 (17:12 +0000)]
MFC r272408:
Check for UDP/IPv6 packets that the length in the UDP header is at least
the minimum. Make the check similar to the one for UDPLite/IPv6.

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

9 years agoMFC r272404:
tuexen [Mon, 6 Oct 2014 17:08:19 +0000 (17:08 +0000)]
MFC r272404:
Fix the checksum computation for UDPLite/IPv6. This requires the
usage of a function computing the checksum only over a part of the function.
Therefore introduce in6_cksum_partial() and implement in6_cksum() based
on that.
While there, ensure that the UDPLite packet contains at least enough bytes
to contain the header.

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

9 years agoMFC r272347:
tuexen [Mon, 6 Oct 2014 17:04:26 +0000 (17:04 +0000)]
MFC r272347:
The default for UDPLITE_RECV_CSCOV is zero. RFC 3828 recommend
that this means full checksum coverage for received packets.
If an application is willing to accept packets with partial
coverage, it is expected to use the socket option and provide
the minimum coverage it accepts.

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

9 years agoMFC r272326:
tuexen [Mon, 6 Oct 2014 16:59:25 +0000 (16:59 +0000)]
MFC r272326:
UDPLite requires a checksum. Therefore, discard a received packet if
the checksum is 0.

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

9 years agoMFC r269472: Do not retry on set of non-transient XCOPY errors.
mav [Mon, 6 Oct 2014 15:24:04 +0000 (15:24 +0000)]
MFC r269472:  Do not retry on set of non-transient XCOPY errors.

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

9 years agoMFC r269469: Do not retry token errors.
mav [Mon, 6 Oct 2014 15:23:12 +0000 (15:23 +0000)]
MFC r269469:  Do not retry token errors.

They are not going to disappear by themselves.

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

9 years agoMFC r272308: Fix old iSCSI initiator to work with new CAM locking.
mav [Mon, 6 Oct 2014 15:11:08 +0000 (15:11 +0000)]
MFC r272308: Fix old iSCSI initiator to work with new CAM locking.

This switches code to using xpt_rescan() routine, irrelevant to locking.
Using xpt_action() directly requires knowledge about higher level locks,
that SIM does not need to have.

This code is obsolete, but that is not a reason to crash.

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

9 years agoMFC r272108: add missing file for building netmap as a module
luigi [Mon, 6 Oct 2014 14:39:45 +0000 (14:39 +0000)]
MFC r272108: add missing file for building netmap as a module

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

9 years agoMFC r272355: Fix couple issues with ROD tokens content.
mav [Mon, 6 Oct 2014 13:34:12 +0000 (13:34 +0000)]
MFC r272355: Fix couple issues with ROD tokens content.

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

9 years agoMFC r272247:
mav [Mon, 6 Oct 2014 13:33:22 +0000 (13:33 +0000)]
MFC r272247:
Do not transfer unneeded training zero bytes in INQUIRY response.

It is an addition to r269631.

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

9 years agoMFC r272323:
tuexen [Mon, 6 Oct 2014 13:32:30 +0000 (13:32 +0000)]
MFC r272323:
If the checksum coverage field in the UDPLITE header is the length
of the complete UDPLITE packet, the packet has full checksum coverage.
So fix the condition.

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

9 years agoMFC r272224: Fix page length reported for Block Limits VPD page.
mav [Mon, 6 Oct 2014 13:31:44 +0000 (13:31 +0000)]
MFC r272224: Fix page length reported for Block Limits VPD page.

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

9 years agoMFC r272033:
mav [Mon, 6 Oct 2014 13:30:52 +0000 (13:30 +0000)]
MFC r272033:
Fix ASCQ for "Logical unit not ready, manual intervention required" error.

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

9 years agoMFC r271959: Pretend that we support BYTCHK=1 in WRITE AND VERIFY command.
mav [Mon, 6 Oct 2014 13:30:06 +0000 (13:30 +0000)]
MFC r271959: Pretend that we support BYTCHK=1 in WRITE AND VERIFY command.

Technically that is not true, but since we don't implement VERIFY there
at all, doing only WRITE part, this is a minor sin.

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

9 years agoMFC r271954:
mav [Mon, 6 Oct 2014 13:29:15 +0000 (13:29 +0000)]
MFC r271954:
Deny ANCHOR flag set without UNMAP flag set in WRITE SAME commands.

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

9 years agoMFC r271951: Don't try to continue aborted commands if status was not set.
mav [Mon, 6 Oct 2014 13:28:17 +0000 (13:28 +0000)]
MFC r271951: Don't try to continue aborted commands if status was not set.

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

9 years agoMFC r271945:
mav [Mon, 6 Oct 2014 13:27:18 +0000 (13:27 +0000)]
MFC r271945:
Simplify legacy reservation handling.  Drop it on I_T nexus loss.

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

9 years agoMFC r271942:
mav [Mon, 6 Oct 2014 13:26:26 +0000 (13:26 +0000)]
MFC r271942:
Don't report unsupported FUA_NV bit set in READ/WRITE commands as error.

While this bit is obsolete in SBC-3, SBC-2 allowed to silently ignore it.

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

9 years agoMFC r271941:
mav [Mon, 6 Oct 2014 13:25:36 +0000 (13:25 +0000)]
MFC r271941:
Report proper errors codes for unsupported SERVICE ACTION values.

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

9 years agoMFC r271940: Polish INQUIRY command fields validation.
mav [Mon, 6 Oct 2014 13:24:25 +0000 (13:24 +0000)]
MFC r271940: Polish INQUIRY command fields validation.

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

9 years agoMFC r271930: Allow SUBPAGE CODE field in MODE SENSE commands.
mav [Mon, 6 Oct 2014 13:23:37 +0000 (13:23 +0000)]
MFC r271930: Allow SUBPAGE CODE field in MODE SENSE commands.

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

9 years agoMFC r271869:
mav [Mon, 6 Oct 2014 13:22:53 +0000 (13:22 +0000)]
MFC r271869:
Fix inverted expression to report block size in mode page block descriptor.

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

9 years agoMFC r271845:
mav [Mon, 6 Oct 2014 13:22:05 +0000 (13:22 +0000)]
MFC r271845:
Allow more commands to pass persistent reservation according to SPC-4 r37.

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

9 years agoMFC r271839:
mav [Mon, 6 Oct 2014 13:21:13 +0000 (13:21 +0000)]
MFC r271839:
Add support for "no Data-Out Buffer" (NDOB) flag of WRITE SAME (16) command.

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

9 years agoMFC r271606:
mav [Mon, 6 Oct 2014 13:20:18 +0000 (13:20 +0000)]
MFC r271606:
Always report that we support REPORT TARGET PORT GROUPS command.

Without clustering support we any way have only one group of permanently
active ports, but that gives us one more supported VMWare feature. ;)

Solaris' Comstar also reports it even when only one port is present.

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

9 years agoMFC r271507:
mav [Mon, 6 Oct 2014 13:19:20 +0000 (13:19 +0000)]
MFC r271507:
Implement control over command reordering via options and control mode page.

It allows to bypass range checks between UNMAP and READ/WRITE commands,
which may introduce additional delays while waiting for UNMAP parameters.
READ and WRITE commands are always processed in safe order since their
range checks are almost free.

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

9 years agoMFC r271505:
mav [Mon, 6 Oct 2014 13:18:28 +0000 (13:18 +0000)]
MFC r271505:
Add "readcache" and "writecache" LUN options to control default behavior.

Default values are "on".  Disabling requires backend to support IO_DIRECT
and IO_SYNC flags respectively, or some alternatives.

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

9 years agoMFC r272296:
tuexen [Mon, 6 Oct 2014 13:16:37 +0000 (13:16 +0000)]
MFC r272296:
When plen != ulen, it should only be checked when this is UDP.

The commit is from kevlo and he agreed that I MFC it as part of the
UDPLite fixes.

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

9 years agoMFC r272263:
tuexen [Mon, 6 Oct 2014 13:12:04 +0000 (13:12 +0000)]
MFC r272263:

Checksum coverage values larger than 65535 for UDPLite are invalid.
Check for this when the user calls setsockopt using UDPLITE_{SEND,RECV}CSCOV.

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

9 years agoMFC r271503: Implement range checks between UNMAP and READ/WRITE commands.
mav [Mon, 6 Oct 2014 12:54:06 +0000 (12:54 +0000)]
MFC r271503: Implement range checks between UNMAP and READ/WRITE commands.

Before this change UNMAP completely blocked other I/Os while running.
Now it blocks only colliding ones, slowing down others only due to ZFS
locks collisions.

Sponsored by: iXsystems, Inc.

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

9 years agoMFC r271443: Add support for Extended INQUIRY Data (0x86) VPD page.
mav [Mon, 6 Oct 2014 12:49:07 +0000 (12:49 +0000)]
MFC r271443: Add support for Extended INQUIRY Data (0x86) VPD page.

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

9 years agoMFC r271313: Oops, missed piece of r271311.
mav [Mon, 6 Oct 2014 12:48:10 +0000 (12:48 +0000)]
MFC r271313: Oops, missed piece of r271311.

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

9 years agoMFC r271360: Remove uninitialized and unused variable, reported by Coverity.
mav [Mon, 6 Oct 2014 12:42:06 +0000 (12:42 +0000)]
MFC r271360: Remove uninitialized and unused variable, reported by Coverity.

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

9 years agoMFC r271358: Fix array overrun, reported by Coverity.
mav [Mon, 6 Oct 2014 12:41:07 +0000 (12:41 +0000)]
MFC r271358: Fix array overrun, reported by Coverity.

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

9 years agoMFC r271354: Fix couple off-by-one range check errors, reported by Coverity.
mav [Mon, 6 Oct 2014 12:40:15 +0000 (12:40 +0000)]
MFC r271354: Fix couple off-by-one range check errors, reported by Coverity.

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

9 years agoMFC r271353: Fix memory leak on error, reported by Coverity.
mav [Mon, 6 Oct 2014 12:39:25 +0000 (12:39 +0000)]
MFC r271353: Fix memory leak on error, reported by Coverity.

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

9 years agoMFC r271352: Fix minor buffer overflow reported by Coverity.
mav [Mon, 6 Oct 2014 12:38:35 +0000 (12:38 +0000)]
MFC r271352: Fix minor buffer overflow reported by Coverity.

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

9 years agoMFC r271316: Report that DPO and FUA bits are supported after r271311.
mav [Mon, 6 Oct 2014 12:37:35 +0000 (12:37 +0000)]
MFC r271316: Report that DPO and FUA bits are supported after r271311.

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

9 years agoMFC r271311:
mav [Mon, 6 Oct 2014 12:36:42 +0000 (12:36 +0000)]
MFC r271311:
Add support for Mode Page Policy (0x87) VPD page.

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

9 years agoMFC r271309:
mav [Mon, 6 Oct 2014 12:35:41 +0000 (12:35 +0000)]
MFC r271309:
Improve cache control support, including DPO/FUA flags and the mode page.

At this moment it works only for files and ZVOLs in device mode since BIOs
have no respective respective cache control flags (DPO/FUA).

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

9 years agoMFC r271308:
mav [Mon, 6 Oct 2014 12:31:51 +0000 (12:31 +0000)]
MFC r271308:
Make ZVOL writes in device mode support IO_SYNC flag.

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

9 years agoMFC r272111
luigi [Mon, 6 Oct 2014 09:46:21 +0000 (09:46 +0000)]
MFC r272111
fix a panic when passing ifioctl from a netmap file descriptor to
the underlying device. This needs to be merged to 10.1

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

9 years agoMFC: r272398
bapt [Mon, 6 Oct 2014 09:15:09 +0000 (09:15 +0000)]
MFC: r272398

Make sure to not skip any argument when converting from deprecated
+POS1, -POS2 to -kPOS1,POS2, so that sort +0n gets translated to sort -k1,1n
as it is expected

PR: 193994
Submitted by: rodrigo
MFC after: 3 days

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

9 years agoMFC r272480:
hselasky [Mon, 6 Oct 2014 06:05:43 +0000 (06:05 +0000)]
MFC r272480:
When we fail to get a USB reference we should just return, because
there are no more references held.

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

9 years agoMFC r272410:
hselasky [Mon, 6 Oct 2014 06:03:25 +0000 (06:03 +0000)]
MFC r272410:
Add new USB ID.

PR: 194091

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

9 years agoMFC r272349, r272422 and r272479:
hselasky [Mon, 6 Oct 2014 06:01:46 +0000 (06:01 +0000)]
MFC r272349, r272422 and r272479:
- Fix XHCI driver for devices which have more than 15 physical root HUB
  ports. The current bitmap array was too small to hold more than 16
  bits and would at some point toggle the context size, which then would
  trigger an enumeration fault and cause a fallback to the EHCI
  companion controller, if any.
- Make sure we always set the maximum number of valid contexts.
- Set default cycle state in case of early interrupts.

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

9 years agoMFC r272579:
bdrewery [Mon, 6 Oct 2014 00:27:08 +0000 (00:27 +0000)]
MFC r272579:

  Bump .Dd missed in r271424

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

9 years agoMFC r271424:
bdrewery [Sun, 5 Oct 2014 23:32:58 +0000 (23:32 +0000)]
MFC r271424:

  - Add $netif_ipexpand_max to specify the upper limit for the number of
    addresses generated by an address range specification.  The default value
    is 2048.  This can be increased by setting $netif_ipexpand_max in rc.conf.

PR: 186841

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

9 years agoMFC r272305
rodrigc [Sun, 5 Oct 2014 02:52:54 +0000 (02:52 +0000)]
MFC r272305

Fix pkill unit test.

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

9 years agoMFC r271351
alc [Sat, 4 Oct 2014 22:52:21 +0000 (22:52 +0000)]
MFC r271351
  Fix a boundary case error in vm_reserv_alloc_contig().

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

9 years agoMFC r272130:
kib [Sat, 4 Oct 2014 19:37:44 +0000 (19:37 +0000)]
MFC r272130:
In kern_linkat() and kern_renameat(), do not call namei(9) while
holding a write reference on the filesystem.  Try to get write
reference in unblocked way after all vnodes are resolved; if failed,
drop all locks and retry after waiting for suspension end.

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

9 years agoMFC r271747:
kib [Sat, 4 Oct 2014 19:33:58 +0000 (19:33 +0000)]
MFC r271747:
 - Use NULL instead of 0 for fpcurthread.
 - Note the quirk with the interrupt enabled state of the dna handler.
 - Use just panic() instead of printf() and panic().  Print tid instead
   of pid, the fpu state is per-thread.

MFC r271924:
Update and clarify comments.  Remove the useless counter for impossible, but
seen in wild situation (on buggy hypervisors).

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

9 years agoMFC r271467, r271468:
pfg [Sat, 4 Oct 2014 17:46:04 +0000 (17:46 +0000)]
MFC r271467, r271468:
ext2fs: add ext2_getpages().

Literally copy/pasted from ffs_getpages().

Tested with: fsx

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

9 years agoMFC 271761:
trasz [Sat, 4 Oct 2014 14:40:12 +0000 (14:40 +0000)]
MFC 271761:

Add missing link to TIMEOUT_TASK_INIT(9).

Sponsored by: The FreeBSD Foundation

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