On Fri, 22 Apr 2011 23:02:00 +0400
Pavel Shilovsky <[email protected]> wrote:

> 2011/4/22 Jeff Layton <[email protected]>:
> > Used to be synchronous. One of the goals of the async write patchset
> > I'm working on is to change that.
> 
> In this case, what do you think about to call filemap_fdatawait before
> update attributes in gettattr and llseek? It seems that it makes us
> sure that all dirty pages are written and we can get right file
> attributes from the server.
> 

Yeah, assuming that we write back immediately when notified of an
oplock break, then that should be fine.

-- 
Jeff Layton <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to