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 CE9D2C433F5 for ; Tue, 23 Nov 2021 03:41:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232932AbhKWDoV (ORCPT ); Mon, 22 Nov 2021 22:44:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231868AbhKWDoU (ORCPT ); Mon, 22 Nov 2021 22:44:20 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 485C0C06173E for ; Mon, 22 Nov 2021 19:41:13 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id gx15-20020a17090b124f00b001a695f3734aso1741493pjb.0 for ; Mon, 22 Nov 2021 19:41:13 -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=yuisy9zT1caIpoCJEL+LfomruK38WXIi70xmI7lYDdI=; b=Y08/be2uy1a6FHo2yuq5V6dIERIFe+eeTyXLXTKFjFxfAYARUBwDdqRv9XulygxcF5 4zZfKtYGqV6eckQSPyIqI+Gn3GMQFWIP9FXR6DHHwN+9GDnZm18bVZGFa88rvhT3Zhp8 eBxG8SJu0LWqmuhUvXdN5Q8E0N7Fv2c7+1ZOSnPpTxrI3q5JIXNMGFvAj0k+TWuhQgQG tLoyO8DVm7L0ndxV5dBnp+whJ587dE90ANm0vqzPKJbxSHtsEtd3ERFpgMcAPItk+09G dbm69RRAjzWoV6a6vlvEHV0tkZfEJqiOGj5p0uoKbINk6WBGJnIFfCSAm3gIT8TG78mL kVoQ== 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=yuisy9zT1caIpoCJEL+LfomruK38WXIi70xmI7lYDdI=; b=8JRW1RZeHz5PWiO/uTq9o2gYO6U0LIEegECWDdwMxwd6B1iEsOkhFUw2qAY7zAA0Ur SyNC2tarcEzREMeOAyC8IP9gdq3jEQNopESQUyFJeEMjsx1D5lcIKR4yfm6M01kZs3Sq dGQcgyjnoirh/5hbVp5Mxs03RODAERk1e305bKv95rplyRHDJ+NxYYL0CVd/UwxYJQcP soN+R5LWWmxdxq0FTkX6V91yY/2CH+izs9ngoi/ylmPIV+D0KHcj8riPIyRmunRHfdaM ONIMlCthsyCrEhhpYiHljj15bMDbULRKrx7lrJolmFywiCeFhuFoYPOnnNEFsKXomKfW KbeQ== X-Gm-Message-State: AOAM533l4Dl9kL1XsKQZqS5Bl7F5AOYMRGHw0JukSMsoIe6035treqe7 /tTHxqzxfpunjzJttcVcX466t2Czf4Lo5/dhzRetTw== X-Google-Smtp-Source: ABdhPJwgBzEQtBEEt5JgwawqvX/CZbZsaXh/qAQWeeflxeagBI6MsJ+fyqKdfOXHrkiL5G4d5gMRZlq/mNM2Mj9gTds= X-Received: by 2002:a17:90b:1e07:: with SMTP id pg7mr2525502pjb.93.1637638872640; Mon, 22 Nov 2021 19:41:12 -0800 (PST) MIME-Version: 1.0 References: <20211109083309.584081-1-hch@lst.de> <20211109083309.584081-7-hch@lst.de> In-Reply-To: <20211109083309.584081-7-hch@lst.de> From: Dan Williams Date: Mon, 22 Nov 2021 19:41:01 -0800 Message-ID: Subject: Re: [PATCH 06/29] dax: move the partition alignment check into fs_dax_get_by_bdev 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: > > fs_dax_get_by_bdev is the primary interface to find a dax device for a > block device, so move the partition alignment check there instead of > wiring it up through ->dax_supported. > Reviewed-by: Dan Williams