From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29D2FC433FE for ; Mon, 16 May 2022 13:40:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239390AbiEPNkh (ORCPT ); Mon, 16 May 2022 09:40:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243891AbiEPNkG (ORCPT ); Mon, 16 May 2022 09:40:06 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B94BB2F02C; Mon, 16 May 2022 06:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ag+kYhBHOWVHyefgJy+1K09AOBdX5dHXPtZQwUVHJuA=; b=sVKb5rfhrwztbNXlQsxaBDThEY Jd72MNm9Nb2HCQ6eFtQlQwOL0coIvmAbA17ffxPAYu5wIMRcnFqK/K34tD71axZPLWVKczUkIZTv+ B7oZisAJTOwpCJWVaP756Ti8JeOX6+UrD1VJh4PvZMQpmlrmtaRB9U8AnDD9ZKHmolCFVVvo4LoVK rwxDgE3Z5tP2ERGFhOc4B1geKQgFCYbL6JlD24VmAmBRB5dT7qKcrSN/hDhrowvmVBwqS2tXmOEKp kvDZBgbczt5k8tKDo7qcr4exuG1oPIbIiUYcos3pPRdm4Fe2Qgm2KHHf8IcClRt+mXaWcmxRE5iIK NTv62z/g==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nqawz-0080Wh-RC; Mon, 16 May 2022 13:39:53 +0000 Date: Mon, 16 May 2022 06:39:53 -0700 From: Christoph Hellwig To: Dave Chinner Cc: Christoph Hellwig , "Darrick J. Wong" , Stefan Roesch , io-uring@vger.kernel.org, kernel-team@fb.com, linux-mm@kvack.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [RFC PATCH v1 11/18] xfs: add async buffered write support Message-ID: References: <30f2920c-5262-7cb0-05b5-6e84a76162a7@fb.com> <20220428215442.GW1098723@dread.disaster.area> <19d411e5-fe1f-a3f8-36e0-87284a1c02f3@fb.com> <20220506092915.GI1098723@dread.disaster.area> <31f09969-2277-6692-b204-f884dc65348f@fb.com> <20220509232425.GQ1098723@dread.disaster.area> <20220509234424.GX27195@magnolia> <20220510011205.GR1098723@dread.disaster.area> <20220516022430.GN1098723@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220516022430.GN1098723@dread.disaster.area> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Mon, May 16, 2022 at 12:24:30PM +1000, Dave Chinner wrote: > Ok, so we can just use XFS_I(file_inode(iocb->ki_filp)) then and we > don't need to pass the xfs_inode at all. We probably should convert > the rest of the io path to do this as well so we don't end up > forgetting this again... Yes.