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 5397DC433F5 for ; Tue, 23 Nov 2021 04:16:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229947AbhKWETU (ORCPT ); Mon, 22 Nov 2021 23:19:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230234AbhKWETU (ORCPT ); Mon, 22 Nov 2021 23:19:20 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A1BDC061574 for ; Mon, 22 Nov 2021 20:16:13 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id m24so15922991pls.10 for ; Mon, 22 Nov 2021 20:16: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=g/ky7DkMfynxz93Jg1Thyokk1eZpzUf1Xl2rDhRoyWA=; b=wbQ/MsU1SlEZ9iPye0o5lHnBo9k9LahEnJdnyRzgTrQak+nTOXkgXVWM7OQWluPbzr HkVEy2FdigRG5kYOuK1opEJwN/rn7TguLqcAFU7ncMwpwdXChRFN2sqd+bTf3F8BInaK fFwg0qsn775RNQiqooEO5yKgWsV+2wtj+cp01Q2NasJFqL66eojelACeKHvYSEfu8Xag ROr6vP/wogp7HYAtlyseVafxuCM7Uz2wx46f9H1VqNuffEtgZng2NeCkac5Ick13DKCh KqqsG7JaJle4G2RoQ9CsAKmA2/ICYEEBHwUPSN/D+pEwjOibiGCRqmiwftUbhvO4xY/f BPcg== 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=g/ky7DkMfynxz93Jg1Thyokk1eZpzUf1Xl2rDhRoyWA=; b=vwSPmu9nX4Wv8HYnl7xcKrPsop4BhchiwiY1lsuJnXARXAj8sXyoj2edLbWZr23uRG mahbtK7QbvkoHzuHRSKtiO77ymvnZOXaJ+0NjX2n0siX4z1w8j9by7iEbWCvlIdYaZ4g h9T5+tGVYbMucg/z2X+ptdt+cHixI9T9RlXUIYo0QbYqrqKLOWEXyrlElaij7Kw5sTvw YPgYuTnQV3rTqlVBRwqcDuBTJbDIgpMYG1B2qUtUo0CY5Bp2ZcwWS4oyqz90gjsDRxzG s9lmGRwiEP9M+l3Ex0jnSv3lxJo5d9d23ydRRUlC3SQk1EBVhmQshDE8e98lsU9qP3n3 xEKg== X-Gm-Message-State: AOAM530UgjVTuzLmyua+/Z30TUoQOQuq/nAHjke/t7WWFQstO7w6FvxQ /96hESyoE1hu9USWzer3/1PqKgnpcDUE+IxSH1whow== X-Google-Smtp-Source: ABdhPJxjpKB9AmBnKHF1Qu0JurlIqhEs9/usKwuqw/rWaPu+iQDfW+wdKRq+mST3BpRIgHuCjkJcQHKsTKAjjneenA4= X-Received: by 2002:a17:90b:1e49:: with SMTP id pi9mr2831805pjb.220.1637640972493; Mon, 22 Nov 2021 20:16:12 -0800 (PST) MIME-Version: 1.0 References: <20211109083309.584081-1-hch@lst.de> <20211109083309.584081-12-hch@lst.de> In-Reply-To: <20211109083309.584081-12-hch@lst.de> From: Dan Williams Date: Mon, 22 Nov 2021 20:16:01 -0800 Message-ID: Subject: Re: [PATCH 11/29] dm-stripe: add a stripe_dax_pgoff helper 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: > > 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. > > Signed-off-by: Christoph Hellwig > Acked-by: Mike Snitzer Reviewed-by: Dan Williams