Re: [PATCH Version 1 07/11] NFSv4.1 Check invalid deviceid upon slot table waitq wakeup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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�����٥



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux