Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp777376pxb; Wed, 18 Aug 2021 14:03:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2zMX0AhdqoTs6v6dCaE9co5vfjMEE7Dpc6WtZVyu+LHj/F8R3vyUHbWGgeHmab+8cfUhP X-Received: by 2002:a02:7312:: with SMTP id y18mr9614843jab.129.1629320587559; Wed, 18 Aug 2021 14:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629320587; cv=none; d=google.com; s=arc-20160816; b=Ii2Twtg0Y/4+r5LquN/SEmchpLbONYDFHdWTdexhfg8pxZjyu6gBTEw8WQczdpPPIi nnDZFBc3PPap/3NTUgV7OwtjaAA4nqcjcmyyzRzZDm9C9iOkCELG2PUv47FHR9BEG03e MpHbmTl4HQB+sNjWAdS1YLdE15+ARloJ/WUFOpj/WrVeCSDcxEYvXKnzf65H1wyCtACU Iu4AnYRwEWog/Yhe+G+3mi5uS3gLsKT8t2hr8qqkg2XbzTNB9Bzee8tiQw2KOOpCfdek hjQvnYKGCu5Tif/rgKG49BPqzPJut4V2HCp2g8SamUl6GgZJJfojOizorm8RjS3mJu8/ 2Zbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tsxhBVRZlO9and7DhCBUruAlzXa20bXVaKImjY48c7o=; b=hyXltkusTDtSnkuBs8y6cJMHTiGr7Y2r51YzbgZ1HBTkM9mBuLSP9LyXU8aZdZ+fZ9 1Z+3U+Pbpy1rZ6e2neOul4cpu24yfSmzmeVX9ul0ZPyBcJAyA2S8lebX54IZftGjz66d SlSLgEcQDaOWfBxnhN/O0R1ofEYN6V279oYSsWpaPE76ly9Qj9tQMaGLfByLm5TuDvzJ mNIy0WAAPICmxnKL0qJXDZ3YLlQNx2j0hs4jJy4WgW0ZDV+QgNhOcLGtmT11IS6j940Q /8rmDyTKf+6lscEvM9a/hsIuEfLS5PrWXdeqDw4jYfvnt/n4Z5sle/O4FuCfkRQ4yYZW R9nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=zGGJKW23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z16si799422jat.29.2021.08.18.14.02.31; Wed, 18 Aug 2021 14:03:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=zGGJKW23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233793AbhHRVCC (ORCPT + 99 others); Wed, 18 Aug 2021 17:02:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229965AbhHRVCB (ORCPT ); Wed, 18 Aug 2021 17:02:01 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD10EC061764 for ; Wed, 18 Aug 2021 14:01:26 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id x16so3449581pfh.2 for ; Wed, 18 Aug 2021 14:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tsxhBVRZlO9and7DhCBUruAlzXa20bXVaKImjY48c7o=; b=zGGJKW23TpE7PPFJ4/n391OFSE+ePfB6XhKYr42xqQdacaGLoy/MLGcJOB9KJclibB 29yQ1DLoZOq7YUGzImZJ1hjNXdcN4bUgBPPOpNCAUpQuExc321UUpjfAEZalmz/yrEmp QMBCgYswdRECqSZZszyKnB1/zOj6k9++ko8k9sPqN4YI0mQ+MpWE8w90ykG4GHsvonXj +NKnoDJPWaGnOUjnABohDzuGK/EN0y6cm+wAyrcNscAwRna0z/xgPtNqS+mR4HhFrKCd yR/73F6u/b1hWv+BHa6yM7WRf5HOfuotX6pcWtI2uqTJ6KkhqyfixiY4MEVxCLYod6oS Jj2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tsxhBVRZlO9and7DhCBUruAlzXa20bXVaKImjY48c7o=; b=lvyZWXjAltV14DluArSYMSzP3Hv+6tKlyqp/BV7tn2fF5fsZDQCa0fX5zvp8VfjQld 0VnZdUDgVKzuFoyH+IXS95cYTfu/RQYxi/tJahk+SBK1dFYk+3rn1vceEAQNz6Ntfj+p nn9S40KF9scJ0hiOZwImaCEr+sziKQm80pY+QLnWNSxemke+DY8q2vsecZkJKA0yC+ng fNFP5O4s6xSV+mq+ejgHqG6YMan5sywxjLA4cNPvfZ2R9Wj1BjxtgQnLdST5Zm9t7NCJ K6ZcV0HUHiyQ0C25DvPfeEO0tA/Xc5yNNq971uw6BIBfip48TXvyM6lb0nYKhcRArAF5 ctjA== X-Gm-Message-State: AOAM531FT92KSDVYXBIZtjEaqj/v23H3vsN77yWSSQXcbFkSoUamXifh Lh9E2d5y6+H9+dZAABpldvi6MPwh8gGX2YmhpzdPNQ== X-Received: by 2002:a63:dd0e:: with SMTP id t14mr9090412pgg.279.1629320486279; Wed, 18 Aug 2021 14:01:26 -0700 (PDT) MIME-Version: 1.0 References: <20210816060359.1442450-1-ruansy.fnst@fujitsu.com> <20210816060359.1442450-2-ruansy.fnst@fujitsu.com> In-Reply-To: <20210816060359.1442450-2-ruansy.fnst@fujitsu.com> From: Dan Williams Date: Wed, 18 Aug 2021 14:01:15 -0700 Message-ID: Subject: Re: [PATCH v7 1/8] fsdax: Output address in dax_iomap_pfn() and rename it To: Shiyang Ruan Cc: "Darrick J. Wong" , Christoph Hellwig , linux-xfs , david , linux-fsdevel , Linux Kernel Mailing List , Linux NVDIMM , Goldwyn Rodrigues , Al Viro , Matthew Wilcox , Ritesh Harjani Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 15, 2021 at 11:04 PM Shiyang Ruan wrote: > > Add address output in dax_iomap_pfn() in order to perform a memcpy() in > CoW case. Since this function both output address and pfn, rename it to > dax_iomap_direct_access(). > > Signed-off-by: Shiyang Ruan > Reviewed-by: Christoph Hellwig > Reviewed-by: Ritesh Harjani Looks good to me: Reviewed-by: Dan Williams