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

2014-02-12 Thread Trond Myklebust
On Feb 12, 2014, at 5:06, 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 new l

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

2014-02-12 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