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.

-- 
Best regards,
Pavel Shilovsky.
--
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