Re: [PATCH] NFSv4.1: new layout stateid can not be overwrite by one out of date

2014-01-20 Thread Trond Myklebust
On Mon, 2014-01-20 at 16:15 +0800, shaobingqing wrote: > If initiate_file_draining returned NFS4ERR_DELAY, all the lsegs of > a file might be released before the retrying cb_layout request arriving > at the client. In this situation, layoutget request of the file will > use open stateid to obtain a

[PATCH] NFSv4.1: new layout stateid can not be overwrite by one out of date

2014-01-20 Thread shaobingqing
If initiate_file_draining returned NFS4ERR_DELAY, all the lsegs of a file might be released before the retrying cb_layout request arriving at the client. In this situation, layoutget request of the file will use open stateid to obtain a new layout stateid. And if the retrying cb_layout request arri