From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Fri, 10 Sep 2021 08:36:52 +0100 Subject: [Cluster-devel] [PATCH v7 16/19] iomap: Add done_before argument to iomap_dio_rw In-Reply-To: References: <20210827164926.1726765-1-agruenba@redhat.com> <20210827164926.1726765-17-agruenba@redhat.com> Message-ID: List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, Sep 09, 2021 at 10:22:56AM -0700, Linus Torvalds wrote: > I think you misunderstand. > > Or maybe I do. > > It very much doesn't force sync in this case. It did the *first* part > of it synchronously, but then it wants to continue with that async > part for the rest, and very much do that async completion. > > And that's why it wants to add that "I already did X much of the > work", exactly so that the async completion can report the full end > result. Could be, and yes in that case it won't work.