From owner-freebsd-current@FreeBSD.ORG Tue Jun 22 22:24:06 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 973DE106566B for ; Tue, 22 Jun 2010 22:24:06 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from mail.vx.sk (core.vx.sk [188.40.32.143]) by mx1.freebsd.org (Postfix) with ESMTP id CC8C28FC1B for ; Tue, 22 Jun 2010 22:24:05 +0000 (UTC) Received: from core.vx.sk (localhost [127.0.0.1]) by mail.vx.sk (Postfix) with ESMTP id B841DD4CB0 for ; Wed, 23 Jun 2010 00:04:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.vx.sk Received: from mail.vx.sk ([127.0.0.1]) by core.vx.sk (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VjgLaKCCDPiR for ; Wed, 23 Jun 2010 00:04:28 +0200 (CEST) Received: from [10.9.8.1] (chello085216227216.chello.sk [85.216.227.216]) by mail.vx.sk (Postfix) with ESMTPSA id 5220ED4C9E for ; Wed, 23 Jun 2010 00:04:28 +0200 (CEST) Message-ID: <4C21336F.1060507@FreeBSD.org> Date: Wed, 23 Jun 2010 00:04:31 +0200 From: Martin Matuska User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sk; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: freebsd-current@FreeBSD.org X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=windows-1250 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: CFT: ZFS v15 patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 22 Jun 2010 22:24:06 -0000 Dear developers, I would like to do a call for testing for my ZFS v15 patch. As the user/group quotas feature is too much attractive for my needs, I couldn't resist and have created (and debugged + tested) a ZFS v15 patch for head (applies cleanly against stable/8 as well). It is a backport of several onnv-revisions, always consulting pjd's p4 tree and includes four post-9396 related user/groupquota bugfixes. The bootcode (zfsimpl.h) is properly updated to support v15 as well, the python part is modified (paths, smb support, ioctls). The patch, list of imported revisions and a preliminary but working version of the pyzfs port can be downloaded from this link: http://people.freebsd.org/~mm/patches/zfs/v15/ You can download 8.1-RC1-amd64 with zfsv15 (incl. boot support) mfsBSD ISOs from here: http://mfsbsd.vx.sk/iso/8.1rc1-zfsv15.iso (without symbols, 98.7M) http://mfsbsd.vx.sk/iso/8.1rc1-zfsv15-debug.iso (with symbols, 187.5M) Login/password into the ISOs: root/mfsroot run "zfsinstall" for a zfs-on-root installation (don't forget -V 15 if trying to install) The amd64 ISO's may be tested in virtualbox or real-world systems as well. Regarding new ioctl's: I have added all new ioctl's in the patch as new ones (numbers 49 to 52). This makes the old kernel module work with new library / utilities (tested) or any other binary that references these ioctl's. Regarding the python port: The current port installs the library into PYTHON_SITELIBDIR and pyzfs.py into /usr/lib/zfs/ Later, we may install all necessary sources and pyzfs.py and the port may be a full-dummy that doesn't need kernel/world sources. Version 15 introduces user and group quota accounting and could be a very good step in preparation towards v26. The code runs impressingly stable (I didn't manage to reproduce any panics or deadlocks yet after polishing). It would be very great if this could get widely tested. I guess we could go with this code in direction stable/8 (head first), because it is backwards compatible (zfs and zpool work with older kernel module - only new features don't work, the same for the boot changes, boot from older pools is supported). Any ideas, suggetions, and bug reports are welcome! Cheers, mm