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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98890C433FE for ; Wed, 17 Nov 2021 17:44:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7734C61BA2 for ; Wed, 17 Nov 2021 17:44:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239566AbhKQRri (ORCPT ); Wed, 17 Nov 2021 12:47:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238079AbhKQRrh (ORCPT ); Wed, 17 Nov 2021 12:47:37 -0500 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39B60C061767 for ; Wed, 17 Nov 2021 09:44:39 -0800 (PST) Received: by mail-pg1-x52b.google.com with SMTP id r132so2900010pgr.9 for ; Wed, 17 Nov 2021 09:44:39 -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=+uFdsysPKBJg8+GUKCjjrR+fu42d0RKVIlJ5p5O3Gqw=; b=AhgC+2wjkr5d9yDLbCved4jaDjwAVOHHegPWWTmEA1k+UoMOMYjm4jdejJ0FNzHR6s c5CZZTpF5RcDbQWqOsFLQ+5n3WzHTDlujVf/JCPu7XZBET18Z8qLE0BanPT0rnfK5Zu9 KyIvCY0B/udnAqmbfZZUOtpDWwYOaZvFxMVOaWJLK5nqRMnfBvKrqK4xPQYQJSiLOVa8 0rlfBALzCZrz1lMqwQv6qq3GRi5Jd7hsx8WgDG14wOcf8TDRiDnZ6oCTTfiQ53aT4YRB Vf3FTTZZnWUbXVIHLEPwTQXniddBnZWJsqT6SgaoHFJDwC1BLNE6VpCGlp3JGhptmlcC V9cw== 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=+uFdsysPKBJg8+GUKCjjrR+fu42d0RKVIlJ5p5O3Gqw=; b=sISi8ec4zAwz6vC7MaY+2re+FS/RejiuUWAFtapSmGqqjQtKuRNGoWGctzqPEbsza5 cF8CQ0oCHobTIqFS7FS0oAQF6kzKRWChLXTaZeZHOo/s58/b+VycE3mVDAlnzl+RhIOI ybSIqvdNkVCf+mg02zG7epX0vnmm3q65e6rrEH+ysHY8E+mOK3qmT8PEaWoCn17rT1R1 cQ3HbHn1S6y+16qUCQqGTdYyMRbmYJeg6nCnSSA722aF0DfewfMd+jaxVK1djBkmX+f0 ZLo+ODCgDavtZvHvR9MxkcSTxRzjWRaKdcPl9j3iZfoQT8qpLNcgy+JUgIUvToah+WX5 nGvQ== X-Gm-Message-State: AOAM532r2fYooiL6qip18HEJRSvXyi4r2ul+G46sNx9+DFUq9ArG8Db9 eoNeyi+CKn4blhC0dBXGrCeDQUmmWYJpwYcnpZf8Mw== X-Google-Smtp-Source: ABdhPJxiiB8Ak1RjXFinVMdC+8Tb3rrtEkfJ8k6NlxRhm42dcgWCdDR0kkUYUFwrF8G9DBBrfo1Xmvo4+uUGPt+QmE4= X-Received: by 2002:aa7:8d0a:0:b0:4a2:82d7:1695 with SMTP id j10-20020aa78d0a000000b004a282d71695mr37260918pfe.86.1637171078758; Wed, 17 Nov 2021 09:44:38 -0800 (PST) MIME-Version: 1.0 References: <20211109083309.584081-1-hch@lst.de> <20211109083309.584081-2-hch@lst.de> In-Reply-To: <20211109083309.584081-2-hch@lst.de> From: Dan Williams Date: Wed, 17 Nov 2021 09:44:25 -0800 Message-ID: Subject: Re: [PATCH 01/29] nvdimm/pmem: move dax_attribute_group from dax to pmem 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: > > dax_attribute_group is only used by the pmem driver, and can avoid the > completely pointless lookup by the disk name if moved there. This > leaves just a single caller of dax_get_by_host, so move dax_get_by_host > into the same ifdef block as that caller. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Dan Williams > Link: https://lore.kernel.org/r/20210922173431.2454024-3-hch@lst.de > Signed-off-by: Dan Williams This one already made v5.16-rc1.