xfs
[Top] [All Lists]

Re: panic - Attempting to free lock with active block list

To: Trond Myklebust <trond.myklebust@xxxxxxxxxx>
Subject: Re: panic - Attempting to free lock with active block list
From: Jan-Frode Myklebust <Jan-Frode.Myklebust@xxxxxxxxxxx>
Date: Thu, 6 Jan 2005 16:17:26 +0100
Cc: Chris Wright <chrisw@xxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx, Eirik Thorsnes <eithor@xxxxxxxxx>, smfrench@xxxxxxxxxxxxx, matthew@xxxxxx
In-reply-to: <1104962043.5717.28.camel@lade.trondhjem.org>
Mail-followup-to: Trond Myklebust <trond.myklebust@xxxxxxxxxx>, Chris Wright <chrisw@xxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx, Eirik Thorsnes <eithor@xxxxxxxxx>, smfrench@xxxxxxxxxxxxx, matthew@xxxxxx
References: <20050105195736.GA26989@ii.uib.no> <20050105123207.J469@build.pdx.osdl.net> <1104962043.5717.28.camel@lade.trondhjem.org>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Wed, Jan 05, 2005 at 10:54:03PM +0100, Trond Myklebust wrote:
> 
> Looking at the NFS code, I can attempt a wild guess about what may be
> happening: there may be a race when pressing ^C in the middle of a
> blocking NFS lock RPC call, and if so, the following patch will fix it.


A whopping 9 hours of uptime now :) So the one-liner patch seems to have 
fixed it.

Thanks!

> -                     posix_lock_file(filp, fl);
> +                     posix_lock_file_wait(filp, fl);


  -jf


<Prev in Thread] Current Thread [Next in Thread>