Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4365676pxf; Tue, 23 Mar 2021 08:56:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyhWXnojFcxABKr8B4NiM9kCLYAS3kMToSn+XNEw57VbzxnXpmh6fXP+f2Dr7MBm9DJFUa X-Received: by 2002:a17:906:cf90:: with SMTP id um16mr5648150ejb.389.1616514995980; Tue, 23 Mar 2021 08:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616514995; cv=none; d=google.com; s=arc-20160816; b=ortIX0cnFpvxpw5KJelvaMQ41A2VpI0WWJGvDCNJ9VmWpPRYANs9CnK+kjxU1D7zPV w4/AE1u6XZwTrveEwOEfOdHmXs/cFL/Nhiji2E9rRRpgsvsPLFSAW5WlxZcyjJ6A1wQI V6PLL1G5oROxaITe4G4ZxnUP7iJ2yJUK2PB19XqfyNuBp5/Y74PJ+hd4LT5hXx8oaMyJ HWHx7pzg1GafD13lcLkNZQmihieYegCmpIdVbIHNhNYxAt6XtaqrdBQp51Tvmpb+I5wy uiW8/CN6HkiWRqRZbSv6f6vv3snx6e1hAM9/uW+JikMHk0uE23jskWad0V3K/jeO6d9E hIDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=h6hBPFYCR+FBgbg4wITQFac+o5L7qJzqrEtyX1BNYFg=; b=TUg6qQpvx2sZLGh+HNmff/c3S6X47vO6PK1RMobqoxwGAr1y2DpLCUcfVaPjYdvHvR aoZO/sbsPqviyDG0ckvbzs7HYqz1ldPs/bKq1WBYSK8NMFtEiGd/zP3/jtSL+Ppmc0ST FYfw5nKAJpW1zmFtfyaWQH2q4nUO8LkienyYl+8zWMKoi7NAmMNkx/9mRMFATTv7BZKR 4hoCiuc4BDLKYgZXMyV9So0TNQyJOUG2Kj3M7g70PotfFUg6RHUnFNubjVPwh12lBFpe lNvNebCkiy3z2vVipU++xa6wj2KNUaJEgPkTG4Mlg0NynBHy63vIksaW/9RZHlD3hKk5 ZqQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="Mr/2AlA0"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u19si14115653edo.410.2021.03.23.08.56.10; Tue, 23 Mar 2021 08:56:35 -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=@ibm.com header.s=pp1 header.b="Mr/2AlA0"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232920AbhCWPzL (ORCPT + 99 others); Tue, 23 Mar 2021 11:55:11 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:12140 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232888AbhCWPyo (ORCPT ); Tue, 23 Mar 2021 11:54:44 -0400 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12NFoTus175024; Tue, 23 Mar 2021 11:54:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=h6hBPFYCR+FBgbg4wITQFac+o5L7qJzqrEtyX1BNYFg=; b=Mr/2AlA0lcFNJcPQ02PtEP2uPlVx7EwM91gg57lqcnxEAGvBLkVBDXjvyTDq2SENbrbn w7kY9ZFXZReS/JN/Z6XN0t+KC48eGhsj+G7RqqOhDNPF3uD6x7f9FJlLWTIbO9HOC52r r2K9JYT1MbDv6JURbJYhRXWl62w0ZGgEcNAxLfX+yzD+jihHG8BzkX4fGFmgQX6Rfvy+ DVwaMvAcdQsbFabbiuQaOTJxxRXGTEscL1GqotqVTsvB/VnBdKQLk7+4K1zmUK/RNSSm 3KUtn2JuwsS43TOAAdlY8P/eY8T1+l3oEQBAyXI9PmESD7UrT+9hxxaPQoJBKMlg6Dvi 3g== Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 37fkaxg6t6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Mar 2021 11:54:27 -0400 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 12NFlK4o029025; Tue, 23 Mar 2021 15:54:25 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma04fra.de.ibm.com with ESMTP id 37d9by9ty1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Mar 2021 15:54:24 +0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 12NFs43l34275824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Mar 2021 15:54:04 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B11E142042; Tue, 23 Mar 2021 15:54:22 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4492642045; Tue, 23 Mar 2021 15:54:20 +0000 (GMT) Received: from [9.199.34.65] (unknown [9.199.34.65]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 23 Mar 2021 15:54:20 +0000 (GMT) Subject: Re: [PATCH v3 03/10] fsdax: Output address in dax_iomap_pfn() and rename it To: Shiyang Ruan , linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-nvdimm@lists.01.org, linux-fsdevel@vger.kernel.org Cc: darrick.wong@oracle.com, dan.j.williams@intel.com, willy@infradead.org, jack@suse.cz, viro@zeniv.linux.org.uk, linux-btrfs@vger.kernel.org, ocfs2-devel@oss.oracle.com, david@fromorbit.com, hch@lst.de, rgoldwyn@suse.de References: <20210319015237.993880-1-ruansy.fnst@fujitsu.com> <20210319015237.993880-4-ruansy.fnst@fujitsu.com> From: Ritesh Harjani Message-ID: <9cf456a0-e2ce-18b2-100a-80604862831b@linux.ibm.com> Date: Tue, 23 Mar 2021 21:24:19 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210319015237.993880-4-ruansy.fnst@fujitsu.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-03-23_07:2021-03-22,2021-03-23 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 mlxscore=0 impostorscore=0 phishscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 spamscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103230114 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/19/21 7:22 AM, 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 > --- > fs/dax.c | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > Like the naming convention. It is consistent with dax_direct_access() function. Changes looks good to me. Feel free to add. Reviewed-by: Ritesh Harjani