]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1 skip rpc_call_done only on disconnected DS slot_table_waitq tasks
authorAndy Adamson <andros@netapp.com>
Tue, 22 May 2012 12:09:27 +0000 (08:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 May 2012 20:42:42 +0000 (16:42 -0400)
commit55526d2b714b4023ad5275f31755420d865dd6c8
tree053682177f4d0211aabcd498c8be6aee768ed195
parent42fb48a987ba06837592573bf099dc114721c64b
NFSv4.1 skip rpc_call_done only on disconnected DS slot_table_waitq tasks

We reset all I/O on a disconnected data server through the pgio layer indicated
by the NFS_IOHDR_REDO flag.

Differentiate between on-the-wire tasks returning with an error which must
call rpc_call_done and tasks woken from the data server slot_table_waitq
waiting for a session slot with a status of zero which call rpc_exit in
rpc_prepare and need to skip rpc_call_done.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c