From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265463AbTLHRcN (ORCPT ); Mon, 8 Dec 2003 12:32:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265473AbTLHRcN (ORCPT ); Mon, 8 Dec 2003 12:32:13 -0500 Received: from tantale.fifi.org ([216.27.190.146]:58761 "EHLO tantale.fifi.org") by vger.kernel.org with ESMTP id S265463AbTLHRcL (ORCPT ); Mon, 8 Dec 2003 12:32:11 -0500 To: Trond Myklebust Cc: Kenny Simpson , linux-kernel@vger.kernel.org, nfs@lists.sourceforge.net Subject: Re: [NFS client] NFS locks not released on abnormal process termination References: <20031208033933.16136.qmail@web20024.mail.yahoo.com> Mail-Copies-To: nobody From: Philippe Troin Date: 08 Dec 2003 09:32:05 -0800 In-Reply-To: Message-ID: <877k17rzai.fsf@ceramic.fifi.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Trond Myklebust writes: > >>>>> " " == Kenny Simpson writes: > > > So, this patch has not found its way into any kernel yet? Is > > there anyone actively persuing this bug? > > Feel free. There are only so many hours in a day, and right now > mine are pretty much overbooked with NFSv4 stuff... Please note that this fix only mitigates the bug: it can still occur, but much less frequently. Before this patch, nfsd would loose track of the lock (see the enclosed program at the beginning of the thread) after a few (<5) kills. With the patch, it takes sometimes as many as 300~500 kills before the bugs manifests itself. Trond, do you think I should push the patch to Marcelo, or should I wait for a better fix? I don't think Marcelo would accept a partial fix. I would try to fix it myself, but I have no clue on the inner workings of lockd/nfsd. Phil.