Received: by 10.213.65.68 with SMTP id h4csp2117072imn; Sun, 8 Apr 2018 20:08:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx48xq+kNvJI5sS+xBrrKZJjzgiP2z4WlYagRIK3Lg1W+EKFcO9DmQJn1JI1d1E4HMC5yo9uR X-Received: by 2002:a17:902:6a10:: with SMTP id m16-v6mr3479621plk.370.1523243284339; Sun, 08 Apr 2018 20:08:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243284; cv=none; d=google.com; s=arc-20160816; b=Zd0NiuzzFDgUc3vqAdIQ+oXITeLpkabZYT6egO0fZhifFlFJ2ZXGhpzTCmoVN9tXeu 4gLKUwN/XCM7jYzoAQb2HeAVdgUA5pNvmsx89Fjh2df2fhU10k4G2uomtIQ31t/b57YB 0VMszXrW/GvcjTJU19L9/mlvuM76MBgxnRCiBIcgVCdyEs4yzSxQyvF6kP4XVRJdRTS2 zbwrb8Z8z3uOWDaMmMIIR86fYZ7LCGHt+lZ8iLJdihnuXPDdfX2pRs9Cmhc2msE5SXzt W0vQOva3aZ2EbRDqwB460ZUin3B3p5HjV8QKaG5gVk4Zu2dliqqPp8CyzqLOiOWMFJZx iSGQ== 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:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=UGlZ5AApQEc1KN1iMjp7g2H2ZMAeIOMsSyfumn4MXnI=; b=p2/4YY9D09+wUHEzHQYM26IQ1/5x/iYSCsbDkOcy75ZAVrr+jtUtFfWPEU9jQPkIc2 ZTm160YPsQhiDoRLkJ3GB03Hc5Y/N7cFuwJExATnN4w9lcRZRE3GLg+XmwFu5MQTDfOW M+iiPAyViklb/Gqo6kge27wGTAczNk3lZCARPhwKaN5ezGanINSQSu93JtOO3bvzAdyi ceYDtQTv1Q4NxuZ94RH/cRlJcPAb67bValUg5R1f4se14p30A0STkVoI0/PMTgqWT7Z2 JROVk+DSD6Gs07D3KS7haDURbuQBIiCEelxa+R91o5BVMjwNL4pUbQIcwqXIgS7t2rFV b5Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=J3EBFwYz; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 94-v6si13736013ple.56.2018.04.08.20.07.27; Sun, 08 Apr 2018 20:08:04 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=J3EBFwYz; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933137AbeDIBnl (ORCPT + 99 others); Sun, 8 Apr 2018 21:43:41 -0400 Received: from mail-by2nam01on0123.outbound.protection.outlook.com ([104.47.34.123]:51296 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932501AbeDIAeo (ORCPT ); Sun, 8 Apr 2018 20:34:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UGlZ5AApQEc1KN1iMjp7g2H2ZMAeIOMsSyfumn4MXnI=; b=J3EBFwYzzpm+Ptcnt3CG6imFy3MNzm1ltb0gmMNh4wtzG4etKfVzusUVQgT6aXKS2ZzX1DzwIuBc/7l5GarO/aCK2+Wy/XMzobmDW87/Xhd7Y6C8e+9Po6RN4DmHmm3XqWKvuCNQB1Ro5V0TiiqEXXx0aBOITpFHsniitL2XcBI= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0806.namprd21.prod.outlook.com (10.167.107.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.3; Mon, 9 Apr 2018 00:34:42 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:34:42 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Tang Junhui , Hua Rui , Jens Axboe , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 282/293] bcache: fix for allocator and register thread race Thread-Topic: [PATCH AUTOSEL for 4.9 282/293] bcache: fix for allocator and register thread race Thread-Index: AQHTz5lrzcruVJepME6qGYws7jeB6Q== Date: Mon, 9 Apr 2018 00:26:36 +0000 Message-ID: <20180409002239.163177-282-alexander.levin@microsoft.com> References: <20180409002239.163177-1-alexander.levin@microsoft.com> In-Reply-To: <20180409002239.163177-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0806;7:P0iaNJVTEJqM3E3AOCzvRIIk/yJ8BdqZ75HF4zVH6GVZjPdta/xHVZvrhn3LRvTansVxpGSxvmMf27HGT+4oRAVzmsz8T2UZazyUTvhA2w34UDs/tzE0mrr9BSCdxfZYLytmSs2yluhYxxnaT7P58P26ekI1tDsZ7QP/F2/7faUp6N0YMq1jKlsWKDOSQp4A+EhHa7u+nl3JANPwGyJPjXKUZO7GL3AJX2xwPuxjkQefw237DsiuChHo8mJqqf3b;20:j0ex3mh+moyzHRmzYdAeLdvRF0GgTiVMRt+eC4zlMWUCeG/vp/2ed6Hynl+q88bDnTLYOF7FKIkwm4t7Fj+L15kIMlEXzWk6MNMm4w9nyvydlnISj9NxGUuvhN3sCPNsjk4FrHisn9yveXrmA4j4YPdPNUMWeIS6Sitk//5x2ro= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: 0eebc17c-73a8-4180-fd92-08d59db1af87 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB0806; x-ms-traffictypediagnostic: DM5PR2101MB0806: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(85827821059158); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(61426038)(61427038)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(6072148)(201708071742011);SRVR:DM5PR2101MB0806;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0806; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39860400002)(376002)(396003)(366004)(39380400002)(199004)(189003)(2906002)(25786009)(2501003)(10290500003)(476003)(11346002)(446003)(97736004)(5250100002)(68736007)(2616005)(102836004)(6506007)(59450400001)(3846002)(3660700001)(486006)(3280700002)(305945005)(6666003)(99286004)(5660300001)(76176011)(1076002)(186003)(26005)(7736002)(6116002)(81156014)(81166006)(86612001)(4326008)(105586002)(10090500001)(2900100001)(54906003)(22452003)(316002)(36756003)(110136005)(107886003)(8676002)(39060400002)(6436002)(478600001)(53936002)(66066001)(6486002)(6512007)(86362001)(14454004)(72206003)(8936002)(106356001)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0806;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: vnb1wQCbYf68xI3nsNx+DpndbXbMZv2G6nxXwin+KQ74C7+f3uVuohMWbQVlVfR+jHoe8fpQuKasxhhtiBz22xGeEUdqu0u8LNE0AjOsvPjWvi6RqSzyvvCJOBFuCPdHwdysElroyQFT2BIfQku0Ux34XmCwIqb70mCGl3YRaigCdsMerDMateBhBBJ/FJh7k3WKtbmuYt4b0z6cqb0+mt5lFazrYh/U2PrwJmuCP7bRoEfsLyZd4hh3IiO06EElLQm0SsPl8+vv6tgjBymxrlgWwa56vA8SjAvSEJ1sUggiZXEhVLSgl932AJiOaEl1k6ium9FL8F94JPvAslvs+HK4goDm1HS0gKPl4Xhe79ONCadTPOqZ1Puv1Op9E5axGR5NIYHNvNny30v1e/MVRJdGHtzaM46/TtmrEu0qs5s= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0eebc17c-73a8-4180-fd92-08d59db1af87 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:26:36.6759 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0806 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogVGFuZyBKdW5odWkgPHRhbmcuanVuaHVpQHp0ZS5jb20uY24+DQoNClsgVXBzdHJlYW0g Y29tbWl0IDY4MjgxMWIzY2UxYTVhNGUyMGQ3MDA5MzlhOTA0MmYwMWRiYzY2YzQgXQ0KDQpBZnRl ciBsb25nIHRpbWUgcnVubmluZyBvZiByYW5kb20gc21hbGwgSU8gd3JpdGluZywNCkkgcmVib290 IHRoZSBtYWNoaW5lLCBhbmQgYWZ0ZXIgdGhlIG1hY2hpbmUgcG93ZXIgb24sDQpJIGZvdW5kIGJj YWNoZSBnb3Qgc3R1Y2ssIHRoZSBzdGFjayBpczoNCltyb290QGNlcGgxNTMgfl0jIGNhdCAvcHJv Yy8yNTEwL3Rhc2svKi9zdGFjaw0KWzxmZmZmZmZmZmEwNmIyNDU1Pl0gY2xvc3VyZV9zeW5jKzB4 MjUvMHg5MCBbYmNhY2hlXQ0KWzxmZmZmZmZmZmEwNmI2YmU4Pl0gYmNoX2pvdXJuYWwrMHgxMTgv MHgyYjAgW2JjYWNoZV0NCls8ZmZmZmZmZmZhMDZiNmRjNz5dIGJjaF9qb3VybmFsX21ldGErMHg0 Ny8weDcwIFtiY2FjaGVdDQpbPGZmZmZmZmZmYTA2YmU4Zjc+XSBiY2hfcHJpb193cml0ZSsweDIz Ny8weDM0MCBbYmNhY2hlXQ0KWzxmZmZmZmZmZmEwNmE4MDE4Pl0gYmNoX2FsbG9jYXRvcl90aHJl YWQrMHgzYzgvMHgzZDAgW2JjYWNoZV0NCls8ZmZmZmZmZmY4MTBhNjMxZj5dIGt0aHJlYWQrMHhj Zi8weGUwDQpbPGZmZmZmZmZmODE2NGMzMTg+XSByZXRfZnJvbV9mb3JrKzB4NTgvMHg5MA0KWzxm ZmZmZmZmZmZmZmZmZmZm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