]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1 Check invalid deviceid upon slot table waitq wakeup
authorAndy Adamson <andros@netapp.com>
Fri, 27 Apr 2012 21:53:48 +0000 (17:53 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 May 2012 21:55:31 +0000 (17:55 -0400)
commitf72fc18938844404ed5189669e23c1af60d21c2a
treed336b21a4dcb5d9681d8e298dc37c245b73ddc4e
parent66d9bb27989979459d906a57d6c6d0c014f57e0e
NFSv4.1 Check invalid deviceid upon slot table waitq wakeup

Tasks sleeping on the slot table waitq wake to the rpc_prepare_task state.
Reset the task for io through the MDS if the deviceid is invalid.

The reset functions put the io pages through the pageio layer which has the
advantage of re-coalescing which allows for the MDS and DS having different
r/wsizes. Exit the awakened task without executing the rpc_call_done routine.

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