From owner-soc-status@FreeBSD.ORG Tue Jun 30 12:34:30 2009 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB7F41065670; Tue, 30 Jun 2009 12:34:30 +0000 (UTC) (envelope-from gleb.kurtsou@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 101D28FC16; Tue, 30 Jun 2009 12:34:29 +0000 (UTC) (envelope-from gleb.kurtsou@gmail.com) Received: by fxm18 with SMTP id 18so89933fxm.43 for ; Tue, 30 Jun 2009 05:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=ZWjnGwqsN9CXK8wTpOVjc81aLsqSWnUcBYeOP9mgWoM=; b=UP2E+vcMqkBeJdCFUvLMuiJvm+d6CzB6mwp/oKZCTapdFITNzy2heAcMGwrImSnUDS SdKp8NuDmpgskCiICn1IcZhSU6nEx1plYsC+b6qAEnmu+UntrQWchlTMA055IvAVbYrB zfGhnFdWojz8raksmtCqorrn+qDcVsTer63eE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=ojcmc2EHbOkwuUuLgB6LJ8/iie95daPfeMSbqLRLdofFHStqEq82vT0ApKf/Qqz/BR z7oPta/SRUqL+a4j1Aet6dWrapzaBxYdyh4EWUSXNPq7YsqZ1RK0jYf3rhv5mOvJpOAy RUjyIpiVNsX38F2JiOdwgPVgp+B6ZCzXP4I/Q= Received: by 10.204.79.20 with SMTP id n20mr6081146bkk.78.1246365268928; Tue, 30 Jun 2009 05:34:28 -0700 (PDT) Received: from localhost (lan-78-157-90-54.vln.skynet.lt [78.157.90.54]) by mx.google.com with ESMTPS id c28sm13580533fka.49.2009.06.30.05.34.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Jun 2009 05:34:28 -0700 (PDT) Date: Tue, 30 Jun 2009 15:35:26 +0300 From: Gleb Kurtsou To: soc-status@freebsd.org Message-ID: <20090630123526.GA2699@tops.skynet.lt> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Stanislav Sedov Subject: pefs status report 4 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 12:34:30 -0000 Last week I've implemented correct lookup operation. Encrypted file name can't be constructed solely from plain text name, because encrypted name contains random tweak value and checksum. I've change code no to use vop_bypass, as it was used only in a few places anyway, and there was need to add additional argument to pefs_bypass -- encrypted component name. I've disabled node recycling in vop_inactive, as pefs_node structure is not used to store lower vnode address anymore but also contains encryption keys. It allowed enabling of cached lookups and doesn't force recreation of vnodes for every operation. This week I'm planing to finish basic infrastructure work left: introduce minimal key management and use real encryption to verify correctness.