Re: RPC: rpciod waiting on sync task!

Trond Myklebust (trond.myklebust@fys.uio.no)
04 Jul 2001 14:01:33 +0200


>>>>> " " == 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/