NFS: Ensure that the asynchronous RPC calls complete on nfsiod.
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 20 Feb 2008 01:04:23 +0000 (20:04 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 26 Feb 2008 05:40:37 +0000 (21:40 -0800)
commit101070ca2fe67186f5f5517b66cb4757b17f4e29
treeb131c97e3033fc4c848e8cb3d76f675735b95085
parent5746006f1d17d9d5a3015051ea54de4341cb31f9
NFS: Ensure that the asynchronous RPC calls complete on nfsiod.

We want to ensure that rpc_call_ops that involve mntput() are run on nfsiod
rather than on rpciod, so that they don't deadlock when the resulting
umount calls rpc_shutdown_client(). Hence we specify that read, write and
commit calls must complete on nfsiod.
Ditto for NFSv4 open, lock, locku and close asynchronous calls.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c
fs/nfs/nfs4proc.c
fs/nfs/read.c
fs/nfs/write.c