Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 4 Jul 2001 08:02:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 4 Jul 2001 08:01:53 -0400 Received: from pat.uio.no ([129.240.130.16]:50914 "EHLO pat.uio.no") by vger.kernel.org with ESMTP id ; Wed, 4 Jul 2001 08:01:45 -0400 To: Dima Brodsky Cc: Linux Kernel List Subject: Re: RPC: rpciod waiting on sync task! In-Reply-To: <20010703164436.A20309@cascade.cs.ubc.ca> From: Trond Myklebust Date: 04 Jul 2001 14:01:33 +0200 In-Reply-To: Dima Brodsky's message of "Tue, 3 Jul 2001 16:44:36 -0700" Message-ID: Lines: 20 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) 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 >>>>> " " == Dima Brodsky writes: > Hi, I modified the linux NFS client, kernel 2.4.5 and > 2.4.6-pre7, to send an extra SETATTR, with special values, > within nfs_open and nfs_release so that I would be able to > track file open and close. For the server I am using a > slightly modified linux user level nfs server. > What I noticed is that after this change I get: > RPC: rpciod waiting on sync task! That probably means that you've put this setattr code somewhere in the rpciod read,write or delete callbacks. You should never mix asynchronous and synchronous calls as this can cause the rpciod task to deadlock by waiting on itself... Cheers, Trond - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/