NFS: Ensure that the WRITE and COMMIT RPC calls are always uninterruptible
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Apr 2010 23:54:50 +0000 (19:54 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Apr 2010 23:54:50 +0000 (19:54 -0400)
commit2c61be0a9478258f77b66208a0c4b1f5f8161c3c
tree84654744fc5f43f1b21f8fa484aba0a15787d5df
parenta6305ddb080fb483ca41ca56cacb6f96089f0c8e
NFS: Ensure that the WRITE and COMMIT RPC calls are always uninterruptible

We always want to ensure that WRITE and COMMIT completes, whether or not
the user presses ^C. Do this by making the call asynchronous, and allowing
the user to do an interruptible wait for rpc_task completion.

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