On Thu, 2012-03-15 at 14:40 -0400, andros@xxxxxxxxxx wrote: > From: Andy Adamson <andros@xxxxxxxxxx> > > Register a new filelayout DS rpc_action callback for sleeping on the fore > channel slot table waitq. Avoid any additional RPC FSM states > (such as timeout) when waking up to an invalid deviceid and reset > the task for io to the MDS. Why can't you simply put this call to filelayout_write_sleepon_cb in filelayout_write_prepare (before calling nfs41_setup_sequence())? Since nothing is going to change the task->tk_action if nfs41_setup_sequence() puts you to sleep, what value does the callback add? -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@xxxxxxxxxx www.netapp.com ��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥