Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp691275pxb; Wed, 22 Sep 2021 10:37:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJye84b5kT293/uUnz7RuT2eL6g13r45RsKMR2lJOVElgcs7j1hZ8SqEsSn9qKKgO/cSfvqY X-Received: by 2002:a05:6638:25cd:: with SMTP id u13mr202660jat.114.1632332256368; Wed, 22 Sep 2021 10:37:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632332256; cv=none; d=google.com; s=arc-20160816; b=qP8OInIUgCg0ng75nyhD01860sLG0VezhGlMT0m56CbS3rz0SZjnLAWD+IxoCz9Szc XtDv/ynFtZx/kcXJbYulx9wVZ+ljv7wYtqW3eW8nFHMwbaC1npgmWDjLwNK8YRR2aFT3 UDfirHd0/UFMC3KlYlvmar4MbjoR5ByNT4hj2rNVLXKPSWvsVHH1RKu2yhcsdjItYovC ENNqJ8aws2s62IkZ9YKg48MbEazEshtMz3rhFcW9a6A6cUK/RdRJF2C+fOJgN7U2ssZ6 36ch6RmX9zROgoOC7J73kRTR2hOrIdtggnAZOqwICXxO7t5N/T5ceZ8o35WECQ5tHkib MPmQ== 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=ts6syGTdr1rz8kxScm3jTMJFeITOlVV+vJiT5fh1RqcryNZeJ4X5jsm1MlPE0bQbuW QUENJ2cHhEYCA19f2NikIhdE0Hc3wF2TfnBZIiegXZGGaSTosxfmV62eH+GzU58IcUxR Y/zzhvQOs6ysYkkvUHoTFRrtE0FKTCPnsVq/NxRA9yII3CbSI+FEEivfvJKrdq6q1FVC 85p4t6wB1IpiD/neeKufITSLbF+hHrG8Jdiq8hAxReS6X9KvrtZ1j6DDjdBVF9H6L6dD /c7s8KWuURBORFNRojn6yAIRdm6fRP8G8mI99fKt0K6fGN5v71o9CfpN90mY1blUHRhP PkXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=WlNfNytj; 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 g5si3878725jaj.126.2021.09.22.10.37.19; Wed, 22 Sep 2021 10:37:36 -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=WlNfNytj; 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 S236837AbhIVRig (ORCPT + 99 others); Wed, 22 Sep 2021 13:38:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236717AbhIVRig (ORCPT ); Wed, 22 Sep 2021 13:38:36 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10AD9C061574; Wed, 22 Sep 2021 10:37:06 -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=WlNfNytjOVO7nSmbZow+kLL5Bv QPQCXq6UGc8G/xHRilX5R+ZKUS3aUd5BN4wUMDXyVmSCGgVflBgsJtunv2ZBqe3yDium0DTkrLDiV Zn30Roqv3z5VvhpTS0DKThiJQ+oUjF8sq4YPDPedTh+IcsTa/L5kYrHXvyCswlo074FOdjtqzAq/x jJ5JAPTRsmJSVTDql+KqOD7FBVqZoxzWli44Ta5ZW/J+IIr6wVNR9LqRJDUc/lJKO+Og2a3BWhWmN 3BnxXzhifhAKuzy3W+rL8B/QNHTo0urx5ynSL/omjsIM5speYb3PRLxlLeflxcyJ+LHGiW6gF3AQ4 +pmHFLMA==; Received: from [2001:4bb8:184:72db:3a8e:1992:6715:6960] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mT68e-004zdc-Mh; Wed, 22 Sep 2021 17:34:58 +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: Wed, 22 Sep 2021 19:34:28 +0200 Message-Id: <20210922173431.2454024-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(-)