pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/filesystems/perfuse Update perfuse package. Change log...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a0d6ed66860
branches:  trunk
changeset: 392202:2a0d6ed66860
user:      manu <manu%pkgsrc.org@localhost>
date:      Mon Feb 25 00:52:07 2019 +0000

description:
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.

diffstat:

 filesystems/perfuse/DESCR    |   2 ++
 filesystems/perfuse/Makefile |   4 ++--
 filesystems/perfuse/distinfo |  10 +++++-----
 3 files changed, 9 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r 17081016447a -r 2a0d6ed66860 filesystems/perfuse/DESCR
--- a/filesystems/perfuse/DESCR Sun Feb 24 21:41:11 2019 +0000
+++ b/filesystems/perfuse/DESCR Mon Feb 25 00:52:07 2019 +0000
@@ -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.
diff -r 17081016447a -r 2a0d6ed66860 filesystems/perfuse/Makefile
--- a/filesystems/perfuse/Makefile      Sun Feb 24 21:41:11 2019 +0000
+++ b/filesystems/perfuse/Makefile      Mon Feb 25 00:52:07 2019 +0000
@@ -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
diff -r 17081016447a -r 2a0d6ed66860 filesystems/perfuse/distinfo
--- a/filesystems/perfuse/distinfo      Sun Feb 24 21:41:11 2019 +0000
+++ b/filesystems/perfuse/distinfo      Mon Feb 25 00:52:07 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index