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 9A707C433F5 for ; Tue, 23 Nov 2021 03:35:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231390AbhKWDiz (ORCPT ); Mon, 22 Nov 2021 22:38:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231564AbhKWDiy (ORCPT ); Mon, 22 Nov 2021 22:38:54 -0500 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AE1CC06173E for ; Mon, 22 Nov 2021 19:35:47 -0800 (PST) Received: by mail-pl1-x62b.google.com with SMTP id k4so15841062plx.8 for ; Mon, 22 Nov 2021 19:35:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ciNARavW8blBNA0+Xvi8Iqp5SUe+gHu1UDO5Z2Om1Uw=; b=qv3CnJ11m0PYkOHoQ0rgeVwNALQf3M43R9jDn4noWbPwiyV5PFAUAobozTfJVM6jMN gGOMgeqNRIErcKP2vDX0zyTVsNeLTY8lzpDrTr9FaVXz7Nyuss7duyWWUC0w+OEpk0Y3 wvFH7hCTeTDTzwtCf3LKbmurKbK1zzBM5VImDQVIB5KEn/Ze3QrYkkB8uns0eG1gogCu IMFX3s7C31lnzF9JxLo5DwiOin4O3xPlpFSzS/8STpqCkYOQubL9wZiMJBM7MgXl2Mw3 PQRBvA8Ue2rAduBgzFAmSH8HYxXYHYxgpo2RnZmBQjB4Z5gLkF+OPLhfOEwFkjXAcpRy xi7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ciNARavW8blBNA0+Xvi8Iqp5SUe+gHu1UDO5Z2Om1Uw=; b=rtfwiUCezTSZi5Wu7mZAeYtQO9H3gQtucS7OM/zO/X5KLGAffTJDNWzhJcW1wjKnLT GQnAY426V7doRNIoKao0+dFE4vItPkyX4fZHqKuYb6FvIzYp8351D1RYtI2CPv0YUKm9 PZfzN3bjLyqbmPpne+Jqo+t7/KPnGNIQIPBSrGiT+t+6GtN6mnFu02IqXT+r6MZgEmW3 RjzsdDTRIOCcgbanDQeFLky7z779Nhn/WNCvR4T/nEQQSmRQaVYxaBfUre6Vp8Vrqu5z wVQZLmufah8Wy236jmL/OK8nKEyNjDsvggtPCInQqlI1xp5hDuUTQml6cFmv+Sd78sag gZjQ== X-Gm-Message-State: AOAM531dRfP2WLm+3pAmjtthCx1Bnxyi2GdINQuSq87Q4u9YWySbySFF /v1yiXCl4ylkEf5vZQzEy6rvDyf0McU7rfzO3c344A== X-Google-Smtp-Source: ABdhPJxIzgcp9HElKDkpBTZbaiahamawtMq8srzUwJcfkFqOm9FQKmJevZaNWPkBJ7GMZd7Eb5XWuI6lWDv1nhHZNS4= X-Received: by 2002:a17:90a:e7ca:: with SMTP id kb10mr38062347pjb.8.1637638546993; Mon, 22 Nov 2021 19:35:46 -0800 (PST) MIME-Version: 1.0 References: <20211109083309.584081-1-hch@lst.de> <20211109083309.584081-6-hch@lst.de> In-Reply-To: <20211109083309.584081-6-hch@lst.de> From: Dan Williams Date: Mon, 22 Nov 2021 19:35:36 -0800 Message-ID: Subject: Re: [PATCH 05/29] dax: remove the pgmap sanity checks in generic_fsdax_supported To: Christoph Hellwig Cc: Mike Snitzer , Ira Weiny , device-mapper development , linux-xfs , Linux NVDIMM , linux-s390 , linux-fsdevel , linux-erofs@lists.ozlabs.org, linux-ext4 , virtualization@lists.linux-foundation.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Nov 9, 2021 at 12:33 AM Christoph Hellwig wrote: > > Drivers that register a dax_dev should make sure it works, no need > to double check from the file system. Reviewed-by: Dan Williams ...with a self-reminder to migrate this validation to a unit test to backstop any future refactoring of the memmap reservation code.