Re: RPC: rpciod waiting on sync task!

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Wed Jul 04 2001 - 07:01:33 EST


>>>>> " " == Dima Brodsky <dima@cs.ubc.ca> 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/



This archive was generated by hypermail 2b29 : Sat Jul 07 2001 - 21:00:14 EST