From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 15:21:00 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B90CF6F6; Tue, 26 Aug 2014 15:21:00 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23CDA3361; Tue, 26 Aug 2014 15:20:59 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id m15so14672444wgh.5 for ; Tue, 26 Aug 2014 08:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=l0laE4Nq+KuwdsNb0eaODjP35UUGoViiQtko9GompdU=; b=RjLPPkfZdTGM7sQCCbF+FlPku7G4vXm80aPQ3EPza/qtMW4uj57FGses4m7225duyC bK9m8502aeTR2vt6eto11K5Srcs/BqYXPvsHOO3fqWm6dbVRkbvT7CGZiUsW5LWPY0jF ZfcB7NDvcs4ZN0CrGu8IMHOyJ4HTLLJfsvQHAvm6cf4NjfRWNE9O6MGroNVB/xqPcqqA GbaOkeMHmSWNql+9No47HnK7ei26wvZowcmH+k84bU3Hdd9Z/t9Um/FNejo0N/HzXuhg T1HDbdkz5WUhg/xi4owvkGVMS2iYwWjNyYIWQt5YDRTDeAQsaePBt1GQpy39gIQnmyJA 5oiw== MIME-Version: 1.0 X-Received: by 10.180.81.103 with SMTP id z7mr21958438wix.23.1409066458263; Tue, 26 Aug 2014 08:20:58 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.194.126.1 with HTTP; Tue, 26 Aug 2014 08:20:58 -0700 (PDT) In-Reply-To: References: <5256B761.4050301@gmail.com> <1381421583.19140.32451849.084D8E32@webmail.messagingengine.com> <5256E2D5.4060101@allanjude.com> <1387388390.28188.61199633.413D38F8@webmail.messagingengine.com> <53A7CE1B.7090400@gmail.com> Date: Tue, 26 Aug 2014 09:20:58 -0600 X-Google-Sender-Auth: FnYrXRveBAkjAtVsX0m1b71B1YM Message-ID: Subject: Re: FreeBSD 10 and zfsd From: Alan Somers To: Alan Somers Content-Type: text/plain; charset=UTF-8 Cc: Johan Hendriks , FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2014 15:21:00 -0000 Status update below: > > The projects/zfsd project branch is up to date. Merging it to CURRENT > is blocked on these tasks. > > 1) (The biggie) We must resolve the issue with multiple geom opens. > Geom tries to prevent any two consumers from simultaneously opening > the same provider. This is why, for example, you can't do dd > if=/dev/zero of=/dev/ada0 if your ada0 has a mounted file system. > However, ZFS internally opens spare devices multiple times. The only > way that geom will allow that is if ZFS opens devices non-exclusively. > That means that you will lose your protection. Fixing this correctly > requires deep changes to ZFS to remove the multiple opens. > > 2) Need to merge in zfsd's functional tests. I'm currently working on > this issue as time allows. Merged into the projects/zfsd/head branch by change 270604. Merging to head is blocked by three issues: a) The atf-ksh93 hack. The correct solution is to modify all the test programs (not the test cases) so they can run under /bin/sh. That will take some effort. b) Some test cases reference Spectra Logic internal bug numbers. We need to file FreeBSD PRs for all of them and change the references. c) It uses some ATF config variables that are not yet documented in tests(7). > > 3) It needs a manpage. > > 4) Various bug fixes need to be merged to the kernel and to LibZFS. > Coordinating with Illumos makes that process slow. will@ is working > on it as time allows. gibbs@ has been making progress here, with mahrens@ providing code review. But it is still slow. > > 5) libdevctl needs to be made private > > 6) The sequential packet feature added to devd in the zfsd project > branch at revision r266519 must be merged to head. It's currently > waiting for review from imp@ and ian@. Merged by r270004. To answer Mark's question: no, we can't finish all of this in time for 10.1. Sorry. -Alan