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 37B03C433FE for ; Wed, 13 Apr 2022 17:12:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237257AbiDMROz (ORCPT ); Wed, 13 Apr 2022 13:14:55 -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 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.