Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp451785pxb; Thu, 26 Aug 2021 06:57:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZbUeAu+CJetNvFg2x4b46GGzcb3d7Omq4Vbm5dvAw1MLUJb5kcr1GQgRoSzvmmYW7wDAI X-Received: by 2002:a6b:f007:: with SMTP id w7mr3112946ioc.112.1629986232340; Thu, 26 Aug 2021 06:57:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629986232; cv=none; d=google.com; s=arc-20160816; b=vzYdpvUxm4NiAzvcjA3Jirf9uP77lhvs5jO3DbR5E+cPM8rvK3VZFL3oAwMURC2GnI iAlGfnOyFS88vj0fNgnKfgyDeL5hBi34Mzs6V65+S4ld3WJXZX7zqVGPfbPt4yt98ZgY Z6L0+F85ixySwErNHTcRWacjJeUoUbij1CuKXo3paV6oZHUdWzFaULLAwrOHLlFAKA7Y yapXASCu9/DqAlMfXGDv2SIf4M9GNjPlWZ41Dkm3bRvWuFQ2Hft3DIqQ6qtoaI5LqQ4i qEjSll1XrGQ+7eixQux0SbDEnhFCEL6ezdDNUI5Uy7YNWMhY6TV3FKjN7FM06cbp2v3M sFsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ARgc5BTNEQt9FG8904QxPv30VGpYKOfYo9r3bA9lDKg=; b=fe8Vloj71MbUDgTL+m9RKKQPbjHPQJZILS+hexyKelBVfdzO3qXiwoGYK960d7nans RHoQdvoLdysir7U3A4g55QLDFuzHbQw5CPsM9rENtWzwqx0K6ESja2DQicM7V4mZ2MOM 1uTzhYQrfYeuAVwC22/FWcbWj8VyH+4tD0phOXwnvwRgqL12rpsiq2Ak9wIYRDZHvvjt 5WgDQrmHLNNeiyT7oRcIYiAv4AvojIfQfcYy2TZdOpNp+T/vPisysPm/ubCNAJHZb/WU OWm9ZzwWWPZtNYKEx/Bs/daH+HQ563wZZ96dwCPX2aXnk6WDnr/1s90I4QTLVppIrHA5 r5JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=sJcv+fRh; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si2949555ioq.2.2021.08.26.06.56.54; Thu, 26 Aug 2021 06:57:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=sJcv+fRh; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238421AbhHZN5c (ORCPT + 99 others); Thu, 26 Aug 2021 09:57:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238124AbhHZN5c (ORCPT ); Thu, 26 Aug 2021 09:57:32 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE52BC061757; Thu, 26 Aug 2021 06:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=ARgc5BTNEQt9FG8904QxPv30VGpYKOfYo9r3bA9lDKg=; b=sJcv+fRhJ8wMQ1h4dYWzAjuxP4 a2W6/6f0CbTXS8adqHIIO+TZwOii8PY1HhPlRupHAjSorxQy7BaG9b/UKABzt9lP9mLnrXon/FsYK xNPwIYNqIjGU62SSu7X5dg1mHvYU3dxhARShm6jxkokd3Axzst3u57Ub7xu63PeaInhNUSoNQrZa5 tOICHTwtZtC5jr6DuVb1fdPUmRcytQhPuPHsV3NPQpK+BuTbIBPfDfHvgeLkzd49XJ+B2y/BfzDWn PrCQ2QL6//R3GVtJUozgGCdfQz69TLJJVL4qQftgYNYDdQBsHlqUYCH4F7+daSksRLeagRV0IKXK6 +FhoZ+nw==; Received: from [2001:4bb8:193:fd10:d9d9:6c15:481b:99c4] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mJFqZ-00DM13-72; Thu, 26 Aug 2021 13:55:40 +0000 From: Christoph Hellwig To: Dan Williams , Vishal Verma , Dave Jiang Cc: Mike Snitzer , Matthew Wilcox , linux-xfs@vger.kernel.org, nvdimm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org Subject: dax_supported() related cleanups v2 Date: Thu, 26 Aug 2021 15:55:01 +0200 Message-Id: <20210826135510.6293-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hi all, this series first clarifies how to use fsdax in the Kconfig help a bit, and then untangles the code path that checks if fsdax is supported. Changes since v1: - improve the FS_DAX Kconfig help text further - write a proper commit log for a patch missing it Diffstat drivers/dax/super.c | 191 +++++++++++++++++++------------------------------- drivers/md/dm-table.c | 9 -- drivers/md/dm.c | 2 fs/Kconfig | 21 ++++- fs/ext2/super.c | 3 fs/ext4/super.c | 3 fs/xfs/xfs_super.c | 16 +++- include/linux/dax.h | 41 +--------- 8 files changed, 117 insertions(+), 169 deletions(-)