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 8BF02C433EF for ; Tue, 23 Nov 2021 04:02:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230018AbhKWEGC (ORCPT ); Mon, 22 Nov 2021 23:06:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231894AbhKWEGB (ORCPT ); Mon, 22 Nov 2021 23:06:01 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E9A7C06173E for ; Mon, 22 Nov 2021 20:02:54 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id y7so15972804plp.0 for ; Mon, 22 Nov 2021 20:02:54 -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=sflh6j00R53ITli5bO2IoAwQaIa8VR/tllaujepF7nQ0McJ6iT2CSZUK7BuB1zU6If 9CwhHY4WZipWFFT6wSgL9NXJHKzpWx4dzREV1QewVHPXAfe3nZ2ge9ayabqAClcoOtMT 6CWsvm27gk7VLVryyb3GQ4RxleOrmnBmuKNS+T6GLom6VfHHQqPk8G9iMZiGpJfXA6jD WtPXA13msMgztdGrXOYIM1Tv6bLvkl2kjxHbaH2u8afmQwOPoz4TylpBWUlzjs7RiwZQ Q7dRhRXUS7ma5L6pdFg1NOadjevEswoXcEKlTQmOlLvpZ8ukBNqCZ65Zu45i5yf8msAV Rrgg== 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=aJDA2gbG7Vm5nrR1iUFdMW8WeGSgo2Sz77KsS0QBNd4pgLmjBdgDIC+R5+K9H9m8ll k1XTDL12iI2IKwy3gYrnTxZIw/X6+YQywWcLcsv/r3Abf8tmj5eFT2nmUnSCYP4S7btP /NZGG5L+jcDfRIszfVBp19S+iZzwhW0b4TSNnl6M/l8k8Egb7HjMYAV8YRjAnFldZHJ/ C6JgOryQmC+lzFBtOwK6HwcAZ1r6oVVzhMGNSNfvbn7I3DiHyzdsppqaAd0JIoH9b0m0 nR6xW1IrGAGdZb7nwi/ASSKJhFSZwC3FUgjIuj35gaeHdn9v7c9OKtjExflwV/s7vOJ0 W/RQ== X-Gm-Message-State: AOAM533HWw2ToaLiFGg4AIIq8YTHj6G+VHn2NJTiEzTO5OLDgPmrDVyo 1zl6IpYVggwgsW8x1JXQfvWBzWBOc/wysi0JUvnDcQ== X-Google-Smtp-Source: ABdhPJxvSLmX3xye88c668D00uWDdnnCeZiY99i/tpK8E6hWm4PH0+Kg/6cCj46QhqqZS8+/hIjz2nKulq2NhEFbIuM= X-Received: by 2002:a17:90b:1e07:: with SMTP id pg7mr2663610pjb.93.1637640173575; Mon, 22 Nov 2021 20:02:53 -0800 (PST) MIME-Version: 1.0 References: <20211109083309.584081-1-hch@lst.de> <20211109083309.584081-11-hch@lst.de> In-Reply-To: <20211109083309.584081-11-hch@lst.de> From: Dan Williams Date: Mon, 22 Nov 2021 20:02:42 -0800 Message-ID: Subject: Re: [PATCH 10/29] dm-log-writes: add a log_writes_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