Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp810081pxb; Wed, 13 Apr 2022 12:58:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZsG3pU9f/N0lUM9Pr1dN7yat9iw2/od+0l7rEkfpxjI51Xh2Zn3EnVpI0vlrWGAonSnKO X-Received: by 2002:a17:906:2f97:b0:6ce:3ef6:94be with SMTP id w23-20020a1709062f9700b006ce3ef694bemr41123083eji.136.1649879914395; Wed, 13 Apr 2022 12:58:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649879914; cv=none; d=google.com; s=arc-20160816; b=DA5kBUtmUjAm+iIqXVgYxLEu7e7AsTKeQCocfkG2uiq79UZTcey8r2Tko8DERXZVyA KGkPzhvCU7Ud+ZK2n+StSFr/vYCK8LgSRKoS+iHkFGxMOQsN6s8uj9OVh+wylp5vgl87 wzbuuJ/56y5jLjIQru2g2fHhdlK+R+lTWTWJc/kaXZEw2Mi1fUm9JafppvqraPe2OjZE Wv/mtQ3oWTJhbSlrUBuBhpwGMoXiyLcnhcUJ0TPVPYKybQeQiiDhDnA+hV2FhLeCA5vs SwVExQlRDI0xDeCSvnn0higQqGvmVulHa9MhgMB15E2we1LnSuaA/zHEbMwNwOqrtaf1 gudw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rmaub1Fg6680Gb6loNmi4m+L/azuwzRdA8BbFTNNmAg=; b=0GFYmGRm61Idm4AvXld2ZHgWtzcYEwR7WOV7qNwj/51j+uzLVcrygC/b0wdNoPCQHk lAQSk9mzWLvsQ2HDGoOv+tkCuFw8uUlo5Lo9GVj0fAsT8eSrE4EbdjViPKkihMk45X7D VOQrLO0dqR/ffYOlb0JCfIrtyIQQlZfMsm6sCdMnJslXq9dPAU5BX9Tna0GmVBRhdqlM l89j5/jU7Eo6MIbW4ViglQT/AJk4ORPxLvWfDiuW+JLoKA23MHiAnXoJAuWxl++t0ycG TouUcOc/XqAc/OByASZDm0zVN4zHXIZuAKwVsgvl7Jq5Vz0Zt+ANKHy51t1jCP6sGUhU BO+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=sgs3KDtv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020aa7d450000000b0041d69a2ec89si2267601edr.313.2022.04.13.12.58.08; Wed, 13 Apr 2022 12:58:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=sgs3KDtv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237248AbiDMROw (ORCPT + 99 others); Wed, 13 Apr 2022 13:14:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232180AbiDMROu (ORCPT ); Wed, 13 Apr 2022 13:14:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BEE56B0A2; Wed, 13 Apr 2022 10:12:29 -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=rmaub1Fg6680Gb6loNmi4m+L/azuwzRdA8BbFTNNmAg=; b=sgs3KDtvSKxVoaXFni+5K4bL8q mx32Tw9M8zH06IGPbQyswfwg7yK/WNYXRQRS7FGFpMvWLw+cDVDfvMSCYDa7/+IT3hpgy3pLpuUZ1 0QKt4gdsqmHuRgEltJFYLeppuPccld2519EU/iP8um3PGO8cA1OdmeF+aIj0yzhLayoJtpouozLsM GGJIhlXaZ9kBskq1eNS2S/rBFbJmG7gdvGdJSv3B8lNOkoNLvosgYI4exa6soIAFjyMy+XLEW5KyY E5QgZmTotNf30ZsKfv3DoLGPFkp8I73R6mGW/YDjm5WJl033DLY3JrA8v6dwOzLffBwqg9iZwB2FG eu8gf94g==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1negXa-001url-0C; Wed, 13 Apr 2022 17:12:26 +0000 Date: Wed, 13 Apr 2022 10:12:25 -0700 From: Christoph Hellwig To: Dan Williams Cc: Dave Chinner , Shiyang Ruan , Linux Kernel Mailing List , linux-xfs , Linux NVDIMM , Linux MM , linux-fsdevel , "Darrick J. Wong" , Christoph Hellwig , Jane Chu Subject: Re: [PATCH v12 6/7] xfs: Implement ->notify_failure() for XFS Message-ID: References: <20220410160904.3758789-1-ruansy.fnst@fujitsu.com> <20220410160904.3758789-7-ruansy.fnst@fujitsu.com> <20220413000423.GK1544202@dread.disaster.area> <20220413060946.GL1544202@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 13, 2022 at 10:09:40AM -0700, Dan Williams wrote: > Yes, sounds like we're on the same page. I had mistakenly interpreted > "Hence these notifications need to be delayed until after the > filesystem is mounted" as something the producer would need to handle, > but yes, consumer is free to drop if the notification arrives at an > inopportune time. A SB_BORN check might be all that we need.