From: Pavel Shilovsky Subject: Re: [PATCH 2/2] CIFS: Simplify invalidate part (try #2) Date: Fri, 22 Apr 2011 23:02:00 +0400 Message-ID: References: <1302635430-3575-1-git-send-email-piastry@etersoft.ru> <20110422075007.2e9c303b@tlielax.poochiereds.net> <20110422101050.1472e618@tlielax.poochiereds.net> <20110422110724.0846b1b0@tlielax.poochiereds.net> <20110422125906.622a281b@tlielax.poochiereds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Steve French , Shirish Pargaonkar , Suresh Jayaraman , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jeff Layton Return-path: In-Reply-To: <20110422125906.622a281b-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org> Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: 2011/4/22 Jeff Layton : > 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.