From owner-freebsd-current@FreeBSD.ORG Mon Jun 23 20:10:04 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 A4F4E90C; Mon, 23 Jun 2014 20:10:04 +0000 (UTC) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (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 11C752EEF; Mon, 23 Jun 2014 20:10:03 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id m15so162253wgh.33 for ; Mon, 23 Jun 2014 13:10:02 -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=gVYwXj76PqzT3xDwLRKNquo+KZgaiAY5Pf5aroESCqU=; b=VeoMMCVxjgTtxLWHy8oelVDkFE46nX7xhU1qzNLfuxjG94jW0qAxnsjGOZMXFxsHyn jVsAGK8iTKguFT9Acwe93maoqhLdoEVXt/37a7CjmjpCi5q87RwnKxXw0r9AecjBq7o1 WUFuvDr1J3V+7aDmgTGk3Hjlgu0VWB+qwrkK67pxjnmSi5Qvu0b7qVTPytURVSVvjtgb NOBAy0B+FWzowepJ9r1yrhyNPLDoxNXMpst6EywrgDGQdIIZW/BwwyLrs1IOR/aQElsy Y29kZrX2fKKM71+N4nJ2mpAmzPj7cD9YEDglJA0XvV1OGk754Dxdnfn2EHONXLhhv9xS DXSQ== MIME-Version: 1.0 X-Received: by 10.180.228.39 with SMTP id sf7mr28665086wic.26.1403554201911; Mon, 23 Jun 2014 13:10:01 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.194.168.202 with HTTP; Mon, 23 Jun 2014 13:10:01 -0700 (PDT) In-Reply-To: <53A87F15.4040501@freebsd.org> 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> <53A87F15.4040501@freebsd.org> Date: Mon, 23 Jun 2014 14:10:01 -0600 X-Google-Sender-Auth: hHZfQ8ASaGMLWHbMJEPD0EB5Oo8 Message-ID: Subject: Re: FreeBSD 10 and zfsd From: Alan Somers To: Allan Jude Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Mon, 23 Jun 2014 20:10:04 -0000 On Mon, Jun 23, 2014 at 1:25 PM, Allan Jude wrote: > On 2014-06-23 12:39, Alan Somers wrote: >> 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. >> >> 3) It needs a manpage. > > I can help with a man page. Is there an outline or readme to start from? None that I know of. Usage is simple; there is only one option. "-d" runs in the foreground instead of daemonizing. But the man page should also describe the location of the case files and the types of damage that zfsd can fix. Unfortunately, that's not documented anywhere except in the source right now. I appreciate the offer of help, Allan, but you may get frustrated; you just don't have much to work with. -Alan with a single "l". > >> >> 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. >> >> 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@. >> >> For TrueNAS, I believe that delphij@ merged an older version of zfsd >> from the project branch. >> >> -Alan >> > > -- > Allan Jude >