Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1821489pxb; Mon, 23 Aug 2021 05:36:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQyNOGEpXkEelcsSg7o8h+/HI3xjv5h633EyRZT01SC/sEhvXMI0ha11fgB6uZQwGuXjGP X-Received: by 2002:a05:6e02:1846:: with SMTP id b6mr3178700ilv.264.1629722213502; Mon, 23 Aug 2021 05:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629722213; cv=none; d=google.com; s=arc-20160816; b=iq4sF8plsSSiTndW2MS94a1Bu8bx0vUUKybvulNeOMaBOX9sSpeXwVx7chSqOtgaJm pvz5Q9Eh3noPCqm4IDMbMEmnuQFqa05QVXWmEhQHG+QdHEzCLVnE5FS9zXIez0cmKFCb Shg6RhbxOErbUL+7Ww5VkBO2Gw0wJrajwaRjl67bh0iN+PfDDZdzJs1HZ8k/F7WEflcr vcBToT57Zq1BJMvpNDs4VAP/isrjDcYPtTMhf/t2i/nkqcvtvAxuTaqGU0HdoAvYY0DN HW3nznchC2Et+PGo7ItMjNbTC+nUMdmnsRSlpoh5vam3EFQJ2Srntkw3EHWdONizfD0y kOjQ== 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=sfkVfOgG74aYLnhMI+d3SuhRKy5IdFLySI4HRvR755E=; b=VrmYh/+2OWcgvRaHhsBdA+iS1EI39jfaq8PxORet/ExsqjgSWiITmWnxvOfFAu1Tac 0gpkBDmqk9yoJpuEdlKv69Qy6dzx4OXAcKV/1cFHor/yBj4BVkFovCJu0zqSziEWi8oy jVUsRXY91ZGOvyOm8bCvu2Fk71fQegAMQaOZI6VMuyTa+cNxQli6AfaglIZzVK6YlxOd 25AFl7Gm9yKKlBYnb/Wv1fRy0QMa/SCo/KdKMOmP0v1dJacy42Y64Z+ved7nkJ3NQX/K NzRgbcJhXI5+QfiTvFRrKmu3pcDsxP91lgnykrgF+7beYrN1dBLHChW2AHKj11BMz1MG CIjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=v+RNWWQz; 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 h8si17714172iow.45.2021.08.23.05.36.37; Mon, 23 Aug 2021 05:36:53 -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=v+RNWWQz; 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 S233755AbhHWMhO (ORCPT + 99 others); Mon, 23 Aug 2021 08:37:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235881AbhHWMhO (ORCPT ); Mon, 23 Aug 2021 08:37:14 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4FEBC061575; Mon, 23 Aug 2021 05:36:31 -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=sfkVfOgG74aYLnhMI+d3SuhRKy5IdFLySI4HRvR755E=; b=v+RNWWQzXpfrQxjL0zkwnUqwFY LsJIrmvxJVdeDYpfG0kSJyKMJQ+xwYyHOAWdBKcWRRyw4g8WiaUOqY61UdYzorc9HoQqN6Sh7u9HD Di/+ale2RACtQ+b68boj108W8ueu4lJhNolGERvfTDd1nv3ICQt/YAPfujeliAu26gdmnZ6lka3kd dNT562U7MROIVArLLmqTNJuC24A3CoxxIFiUb5tdBvlS24wG4XFtMREyjE6Ib0mzODnAyLOIVd+yr 7fu5bqNRTfmxHN5/8CQVZyCQ2eXDcCbkA34QG8SSXcgarm6r0GZByGK2C2wAks73XryoXcO4RSD5K oFSNxIew==; Received: from [2001:4bb8:193:fd10:c6e8:3c08:6f8b:cbf0] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mI9Aa-009izg-W5; Mon, 23 Aug 2021 12:35:27 +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 Date: Mon, 23 Aug 2021 14:35:07 +0200 Message-Id: <20210823123516.969486-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 te untangles the code path that checks if fsdax is supported. Diffstat drivers/dax/super.c | 191 +++++++++++++++++++------------------------------- drivers/md/dm-table.c | 9 -- drivers/md/dm.c | 2 fs/Kconfig | 17 +++- fs/ext2/super.c | 3 fs/ext4/super.c | 3 fs/xfs/xfs_super.c | 16 +++- include/linux/dax.h | 41 +--------- 8 files changed, 113 insertions(+), 169 deletions(-)