Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1030693pxb; Thu, 4 Mar 2021 01:07:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyF4YdYqjmYb+W3FeXTChuKmL4nGPeUD4e5sXbsCVPC1dEB7ZExZ9FLUfuPcOKso7IAk3nI X-Received: by 2002:a17:906:600f:: with SMTP id o15mr3245255ejj.76.1614848842825; Thu, 04 Mar 2021 01:07:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614848842; cv=pass; d=google.com; s=arc-20160816; b=GLBmWS5pbfboXz2eOgwGWiWA9E6G8/Aj1BGNZzYHxnin6vXWgOrhyu6uC0N7H+cni9 kqMSqLeAyOcYVx+1SU664XQRshQG6TldJ7duYKfPCj63fOQ9LBxfBlfEgY0hOp+9gIGq GML1nA4uXBXV7KB2KB99pbl0zYxbb0hz3fJUvJX5OCFfgq1/85JjHnIGpe2uBQVDF8sp N/FdRD8X2Q0BcdIZaDrtA/y/DFde//eXnBre+8PT/TsZkxs6BOQwgrveBi+hjV78o629 ng26zu3eddIkdtu7+esoW0/7TaU6icNnKHz53fbHBpY7SWDqF0IXh/6+pxasqWxNZZ7L 4wuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :ironport-sdr; bh=rhiXeoGfqZkbUgg7Vnsz3v5ES4Eolr6prC3jJBXv8xE=; b=vT968s/Qa7hVNAXmLQcQ7mfO8aO82tlysFhWDD9NgIjb9SywvYcsnjCG7nrhLSNnfd GCdqqig0OwCW8MRFUmLCmAc9GI5THszGa0A5VmthoV/ibl5sb1BtZZgNIBvxM0EJUoiw AQ/TOjwpImtIPS9xl/7vVhjVmAehRKq57cprxtLYsC/Hw5grJKgxItZQu+myWULDTq3L Ke++kwCvkrwYHfmDSBTa7hKSQJeMKXMdV/ElRVnG7KTwdOKWABf6DMbBCoFVFQH9f7RR i5KYrAQouRMJ9Xbz3mbUBNWAkaYW1x4dCTJYsVx6DqoAcVV+y9ZW1EzbQIdPZLkZyWtN ezSw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector2-fujitsu-onmicrosoft-com header.b=HVaKdnTU; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.com); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si17461401edp.562.2021.03.04.01.07.00; Thu, 04 Mar 2021 01:07:22 -0800 (PST) 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=@fujitsu.onmicrosoft.com header.s=selector2-fujitsu-onmicrosoft-com header.b=HVaKdnTU; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.com); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376617AbhCCNor (ORCPT + 99 others); Wed, 3 Mar 2021 08:44:47 -0500 Received: from esa12.fujitsucc.c3s2.iphmx.com ([216.71.156.125]:9442 "EHLO esa12.fujitsucc.c3s2.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1582422AbhCCKUw (ORCPT ); Wed, 3 Mar 2021 05:20:52 -0500 IronPort-SDR: N2vBnOhHF00BN3sFk68swl1Ie6TQfYav2wTU6rU0pjuv+HuoOlJtJ/7YLkiyxJvV81ERGJ6N2Q kQlD7uDUlJf+GG0gojH9hIqX1PhTFWpRM4IIv5Iz6y8B5eTFl6lhVQvPZQYdgvgt9+OKynT+NO Av9mFJoy3Uy+Bk87AncNHz9AOKZlCbpn7DgvU/Esp7ujdoFb6P+IFEIA9Rr1++fWpOA74dU/JF uej+6imPRd37NHp6J4mYu6JxReE4NcEn/ulold5IRGiKhW2R3mutsrqlB14SEqjAnMgn3XxRjL ISA= X-IronPort-AV: E=McAfee;i="6000,8403,9911"; a="27215766" X-IronPort-AV: E=Sophos;i="5.81,219,1610377200"; d="scan'208";a="27215766" Received: from mail-ty1jpn01lp2051.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([104.47.93.51]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2021 18:41:57 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hebJBv4S4kTB7aAdX/6Z2K2qWlgMuJbSobmkpv1H7HimL6k0jTLvM9hW24+p1HM0atKWiKYS71NXIaX22XbY5snVtO6BNT0jey2bTAcbQHhYD+vRoW8dDmUKC4elYJTIcxwD80ti13dcD3X0wn6yFeiPwll+jatS2RhX3IN/r/2MyBa8Eq9HOvMun+bT/4QUMX1Jf2Rw1exfcfpVgH0pEmE/qOJ+6UhxfM0RqkHDANoo8rsYEDW0bTEI5NZokLgbS1JvURjI/D85Ou6r5qjdevbLsMLczTVXpvfKJBlzYg0+T94JpPehWarwDPtxba1yTtPvZ7ecCTxhwZs2P8r6Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rhiXeoGfqZkbUgg7Vnsz3v5ES4Eolr6prC3jJBXv8xE=; b=Ro896AlKR3Vbh8bBPE7xGiztOpXW0hZhMyOsEu8jQRO0+PVuKiT9j27YbpK1YO2uyzmoprqaby8opi02wiGOkRkvStY17cddR9eF45Rkl3aSpgETKH+/DNunjscSEjcgp1k6oMY9egweR7lg+srvTKEYoYteJplhmc8u2PniKqlpbeObKzmgIEF+67k2vucyn+MVMaVoU4C6zBDaFmgcW62WQBpc0wqbUGXgN3EZs3rre9jZPyXxZWUlH1XNwewHhwmtW+ro48qJtKHuw69yiuGK64HvMfuG/SKcAf1yi83fn6qYVoy6U2/lw7YEYDoRSnd2mfTfwTshFF+1xEoxtA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujitsu.onmicrosoft.com; s=selector2-fujitsu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rhiXeoGfqZkbUgg7Vnsz3v5ES4Eolr6prC3jJBXv8xE=; b=HVaKdnTUwwTq59DRnXCgktErLf32H59bIxNHOI6NlUSg3S0jj68NUoIai9rQB7vxuvU6QXTGxshzCTDQUz2Eu52MRMswPrmYWXut0ZpgaD3qdBT21FrU4vQoDf6tXa/MIkIEem0k6szcft9qENbCgzFC0Bm4qCLcURDzpj4WY7g= Received: from OSBPR01MB2920.jpnprd01.prod.outlook.com (2603:1096:604:18::16) by OSAPR01MB3746.jpnprd01.prod.outlook.com (2603:1096:604:5c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.20; Wed, 3 Mar 2021 09:41:54 +0000 Received: from OSBPR01MB2920.jpnprd01.prod.outlook.com ([fe80::7de7:2ce8:ffc0:d098]) by OSBPR01MB2920.jpnprd01.prod.outlook.com ([fe80::7de7:2ce8:ffc0:d098%7]) with mapi id 15.20.3890.028; Wed, 3 Mar 2021 09:41:54 +0000 From: "ruansy.fnst@fujitsu.com" To: Christoph Hellwig CC: "linux-kernel@vger.kernel.org" , "linux-xfs@vger.kernel.org" , "linux-nvdimm@lists.01.org" , "linux-fsdevel@vger.kernel.org" , "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" , "rgoldwyn@suse.de" , Goldwyn Rodrigues Subject: Re: [PATCH v2 05/10] fsdax: Replace mmap entry in case of CoW Thread-Topic: [PATCH v2 05/10] fsdax: Replace mmap entry in case of CoW Thread-Index: AQHXC9VOcVwwceNu3UeOW0JIEFKrYKpyCCMAgAAAik4= Date: Wed, 3 Mar 2021 09:41:54 +0000 Message-ID: References: <20210226002030.653855-1-ruansy.fnst@fujitsu.com> <20210226002030.653855-6-ruansy.fnst@fujitsu.com>,<20210303093052.GE12784@lst.de> In-Reply-To: <20210303093052.GE12784@lst.de> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lst.de; dkim=none (message not signed) header.d=none;lst.de; dmarc=none action=none header.from=fujitsu.com; x-originating-ip: [49.74.161.241] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f81d1847-7391-4703-c00b-08d8de289455 x-ms-traffictypediagnostic: OSAPR01MB3746: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1284; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZrZi0rarAs5czYATJCUwpbjcAq8nHTZaG4gTGN0i9CqGYqQhgqNJTwcUokRyLh49lNF21Hfewocon3zDzUlSTolFdoYEeNyxGqFajj7d9Q4RAdhrLtJ3g5HuruzuWsBVWe9LokcpUy6eummNAbtt1du5dkhfl3+bXqHPPPTCcJDreOx+Zamwg9o20SaFF1KjbIJw7OMkcauR07UFtgerj8dLCi007dgFJavmp/ah9FZTcwgsrTYJ7v4vjSzdZFh7fv3s3m80DcHWEfvyAxa8ABYozKyyCHRITB7GroOuOO64Q23MbJkHn7yTs2n5PnDnfZLzjJ09YHv1EpkFiqRARJp9FwcaSm3WbI48duu8I3EtG+mJvB1OAfe1Ke5fK5/JkLFWHiodkMld3DRfPnmaG1h6hQLdWCA7S2O5ImZtcU8JOKCQxGfygKgWGsrfDvmzO6r7crdVz04X1vcyuUgCPkAOe5AZTDwnpeHBrJHDG8FVowU0AVsnO5s4KAC9Tuw9j/u7MdUg3rEOpA6Wdsbx2w== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OSBPR01MB2920.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(136003)(39860400002)(366004)(396003)(376002)(91956017)(6506007)(7416002)(86362001)(4744005)(55016002)(8676002)(6916009)(316002)(83380400001)(66446008)(478600001)(33656002)(9686003)(52536014)(85182001)(186003)(66476007)(71200400001)(8936002)(7696005)(5660300002)(2906002)(66556008)(66946007)(4326008)(26005)(64756008)(54906003)(76116006);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?gb2312?B?VFBCdVhaVE1Ib0RaLzJCNmhmbWo2U3RwamRlWE9NeVNHWTIvdlVPQWtHTHp6?= =?gb2312?B?Ly9YNnBhdXlVYmYzVWtFNnhLT1ZHQXNWbGRWV0V6Z2RhS0RPdncrelpDUzk1?= =?gb2312?B?MDJPQ1U3UDdjbUt4VjFCUHR0RU1Xb3ZKalAvOU9YRnBCT1RvemZmVUFuMkJ0?= =?gb2312?B?SWxBY3dUZS9MczlHYzJKampLeTVRVDBPWTFrbmVtRWZzc01OOHhMOTN4aE5m?= =?gb2312?B?Mll6ZHhIb2VaMUJ6cXJxVktEL3BhdmUzZWZFQ2pvRjNaNG9mS3N5cUpybXFN?= =?gb2312?B?UlZTOFg3VDh2Q2k2REpSYnM1Q1l0WUYycGFBQWR2U2dpb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llYMWxsL2JPa1Fpb3piNjFJRlZOUDFmRnVh?= =?gb2312?B?R1hJTGFHRzAvZmFYc0hmRDkwc05LYk9OTFMzRWVQemowdWRoY1NtN1g5S0dK?= =?gb2312?B?bnpLRWxKaXIrWmtLRS95cjcrNklsbkhXQ3NjMXA2ajM1LzdEa09OR2VKVVJ3?= =?gb2312?B?SXNSS1VnUEJlT0RhdVdMVUdFOEJIdElGZy9RY1E0QXdXME9PYjY3cWZGTG82?= =?gb2312?B?YnlOcGhha2x0WXVFLzRkeERaM2d5OXdUZ1hnQzNNMDNIZk9rNnBLUXJnWDds?= =?gb2312?B?RzYzMEVNNUpTb2RkWE8rVXZGWGhCR2FubTdzaHMvanZzTzRxb0ZLK2ducXYv?= =?gb2312?B?SGZRT2hoMmd0T1AzMnAzc29oVERVWjluTnc4Q3QxSGxVbFNESFZpallHVDl5?= =?gb2312?B?dXpJeXFiWTJnakRUc0ZpZzFkanJmRzMrRjRRRExlZmpMZlFqU1ZRSndaWjZG?= =?gb2312?B?TFZCS25LV01uc0NYSXI3aWxJNnhQQnJJa3lNbnVzZm1zZmdyMjBGS3NMdXFC?= =?gb2312?Q?eqOGzsT3S+O0hFv4Zw=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: OSBPR01MB2920.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f81d1847-7391-4703-c00b-08d8de289455 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2021 09:41:54.0501 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: OguGaSnpr7LS1ZjNETdBtYWQ9K7E06MOoFSTSpnxtUKH81Fw0bC+ZgmUjaQqjG6Hns/zqCFoIDilXHDC7fBYiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSAPR01MB3746 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cj4gPgo+ID4gICAgICAgaWYgKGRpcnR5KQo+ID4gICAgICAgICAgICAgICBfX21hcmtfaW5vZGVf ZGlydHkobWFwcGluZy0+aG9zdCwgSV9ESVJUWV9QQUdFUyk7Cj4gCj4gSSBzdGlsbCB0aGluayB0 aGUgX19tYXJrX2lub2RlX2RpcnR5IHNob3VsZCBqdXN0IGJlIG1vdmVkIGludG8gdGhlIG9uZQo+ IGNhbGxlciB0aGF0IG5lZWRzIGl0LgoKSSBmb3VuZCB0aGF0IHRoZSBkaXJ0eSBmbGFnIHdpbGwg YmUgdXNlZCBpbiB0aGUgbmV4dCBmZXcgbGluZXMsIHNvIEkga2VlcAp0aGlzIGZ1bmN0aW9uIGlu c2lkZS4gSWYgSSBtb3ZlIGl0IG91dHNpZGUsIHRoZSBkcml0eSBmbGFnIHNob3VsZCBiZSBwYXNz ZWQKaW4gYXMgd2VsbC4gCgpAQCAtNzc0LDYgKzc4MCw5IEBAIHN0YXRpYyB2b2lkICpkYXhfaW5z ZXJ0X2VudHJ5KHN0cnVjdCB4YV9zdGF0ZSAqeGFzLAogICAgICAgICBpZiAoZGlydHkpCiAgICAg ICAgICAgICAgICAgeGFzX3NldF9tYXJrKHhhcywgUEFHRUNBQ0hFX1RBR19ESVJUWSk7CiAKKyAg ICAgICBpZiAoY293KQorICAgICAgICAgICAgICAgeGFzX3NldF9tYXJrKHhhcywgUEFHRUNBQ0hF X1RBR19UT1dSSVRFKTsKKwogICAgICAgICB4YXNfdW5sb2NrX2lycSh4YXMpOwogICAgICAgICBy ZXR1cm4gZW50cnk7Cn0KCgpTbywgbWF5IEkgYXNrIHdoYXQncyB5b3VyIHB1cnBvc2UgZm9yIGRv aW5nIGluIHRoYXQgd2F5PwoKLS0KVGhhbmtzLApSdWFuIFNoaXlhbmcu