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)
commit0ad2f378e1af7996d6f8355c02181ff3cc7ab260
treed336b21a4dcb5d9681d8e298dc37c245b73ddc4e
parenta033a09189c0125d56f2ac17ffb4bec5a3d3323b
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