Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6559275imm; Mon, 27 Aug 2018 19:03:58 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaOMICs1qHzOgNTG6Gno5zKzhzoZd7hGuoXt3cxHzNPWLKU9aLSc++X+QmMzNXAeeRJNGEj X-Received: by 2002:a63:28c7:: with SMTP id o190-v6mr14478505pgo.84.1535421838475; Mon, 27 Aug 2018 19:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421838; cv=none; d=google.com; s=arc-20160816; b=V3RhTAnLg7GQLI7nUEnhTORewDU+6SqP1EX7ldt/ncKztb61Ftw9UUzXo/jJ33QR2W FiA732GDgoMg/8l/1drPun95u9suiCTUoRrgkFv106SfVK0I256IriBaitIJmBBMpGuc 9OiyPTfvvu6rThd3hE+OJQyf4DQh8OC5YfKUYxiMHPJNywQggaKz79NBXD86vuzQSMja YeNietN0+gExsgFrtGA928aCeMMlagfEbiy7Nz+sP/l6fszCWLAnh1RCod5zTnAaYykS Xp28ClWsW7KeyrkwUPUfCBbi1qSjGT0BVZ2xjhliHVBwVsq8P/re52TyPFBSzZgEgD/a 5jng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=RTnwHa3Ifn0iweZIaLAdJhRXJcRpHIR9D6B1aFyWxco=; b=pAHNjsfDuuWvPl7W2iD0B/eaPVqgMCoB/V94fEPRH0xoic+do+/L2FbCjJBy+pfUSs 56QLDdB+1Fu8vDSdFqxh0FCHprYctgiWuC3IfBa9MkO9yTRi/Qcup3nWt3uNCqIM7h/1 FsFoLMg96R5FdTNX5e2wvRVCsDxoyr38CbelIE7CbjqHVsWRsoyS9BfRp1rUEy+HM3Yh zVeed25zNinKX2l5x3Slkl/SjYnUBHG02fG952YvvcqRkON6uqlXxPgePAGeY2GaY//J pXxlbC7gwvOxgeb/omqSFZke1xbWLz6VQvmFpq8EdBYaBtHhJsXrp7vaTUJfq4td2h9A qO7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11-v6si893331pgh.564.2018.08.27.19.03.43; Mon, 27 Aug 2018 19:03:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726607AbeH1Fvz (ORCPT + 99 others); Tue, 28 Aug 2018 01:51:55 -0400 Received: from mail-oln040092255031.outbound.protection.outlook.com ([40.92.255.31]:20906 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725796AbeH1Fvz (ORCPT ); Tue, 28 Aug 2018 01:51:55 -0400 Received: from SG2APC01FT015.eop-APC01.prod.protection.outlook.com (10.152.250.52) by SG2APC01HT099.eop-APC01.prod.protection.outlook.com (10.152.251.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.1101.10; Tue, 28 Aug 2018 02:00:49 +0000 Received: from HK0PR06MB2561.apcprd06.prod.outlook.com (10.152.250.56) by SG2APC01FT015.mail.protection.outlook.com (10.152.250.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.1101.10 via Frontend Transport; Tue, 28 Aug 2018 02:00:49 +0000 Received: from HK0PR06MB2561.apcprd06.prod.outlook.com ([fe80::5902:da9:e907:fe7d]) by HK0PR06MB2561.apcprd06.prod.outlook.com ([fe80::5902:da9:e907:fe7d%5]) with mapi id 15.20.1080.015; Tue, 28 Aug 2018 02:00:49 +0000 From: Changwei Ge To: Larry Chen , "mfasheh@suse.com" , "jlbec@evilplan.org" CC: "linux-kernel@vger.kernel.org" , "ocfs2-devel@oss.oracle.com" Subject: Re: [Ocfs2-devel] [PATCH] fix dead lock caused by ocfs2_defrag_extent Thread-Topic: [Ocfs2-devel] [PATCH] fix dead lock caused by ocfs2_defrag_extent Thread-Index: AQHUPdxasF8xPWW9IUOKXtftZyBTYaTUaimA Date: Tue, 28 Aug 2018 02:00:49 +0000 Message-ID: References: <20180827080121.31145-1-lchen@suse.com> In-Reply-To: <20180827080121.31145-1-lchen@suse.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SG2PR06CA0154.apcprd06.prod.outlook.com (2603:1096:1:1f::32) To HK0PR06MB2561.apcprd06.prod.outlook.com (2603:1096:203:6f::10) x-incomingtopheadermarker: OriginalChecksum:9962FB7E031E912AAEC30418652644DD82E34765A294990D06B9B4EB25DF644F;UpperCasedChecksum:2B339CEE67D86330D6FE5F6D923F17AF4B3B8906D8EF08CAF3D1D4D5DFEB79A4;SizeAsReceived:7611;Count:50 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [eDp6XmJiG3iYLK6ReRbOKCgg2r1WPGKr3QR0caOavDY=] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SG2APC01HT099;6:ZPXTKzPQXBJNBzeRA0u45wSeyUykqR6WrF7D9IL01SPzRcgUUYyKUQotpO9RHNORFkvCbifSFfs65F3LPOOrvVffUffI2dwj81jsEI/0QNyF9vsGR7oSRdCPPvCB9ZsckY0nIxZgaIb3QoJC76Z6FkTawIPHOTcp3UTt7PBWJ+DrnnSuEHxHsaqdbxRaN4V5w0XLNaMp9atoBt560Eam+Mrr5M7CoQm8yLCQmpYvlctNyzZXwdZnFb0xvpUHdCEh/E0TGIBEw+bRmVYfWFO9mY9FYElJj92hGZkf+iEoEUEIIt3XfrNnbCQSu/AvdMipYn/yn5CoBanuJtSd3Zp6TynXAyFZxD0NTbbfcXt2ZUl7bDZz7p1G4iHZfzU1vxNvJsX/IywDW3yQEjfDY6lljSbZAKJC/Zk6SdSfEMieSA7gexMcLxHYuoI/40rDEtgmqQ2twTrrG4NE/3pGIjJSdA==;5:xAL5J1bXPCJDBsV6Gerw7n69/VnRhtMa4qOs6gIIWVRcVTd7t44zED+aa4HRZBCDZNgGL5GReet628nBTJuVCGpdzTuPDAuxVDb5rty7ZNNLIHbIQM1nPj5OjT4seXz82QtBf46pIy1pazD6JmjiEmA0XhBAnIwfXpJ66nyaeac=;7:ZH31Lb5ohLnVLI69apdi6sgKNQV4Qnb4GKA9EEM4RDC0N1QajILByVSn50ZesJ4AmyM/h1qfHbP0Yuwwp2GevNpr/Ceo2McglM92wdXHhWYSXJ3CHNTQ2ABCu/Rv4v8I6Bvmg2yE+ir1X5p8LCVTOM4gZT4Al63AaQ0aH+xvECQMdtTJJXde1MlrVlQC1odQ5y/3XkdEUKC+VrrQW14/VWJp331JHJhINtrVogmchTuc+aM0mBOiZ6x2O8AS6Ypv x-incomingheadercount: 50 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101475)(1601125500)(1701031045);SRVR:SG2APC01HT099; x-ms-traffictypediagnostic: SG2APC01HT099: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(4566010)(82015058);SRVR:SG2APC01HT099;BCL:0;PCL:0;RULEID:;SRVR:SG2APC01HT099; x-forefront-prvs: 077884B8B5 x-forefront-antispam-report: SFV:NSPM;SFS:(7070007)(189003)(199004)(81156014)(476003)(106356001)(110136005)(105586002)(6246003)(25786009)(74482002)(4326008)(54906003)(14454004)(8936002)(2501003)(15760500003)(229853002)(104016004)(81612004)(97736004)(99286004)(6436002)(7696005)(33656002)(76176011)(9686003)(14444005)(256004)(53546011)(6506007)(102836004)(386003)(56003)(55016002)(11346002)(82202002)(2900100001)(2201001)(575784001)(446003)(86362001)(68736007)(486006)(5660300001)(26005)(74316002)(305945005)(5250100002)(8676002)(6346003);DIR:OUT;SFP:1901;SCL:1;SRVR:SG2APC01HT099;H:HK0PR06MB2561.apcprd06.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: live.cn does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=gechangwei@live.cn; x-microsoft-antispam-message-info: cnbSqkntkxNfe01ClPXRF8VmbSpEVKkBKsqATOuND6dKEUqzhe2ciNefJF5UxqYu7kC4LUxb9gz1EdanGhVpgKZVnh71Teb2uo+YgzLMsNiBWVrzHde4EMzmd4xRPDSRSw2EFSwk6G7VSMt5o+l0AK9oibiA4yNLXiWagYdlY4NvxdUgi8kdMOWpcrbGz9lVburO7xLT/U4o/qXMvWDCLODl7CzTCuqzlRPBBo382ug= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-Network-Message-Id: 21a48b16-5b40-4570-745c-08d60c8a136a X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: d4d70346-2c10-4f39-8c00-e767963926d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2018 02:00:49.5981 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT099 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTGFycnksDQoNCkknZCBsaWtlIHRvIHByb3Bvc2UgYW5vdGhlciB3YXkgdG8gZml4IHRoaXMg aXNzdWUsIHdoaWNoIG1pZ2h0IGJlIGVhc2llci4NCkFjdHVhbGx5LCBvY2ZzMl9yZXNlcnZlX2Ns dXN0ZXJzKCkgaW5zaWRlIHdpbGwgZmx1c2ggdHJ1bmNhdGUgbG9nIGlmIA0KdGhlcmUgaXMgbm8g ZW5vdWdoIGNsdXN0ZXJzIGxlZnQuDQpTbyBob3cgYWJvdXQganVzdCByZW1vdmUgX19vY2ZzMl9m bHVzaF90cnVuY2F0ZV9sb2coKSBpbiANCm9jZnMyX2RlZnJhZ19leHRlbnQoKT8NCg0KVGhhbmtz LA0KQ2hhbmd3ZWkNCg0KDQpPbiAyMDE4LzgvMjcgMTY6MDEsIExhcnJ5IENoZW4gd3JvdGU6DQo+ IG9jZnMyX2RlZnJhZ19leHRlbnQgbWF5IGZhbGwgaW50byBkZWFkIGxvY2suDQo+DQo+IG9jZnMy X2lvY3RsX21vdmVfZXh0ZW50cw0KPiAgICBvY2ZzMl9pb2N0bF9tb3ZlX2V4dGVudHMJDQo+ICAg ICAgb2NmczJfbW92ZV9leHRlbnRzDQo+ICAgICAgICBvY2ZzMl9kZWZyYWdfZXh0ZW50DQo+ICAg ICAgICAgIG9jZnMyX2xvY2tfYWxsb2NhdG9yc19tb3ZlX2V4dGVudHMNCj4NCj4gICAgICAgICAg ICBvY2ZzMl9yZXNlcnZlX2NsdXN0ZXJzDQo+ICAgICAgICAgICAgICBpbm9kZV9sb2NrIEdMT0JB TF9CSVRNQVBfU1lTVEVNX0lOT0RFDQo+DQo+IAkgIF9fb2NmczJfZmx1c2hfdHJ1bmNhdGVfbG9n DQo+ICAgICAgICAgICAgICBpbm9kZV9sb2NrIEdMT0JBTF9CSVRNQ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