Received: by mail.netbsd.org (Postfix, from userid 605) id B0FC685014; Mon, 25 Feb 2019 05:46:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1BF0584E43 for ; Mon, 25 Feb 2019 05:46:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id H4DDhEZXg1CF for ; Mon, 25 Feb 2019 05:46:16 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id AA78E85109 for ; Mon, 25 Feb 2019 00:52:07 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A7C47FB16; Mon, 25 Feb 2019 00:52:07 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1551055927272190" MIME-Version: 1.0 Date: Mon, 25 Feb 2019 00:52:07 +0000 From: "Emmanuel Dreyfus" Subject: CVS commit: pkgsrc/filesystems/perfuse To: pkgsrc-changes@NetBSD.org Reply-To: manu@netbsd.org X-Mailer: log_accum Message-Id: <20190225005207.A7C47FB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1551055927272190 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: manu Date: Mon Feb 25 00:52:07 UTC 2019 Modified Files: pkgsrc/filesystems/perfuse: DESCR Makefile distinfo Log Message: Update perfuse package. Change log since previous version: Use reclaim2 to fix reclaim/lookup race conditions The PUFFS reclaim operation had a race condition with lookups: we could be asked to lookup a node, then to reclaim it before lookup completion. At lookup completion, we would then create a leaked node. Enter the PUFFS reclaim2 operation, which features a nlookup argument. That let us count how many lookups are pending and avoid the above described scenario. It also makes the codes simplier. - Fix directory filehandle usage with libufse. Fix lookup count libfuse does not use filehandle the same way for directories and other objects. As a result, filehandles obtained by OPENDIR should not be sent on non-directory related operations like READ/WRITE/GETATTR... While there, fix the lookup count sent to the FORGET operation, which led to leaked nodes. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 pkgsrc/filesystems/perfuse/DESCR cvs rdiff -u -r1.34 -r1.35 pkgsrc/filesystems/perfuse/Makefile cvs rdiff -u -r1.33 -r1.34 pkgsrc/filesystems/perfuse/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1551055927272190 Content-Disposition: inline Content-Length: 2223 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/filesystems/perfuse/DESCR diff -u pkgsrc/filesystems/perfuse/DESCR:1.3 pkgsrc/filesystems/perfuse/DESCR:1.4 --- pkgsrc/filesystems/perfuse/DESCR:1.3 Fri Nov 30 03:19:57 2018 +++ pkgsrc/filesystems/perfuse/DESCR Mon Feb 25 00:52:07 2019 @@ -1,3 +1,5 @@ +$NetBSD: DESCR,v 1.4 2019/02/25 00:52:07 manu Exp $ + perfuse brings full FUSE support to NetBSD It has two components: - a daemon that creates a /dev/fuse socket and that performs PUFFS relay to FUSE. Index: pkgsrc/filesystems/perfuse/Makefile diff -u pkgsrc/filesystems/perfuse/Makefile:1.34 pkgsrc/filesystems/perfuse/Makefile:1.35 --- pkgsrc/filesystems/perfuse/Makefile:1.34 Tue Mar 1 20:16:33 2016 +++ pkgsrc/filesystems/perfuse/Makefile Mon Feb 25 00:52:07 2019 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.34 2016/03/01 20:16:33 joerg Exp $ +# $NetBSD: Makefile,v 1.35 2019/02/25 00:52:07 manu Exp $ # -DISTNAME= perfuse-20120206 +DISTNAME= perfuse-20190222 CATEGORIES= filesystems MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/perfuse/ EXTRACT_SUFX= .tgz Index: pkgsrc/filesystems/perfuse/distinfo diff -u pkgsrc/filesystems/perfuse/distinfo:1.33 pkgsrc/filesystems/perfuse/distinfo:1.34 --- pkgsrc/filesystems/perfuse/distinfo:1.33 Tue Nov 3 00:15:02 2015 +++ pkgsrc/filesystems/perfuse/distinfo Mon Feb 25 00:52:07 2019 @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.33 2015/11/03 00:15:02 agc Exp $ +$NetBSD: distinfo,v 1.34 2019/02/25 00:52:07 manu Exp $ -SHA1 (perfuse-20120206.tgz) = ddb7e9aa509ffb725ae62e58812dc8da40c6647b -RMD160 (perfuse-20120206.tgz) = 60b1f459cf05057f0cb7dbd934174c028252d950 -SHA512 (perfuse-20120206.tgz) = 1bc7fd69116da41e32f951d3c5b56a571e63c21ef3703bbc606988bf3dc3ceb6f83f702fa8d2ce720048e54770e9e13c4e7ab701507a1700f9c8ce69e1f6cacd -Size (perfuse-20120206.tgz) = 44151 bytes +SHA1 (perfuse-20190222.tgz) = 2b9f7c58c22aee1ee1cdc34f92b1c3cda5db069a +RMD160 (perfuse-20190222.tgz) = 2ed721f8b7c47bcf1c7b64829ec6e54e31b4e073 +SHA512 (perfuse-20190222.tgz) = 1643c0cfdb4f4bfcb2164229a3d6bbd47818b30893348c3b6a6aa735e35fb7b26c3c7e7e019c471bd7c588f1753c0ad0324391a587244073c10444cdb3c1bce3 +Size (perfuse-20190222.tgz) = 52277 bytes SHA1 (patch-aa) = 76e8dba75518ec7e1a5f02d15b2c4ce5c7e61d80 --_----------=_1551055927272190--