From owner-svn-src-all@freebsd.org Mon Apr 11 11:50:33 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DCB45B0BD94; Mon, 11 Apr 2016 11:50:33 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A16571366; Mon, 11 Apr 2016 11:50:32 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA19949; Mon, 11 Apr 2016 14:50:23 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1apaMI-000Hg1-TQ; Mon, 11 Apr 2016 14:50:22 +0300 Subject: Re: svn commit: r297813 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs To: Steven Hartland , src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org References: <201604110857.u3B8vsCs069573@repo.freebsd.org> From: Andriy Gapon Message-ID: <570B8F2D.7010008@FreeBSD.org> Date: Mon, 11 Apr 2016 14:49:01 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <201604110857.u3B8vsCs069573@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2016 11:50:34 -0000 On 11/04/2016 11:57, Steven Hartland wrote: > Author: smh > Date: Mon Apr 11 08:57:54 2016 > New Revision: 297813 > URL: https://svnweb.freebsd.org/changeset/base/297813 > > Log: > Only include sysctl in kernel build > > Only include sysctl in kernel builds fixing warning about implicit > declaration of function 'sysctl_handle_int'. Steve, since you've touched this area you might be interested in this PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204140 > Sponsored by: Multiplay > > Modified: > head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c > > Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c > ============================================================================== > --- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c Mon Apr 11 07:11:20 2016 (r297812) > +++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c Mon Apr 11 08:57:54 2016 (r297813) > @@ -48,7 +48,7 @@ > #include > #include > > -#ifdef __FreeBSD__ > +#if defined(__FreeBSD__) && defined(_KERNEL) > #include > #include > #endif > @@ -132,7 +132,7 @@ int zfs_delay_min_dirty_percent = 60; > uint64_t zfs_delay_scale = 1000 * 1000 * 1000 / 2000; > > > -#ifdef __FreeBSD__ > +#if defined(__FreeBSD__) && defined(_KERNEL) > > extern int zfs_vdev_async_write_active_max_dirty_percent; > > -- Andriy Gapon