Received: by mail.netbsd.org (Postfix, from userid 605) id E03EA14A5A1; Thu, 8 Mar 2012 14:58:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id AB8A414A59E for ; Thu, 8 Mar 2012 14:58:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 4V7LsS-z8cfD for ; Thu, 8 Mar 2012 14:58:58 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 0813914A56A for ; Thu, 8 Mar 2012 14:58:58 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 32E12175DD; Thu, 8 Mar 2012 14:58:58 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Thu, 8 Mar 2012 14:58:58 +0000 From: "Emmanuel Dreyfus" Subject: CVS commit: src/lib/libperfuse To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120308145858.32E12175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Emmanuel Dreyfus" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: manu Date: Thu Mar 8 14:58:58 UTC 2012 Modified Files: src/lib/libperfuse: ops.c perfuse_priv.h subr.c Log Message: The kernel can lookup the same node multiple time and will reclaim as many times it looked up. All reclaims but the last one must be ignored, otherwise we discard a node which will still get operations. We therefore have to keep track of lookup/reclaim count and hnour reclaims only when the count reaches zero. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/lib/libperfuse/ops.c cvs rdiff -u -r1.25 -r1.26 src/lib/libperfuse/perfuse_priv.h cvs rdiff -u -r1.15 -r1.16 src/lib/libperfuse/subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.