Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp1103626pxr; Mon, 11 Apr 2022 15:22:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrOtcf2jRYpgr2bWJ7vEQ2DQn43fNjlryYyVthTY1sR6EX1fzUZpNxgYwNutW1Fl7tIkd7 X-Received: by 2002:a17:90a:4d0d:b0:1cb:9dac:7ed0 with SMTP id c13-20020a17090a4d0d00b001cb9dac7ed0mr1500252pjg.198.1649715774964; Mon, 11 Apr 2022 15:22:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649715774; cv=none; d=google.com; s=arc-20160816; b=Fo3liljOpFKeoIYwbSX4eoN+dpc4Iyt6JaR9Hxj4OWquwPAinbPnLHl0A+9RVbclqp vw4xCpkU1q/pcHQUPldxwAyFrR8za+bPgtNi23hL3XoMnHIRZ4w7Fe2UXUWa1yvxmVYe U4COGzab5wye22e7l3ODtQnPPSOaQe1fOqWc5lkz49n8w6fZYSPRJX7r4rmIPtwXK+BN RU7fUG8h9fcmplMCoG6a99Sqe4g2ZtuYXym3T4oWZWM9KrqyUUsqPlUxP//h7G/3QNpQ MOyI9/0OauooOF2llf0kVk8hY8Uge3KhU8Pl2H7FVNl7TxKH7EN9V5WGAN2MHFBsKE4x 4GZA== 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=M09IzlW+N1WwFLRoKBoXQhmkTfiayS6+tKZLiDRa9cM=; b=Z1ObwOJoxztPoWh4dfHgtUY44zujjmvZT2svw6b0WniBlt9NDsc1cPeQ+ghk/8PIkj gqxaUzLfrQ4w7cBbElStYUGhwg3lvRLIS11kcXVF4HWjjhcpWsm/tQqtF/8IPq/tydHa nFWdXe1VlXSX/vRQoo19XjtZph2hbUc2WzjdyjaLI/lfNyt0cFktSRIA4iBBBLa4ewY+ X2KZgdaiYb+pDbkMAcnJysfkYqB1WcW3xSJfhDWj7c8c3FNjeKLFB5+sdhe/79qFDYsj LGFZZB02ETkqDYV2+R7reL0Lto0KM2Z9djVudpJ+ZNeomluAjwgXffer5SJVb0e+wihO w8tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=vuYRGKES; 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 d15-20020a056a0010cf00b004fa3a8e0023si10233799pfu.218.2022.04.11.15.22.41; Mon, 11 Apr 2022 15:22:54 -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=vuYRGKES; 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 S245005AbiDKGmN (ORCPT + 99 others); Mon, 11 Apr 2022 02:42:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237140AbiDKGmL (ORCPT ); Mon, 11 Apr 2022 02:42:11 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCF0F28988; Sun, 10 Apr 2022 23: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=M09IzlW+N1WwFLRoKBoXQhmkTfiayS6+tKZLiDRa9cM=; b=vuYRGKESL2/4qm8Aezet9aPx4W +nyvgXHqbKV8O/sdkchzpTN0JP8s+Z+FPEBDRwarRsRbFqp2ZnRDOyu+W9z93H5iHy2pdUCD9XgL3 j7TJH2gQyaMfCoijPZqyy5a9A4X+cKOMX2LVS1qbnbXimkEvdbeLgdSU0uGUXBoSp0UoshnrLBNEm A/V/RaLAeZrpWRq7OuusbYUJ2NFL4+Fm393i7D+mawqNJ0cZ0W9Uz48YBYQIZej1ogcwGrA+cmV8c eyCdR0EJm5AqpL54XYS32PcZLYDLrDaTkXXtTvDQIk+fBd3Enmi4giwIWOQcO0B1zHVJALhjFWIxv y1SlBf+g==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndniQ-006xNn-5v; Mon, 11 Apr 2022 06:39:58 +0000 Date: Sun, 10 Apr 2022 23:39:58 -0700 From: Christoph Hellwig To: Shiyang Ruan Cc: linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, nvdimm@lists.linux.dev, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, djwong@kernel.org, dan.j.williams@intel.com, david@fromorbit.com, hch@infradead.org, jane.chu@oracle.com 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220410160904.3758789-7-ruansy.fnst@fujitsu.com> 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 > --- a/fs/xfs/xfs_super.h > +++ b/fs/xfs/xfs_super.h > @@ -93,6 +93,7 @@ extern xfs_agnumber_t xfs_set_inode_alloc(struct xfs_mount *, > extern const struct export_operations xfs_export_operations; > extern const struct xattr_handler *xfs_xattr_handlers[]; > extern const struct quotactl_ops xfs_quotactl_operations; > +extern const struct dax_holder_operations xfs_dax_holder_operations; This needs to be defined to NULL if at least one of CONFIG_FS_DAX or CONFIG_MEMORY_FAILURE is not set. Otherwise looks good: Reviewed-by: Christoph Hellwig