From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 20:01:20 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 A293B312; Tue, 26 Aug 2014 20:01:20 +0000 (UTC) Received: from mail.feld.me (mail.feld.me [66.170.3.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.feld.me", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AA3936B3; Tue, 26 Aug 2014 20:01:20 +0000 (UTC) Received: from mail.feld.me (mail.feld.me [66.170.3.6]); by mail.feld.me (OpenSMTPD) with ESMTP id 4d1c14b4; Tue, 26 Aug 2014 15:01:17 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=feld.me; h=mime-version :date:content-type:content-transfer-encoding:message-id:from :subject:to:cc:in-reply-to:references:sender; s=blargle2; bh=AfL 6clfw8Ya5JDGM/N2dJWhrxMg=; b=GdZ+gMjc5cUetuVxVEq6BXzCXFS6FRL03AM WixT2LHelJupT2u5qci4Ax6+8WbWtmYKt75wm5t2tCtIprya4OXdwjCT4MDT+aPB ZXZxlfvA/KDU/XOtifLSwOFnknWlKVl61sYC2POnbvjQDVpyvCeT+6lq6XZLJgWP IV2wALzcrlC47/hmmF0etGgLo2viiziYemlbWZs6pXk3W3xQ3SY3zMxZxyHjwWc4 /rTM6iuDgGdNFBDVPU+b91yjEFfPiBlwSPF48Qw6ImFNT2lDKrqNigt1O8XFZM/e Myhj/qiyikrrPl1HfyjEa7um7GQzeTtaqUA5Ea6ezePiT3CN4WQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=feld.me; h=mime-version:date :content-type:content-transfer-encoding:message-id:from:subject :to:cc:in-reply-to:references:sender; q=dns; s=blargle2; b=WWUav mczrbJNcbwrCijDaQ4qOtbUWVvfZh0f58L4uDKmqrw+Cbo6t2dXP1JF17gPt/pKh 30+OOnbBHMUbZMkzMxIbZiEke+4J1166ec8xFyWlBJwdS2DTqi2xAfg/GmPr8Zsc gRm3xZo1TzUeI1gvVR+FU9HQPY71mIpMvmjXO1NGmji1ChoxFjSmsu8Fw8e5USVV f+QOFGgzvtauGFsiWEMQ9pPUiTRF9CVvkim4xlX7ee1u0hFlPAuO2stonOH3uz30 +ycVLq3qnD6r0cyyH5gTwai89Ay4Uqy931r6Z66y8gC8IrRRRir6R8q20OLoRKFy ffqLs5Jzrz1nyGOIA== Received: from mail.feld.me (mail.feld.me [66.170.3.6]); by mail.feld.me (OpenSMTPD) with ESMTP id ced9c831; Tue, 26 Aug 2014 15:01:17 -0500 (CDT) Received: from feld@feld.me by mail.feld.me (Archiveopteryx 3.2.0) with esmtpa id 1409083276-26245-26241/5/86; Tue, 26 Aug 2014 20:01:16 +0000 Mime-Version: 1.0 Date: Tue, 26 Aug 2014 20:01:15 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: RainLoop/1.6.8.153 From: Mark Felder Subject: Re: FreeBSD 10 and zfsd To: Alan Somers 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> <8e598a07cf5bc8690749120295936c40@mail.feld.me> Sender: feld@feld.me 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 20:01:20 -0000 August 26 2014 2:45 PM, "Alan Somers" wrote:=20 > On Tue, Aug 26, 2014 at 1:39 PM, Mark Felder wrote: >=20 >> August 26 2014 10:21 AM, "Alan Somers" wrote:=20 >>> 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. >>=20 >> Can you provide a link to the atf-ksh93 code? >=20 > There's not much to it. It simply sets an environment variable and > calls atf-sh. What's more interesting is libtest.kshlib. In order to > eliminate atf-ksh93, we would need to modify libtest.kshlib to run > under /bin/sh. Alternatively, it may be easier to split > libtest.kshlib into two files: a small /bin/sh-compatible that can be > sourced by the ATF test programs, and a ksh93 script that only needs > to be sourced by the ATF test cases. >=20 > https://svnweb.freebsd.org/base/projects/zfsd/head/libexec/atf/atf-ksh9= 3/ > https://svnweb.freebsd.org/base/projects/zfsd/head/tests/sys/cddl/zfs/i= nclude/libtest.kshlib Depending on how complicated it is we might be able to coerce dteske = into checking it out. He could write an sh mastery book... I'm sure he = could assist with this. :-)