From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEF972C83 for ; Thu, 28 Oct 2021 01:36:23 +0000 (UTC) Received: by mail-pf1-f181.google.com with SMTP id o133so4423714pfg.7 for ; Wed, 27 Oct 2021 18:36:23 -0700 (PDT) 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=h7Igm7cptJn/BPiAKOvXNcYjYvau2fVkwbEBPR40Qac=; b=nDN9pMycEij+MvvSNlzKvOXo8vpzX9jkSPwoFJ+o4gm3MZL73HDZVz6xJnzjMcbY/h uxqb8I8SZcSxzyFyBYzX7/LIRnqjurLkxyKCXt7vyn4OmQMNyDT08nPuKyqwzm30Iyl3 YY7ptNRp5CFdB0o2rG3ZcydKtS+P5TBWxjp9noe/kCn6hPByhWq1BSGoPPpBqB7Delwx 7OpBf+W0FVyg/SVq09iZbg3g6KwhgjDGpF6ftYJKhyxVAQrctr7Lax8JbvRVtA2fECbQ ljET309ufBhSYyMPecwX45v0eqgX6tTFFZvO7U3Ppi7VtOy0tKDgD/ePUmL2riKDB8uo 7IaA== 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=h7Igm7cptJn/BPiAKOvXNcYjYvau2fVkwbEBPR40Qac=; b=2jWJObgsKdIk0o2bGxbo31sDwA/b1OAFb8nxCIs8AZylda7BO8OS/cFpB+e2knkXjm hYUnhaWZL140lKT/6/Ftmnp/QgBCMwRXe1UYvS9iZXhNEwTP0mchLHoTGBm+sJMspg9g cJpyqwZta+qexPWc/PNdYQy5l8n+23AItRi2MvlWc58n2j6VTNmf3LwbeKjPxOxnPuV9 0yv2xZWVb1q9Gl8Ug0+tzRCwfBEZbJg8oDqAPP8txVhk3SoNZHxyxxaf9YwkxZ1XDGEL J2ocsUElpSeqfSvnzqEw7dnduvivSDvUJk+2gmL/e/FB18vBk/ibLbRGBCCAEMhpHHEG KQxg== X-Gm-Message-State: AOAM531dAmHak4RGArL6ULc9TlPsm5QiZIFDCXr/zYgfY9VCcDO5mv8W yyA99tKsHJ/jA/ylHTtnT4S4p8rQQ8XliCH+Jhrkig== X-Google-Smtp-Source: ABdhPJyDv7rjKjhKzGrFppXBu1eyKYCO/S0EEDW+vfLySK20rv/agORLXNPU8PUP/nGzDZcfnIyFx3qV7wWhC+ogeBA= X-Received: by 2002:a05:6a00:140e:b0:444:b077:51ef with SMTP id l14-20020a056a00140e00b00444b07751efmr1317245pfu.61.1635384983516; Wed, 27 Oct 2021 18:36:23 -0700 (PDT) Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20211018044054.1779424-1-hch@lst.de> <20211018044054.1779424-10-hch@lst.de> In-Reply-To: <20211018044054.1779424-10-hch@lst.de> From: Dan Williams Date: Wed, 27 Oct 2021 18:36:11 -0700 Message-ID: Subject: Re: [PATCH 09/11] dm-log-writes: add a log_writes_dax_pgoff helper To: Christoph Hellwig , Mike Snitzer Cc: 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" On Sun, Oct 17, 2021 at 9:41 PM Christoph Hellwig wrote: > > Add a helper to perform the entire remapping for DAX accesses. This > helper open codes bdev_dax_pgoff given that the alignment checks have > already been done by the submitting file system and don't need to be > repeated. Looks good. Mike, ack? From mboxrd@z Thu Jan 1 00:00:00 1970 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 8C532C433EF for ; Thu, 28 Oct 2021 01:36:29 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 389DB611AF for ; Thu, 28 Oct 2021 01:36:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 389DB611AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DD7F3405AA; Thu, 28 Oct 2021 01:36:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1DgdQz6FI2Gg; Thu, 28 Oct 2021 01:36:28 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 9CE0740599; Thu, 28 Oct 2021 01:36:27 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 74117C0012; Thu, 28 Oct 2021 01:36:27 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 3492FC000E for ; Thu, 28 Oct 2021 01:36:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 2A2346066A for ; Thu, 28 Oct 2021 01:36:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=intel-com.20210112.gappssmtp.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bWnf_IAuBVvv for ; Thu, 28 Oct 2021 01:36:24 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by smtp3.osuosl.org (Postfix) with ESMTPS id 0E3DD60665 for ; Thu, 28 Oct 2021 01:36:23 +0000 (UTC) Received: by mail-pf1-x42a.google.com with SMTP id l203so4464577pfd.2 for ; Wed, 27 Oct 2021 18:36:23 -0700 (PDT) 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=h7Igm7cptJn/BPiAKOvXNcYjYvau2fVkwbEBPR40Qac=; b=nDN9pMycEij+MvvSNlzKvOXo8vpzX9jkSPwoFJ+o4gm3MZL73HDZVz6xJnzjMcbY/h uxqb8I8SZcSxzyFyBYzX7/LIRnqjurLkxyKCXt7vyn4OmQMNyDT08nPuKyqwzm30Iyl3 YY7ptNRp5CFdB0o2rG3ZcydKtS+P5TBWxjp9noe/kCn6hPByhWq1BSGoPPpBqB7Delwx 7OpBf+W0FVyg/SVq09iZbg3g6KwhgjDGpF6ftYJKhyxVAQrctr7Lax8JbvRVtA2fECbQ ljET309ufBhSYyMPecwX45v0eqgX6tTFFZvO7U3Ppi7VtOy0tKDgD/ePUmL2riKDB8uo 7IaA== 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=h7Igm7cptJn/BPiAKOvXNcYjYvau2fVkwbEBPR40Qac=; b=ZqLfEsXhxmVW9Qmclflz9J3TwDdnFZK9POkNg3eIbWPYh9xVt5AStQtpRuq4XGqepa aiNavpQytUthhzZ42QNq6HJ/shM5LUDMOtnfIr7Kx4DtjRWL5u8PqdCu0UUCTIp5a7Sx TV94WkMzrBRsQDnYXx3RBCN6dQ6osSYzzGVxaVco0KYwQPB5Sn9m1UKfxc4H8SOWfuZj byib5t9WEad/zKE2oeLxRv0vtQQQYnCUPnJhi08flcOFMDXTmRGFAf7UOMaQcyhlJeLW Y7pZ1e+GDLUvujkCCO9LKrOBX+SP/bkRGF9V+jUJWH+SHM9O/rZvbV/12t9qTJza6xuD G4QA== X-Gm-Message-State: AOAM532WIrmy+CyBiM7nD6ZRMoKRN0eueq42AqhisRo+QVZSxpumCdaG vW78fE+qGpxEvkl6PT7NJNs/4HcQxtrABSQlzP8pOw== X-Google-Smtp-Source: ABdhPJyDv7rjKjhKzGrFppXBu1eyKYCO/S0EEDW+vfLySK20rv/agORLXNPU8PUP/nGzDZcfnIyFx3qV7wWhC+ogeBA= X-Received: by 2002:a05:6a00:140e:b0:444:b077:51ef with SMTP id l14-20020a056a00140e00b00444b07751efmr1317245pfu.61.1635384983516; Wed, 27 Oct 2021 18:36:23 -0700 (PDT) MIME-Version: 1.0 References: <20211018044054.1779424-1-hch@lst.de> <20211018044054.1779424-10-hch@lst.de> In-Reply-To: <20211018044054.1779424-10-hch@lst.de> From: Dan Williams Date: Wed, 27 Oct 2021 18:36:11 -0700 Message-ID: Subject: Re: [PATCH 09/11] dm-log-writes: add a log_writes_dax_pgoff helper To: Christoph Hellwig , Mike Snitzer Cc: Linux NVDIMM , linux-s390 , linux-erofs@lists.ozlabs.org, virtualization@lists.linux-foundation.org, linux-xfs , device-mapper development , linux-fsdevel , linux-ext4 , Ira Weiny X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" On Sun, Oct 17, 2021 at 9:41 PM Christoph Hellwig wrote: > > Add a helper to perform the entire remapping for DAX accesses. This > helper open codes bdev_dax_pgoff given that the alignment checks have > already been done by the submitting file system and don't need to be > repeated. Looks good. Mike, ack? _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization From mboxrd@z Thu Jan 1 00:00:00 1970 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 DC301C433F5 for ; Thu, 28 Oct 2021 01:36:43 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E880611C1 for ; Thu, 28 Oct 2021 01:36:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5E880611C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Hfp7Z0Fh2z2ymg for ; Thu, 28 Oct 2021 12:36:42 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel-com.20210112.gappssmtp.com header.i=@intel-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=nDN9pMyc; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=intel.com (client-ip=2607:f8b0:4864:20::434; helo=mail-pf1-x434.google.com; envelope-from=dan.j.williams@intel.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel-com.20210112.gappssmtp.com header.i=@intel-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=nDN9pMyc; dkim-atps=neutral Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Hfp7H4m5mz2yPh for ; Thu, 28 Oct 2021 12:36:26 +1100 (AEDT) Received: by mail-pf1-x434.google.com with SMTP id m26so4456258pff.3 for ; Wed, 27 Oct 2021 18:36:26 -0700 (PDT) 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=h7Igm7cptJn/BPiAKOvXNcYjYvau2fVkwbEBPR40Qac=; b=nDN9pMycEij+MvvSNlzKvOXo8vpzX9jkSPwoFJ+o4gm3MZL73HDZVz6xJnzjMcbY/h uxqb8I8SZcSxzyFyBYzX7/LIRnqjurLkxyKCXt7vyn4OmQMNyDT08nPuKyqwzm30Iyl3 YY7ptNRp5CFdB0o2rG3ZcydKtS+P5TBWxjp9noe/kCn6hPByhWq1BSGoPPpBqB7Delwx 7OpBf+W0FVyg/SVq09iZbg3g6KwhgjDGpF6ftYJKhyxVAQrctr7Lax8JbvRVtA2fECbQ ljET309ufBhSYyMPecwX45v0eqgX6tTFFZvO7U3Ppi7VtOy0tKDgD/ePUmL2riKDB8uo 7IaA== 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=h7Igm7cptJn/BPiAKOvXNcYjYvau2fVkwbEBPR40Qac=; b=fhk8FveD76KIpi7h1O53FpuDAQAQdsziQNrLrZM8oMIAXK/iaqWMvIiFb5K/zvq8pN FiIyoryyOL4GEWylk7HgR2yszztN3DXhu+dPvRssUmW7/G78e59kmXIqvg/QPCeEb3bf u0vuWXhZY9b/uNhNTAxBsMuUydswlpkrM9T3lE0GIfWcb3grgQySdxvkJIX+bWIf7HcN 83eCQ+Q1DaHW3jU/4Rg8aKJ/qFNA2wBstM1IEs2bfkuOGE0y0LE3x+ds2/ksxXkcHpDt Qf2k9yodvbsNmkxQ4hJDw41kjxsiRFLhrsSkSz3IQ6OuS307TDD1H9LprDLO3/AB7ksv 4DSQ== X-Gm-Message-State: AOAM533mSlIxRiqdGM+n2MCVwE/Po9ZRjsxSN1L9rqzvr1Iu68NLc9MZ l/sahdV7W1VtRgO2iPcaf5Vd25FJLvuCf4kfCDeuog== X-Google-Smtp-Source: ABdhPJyDv7rjKjhKzGrFppXBu1eyKYCO/S0EEDW+vfLySK20rv/agORLXNPU8PUP/nGzDZcfnIyFx3qV7wWhC+ogeBA= X-Received: by 2002:a05:6a00:140e:b0:444:b077:51ef with SMTP id l14-20020a056a00140e00b00444b07751efmr1317245pfu.61.1635384983516; Wed, 27 Oct 2021 18:36:23 -0700 (PDT) MIME-Version: 1.0 References: <20211018044054.1779424-1-hch@lst.de> <20211018044054.1779424-10-hch@lst.de> In-Reply-To: <20211018044054.1779424-10-hch@lst.de> From: Dan Williams Date: Wed, 27 Oct 2021 18:36:11 -0700 Message-ID: Subject: Re: [PATCH 09/11] dm-log-writes: add a log_writes_dax_pgoff helper To: Christoph Hellwig , Mike Snitzer Content-Type: text/plain; charset="UTF-8" X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux NVDIMM , linux-s390 , linux-erofs@lists.ozlabs.org, virtualization@lists.linux-foundation.org, linux-xfs , device-mapper development , linux-fsdevel , linux-ext4 , Ira Weiny Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" On Sun, Oct 17, 2021 at 9:41 PM Christoph Hellwig wrote: > > Add a helper to perform the entire remapping for DAX accesses. This > helper open codes bdev_dax_pgoff given that the alignment checks have > already been done by the submitting file system and don't need to be > repeated. Looks good. Mike, ack? From mboxrd@z Thu Jan 1 00:00:00 1970 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 87973C433EF for ; Thu, 28 Oct 2021 01:36:40 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1B014611AF for ; Thu, 28 Oct 2021 01:36:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1B014611AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=redhat.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-161-sEVeLKsHNIml1MD3QPfTUw-1; Wed, 27 Oct 2021 21:36:35 -0400 X-MC-Unique: sEVeLKsHNIml1MD3QPfTUw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2A342806689; Thu, 28 Oct 2021 01:36:31 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1C742399; Thu, 28 Oct 2021 01:36:30 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E4CA24A703; Thu, 28 Oct 2021 01:36:27 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 19S1aQT4028635 for ; Wed, 27 Oct 2021 21:36:26 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6467340C1242; Thu, 28 Oct 2021 01:36:26 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 603A040149B4 for ; Thu, 28 Oct 2021 01:36:26 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 46978811E7A for ; Thu, 28 Oct 2021 01:36:26 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-419-2c5yLc6ENsq6j4GlR6P_SQ-1; Wed, 27 Oct 2021 21:36:24 -0400 X-MC-Unique: 2c5yLc6ENsq6j4GlR6P_SQ-1 Received: by mail-pf1-f181.google.com with SMTP id 187so4420058pfc.10 for ; Wed, 27 Oct 2021 18:36:24 -0700 (PDT) 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=h7Igm7cptJn/BPiAKOvXNcYjYvau2fVkwbEBPR40Qac=; b=lfpPLRVAM/dl/VoapepX0K8b1vuCOfuFs0ktAs10ACUwgsTPyDdVqqdNDVLhhNeFh2 61PNqnMsaquMvNAZavguWPiv3KAmOJVyfuZSIvGN/gljToHz345PfEpjoWbqEZGZNRrz mWAmJ1jBgeyG513eT4Lkbz0DnlzNMiqRnuFioV0Yf9BlSDnvKcOs4hSB3WB4PyWy1qXK q+UZ5CL/PcEBzW8EhdKFq0Pe7kcm9Z7nkLstCZy1zYGzCjZsgnO0P51OtFvjkOunPZcN enxPzESZE/I///rCZxo1yC92qAefQzGaS/9112taAz5NVAU5Oym/MBtuC5Q2JJ1cJIML vkqg== X-Gm-Message-State: AOAM530SVtcV7EAi5EGxcNlOyLx1eoIys6kIfpEA6z49HaWrkBu8ZXCM t4ZR3oqUwaRCZWx3GIcINIaGtzCiGgeW2mNVED5kimh3SOI= X-Google-Smtp-Source: ABdhPJyDv7rjKjhKzGrFppXBu1eyKYCO/S0EEDW+vfLySK20rv/agORLXNPU8PUP/nGzDZcfnIyFx3qV7wWhC+ogeBA= X-Received: by 2002:a05:6a00:140e:b0:444:b077:51ef with SMTP id l14-20020a056a00140e00b00444b07751efmr1317245pfu.61.1635384983516; Wed, 27 Oct 2021 18:36:23 -0700 (PDT) MIME-Version: 1.0 References: <20211018044054.1779424-1-hch@lst.de> <20211018044054.1779424-10-hch@lst.de> In-Reply-To: <20211018044054.1779424-10-hch@lst.de> From: Dan Williams Date: Wed, 27 Oct 2021 18:36:11 -0700 Message-ID: To: Christoph Hellwig , Mike Snitzer X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-loop: dm-devel@redhat.com Cc: Linux NVDIMM , linux-s390 , linux-erofs@lists.ozlabs.org, virtualization@lists.linux-foundation.org, linux-xfs , device-mapper development , linux-fsdevel , linux-ext4 , Ira Weiny Subject: Re: [dm-devel] [PATCH 09/11] dm-log-writes: add a log_writes_dax_pgoff helper X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Sun, Oct 17, 2021 at 9:41 PM Christoph Hellwig wrote: > > Add a helper to perform the entire remapping for DAX accesses. This > helper open codes bdev_dax_pgoff given that the alignment checks have > already been done by the submitting file system and don't need to be > repeated. Looks good. Mike, ack? -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel