Received: by 10.213.65.68 with SMTP id h4csp2115901imn; Sun, 8 Apr 2018 20:06:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx48HdUg+/WCqlJKuiXytNZKObYxH0fHeZC2CPjkHGh2eoyhryFtzC+mjW4o5b18mKlS2mmK6 X-Received: by 10.99.165.22 with SMTP id n22mr23680652pgf.53.1523243200710; Sun, 08 Apr 2018 20:06:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243200; cv=none; d=google.com; s=arc-20160816; b=W1YnMvotqCqz89dbGD/H3ZOmQ0O/MFCOIkSAAkdRuLbOib7dGn5G0TeiR5sxF458IX CSvJLq4e9ICqB5yvnasu8L73kA1xglVd7QZAj08sKi6jCRbG7nt2Ambxn02WkqYwsf/I NES6yS4r1pKiEikkPoSIEv24NBEefA1VCqdOprKfpeqsrZNfl7h2RMRHn6qvnuXfDqWE 8DSFCEVdI/7iQz7AksVWf/ugOj2Gts/efSeFzd0bfZI7p5Xu6wDXI9cOc1pRpgxcjZFA MFVLY2tiP8VdqgtVSnyC6WNPnhCn12nZ9RAHmFGUe5Fk+xmSpetfsfHUX498oz2jntxC NOwg== 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=dmCJG3hR/zxZ9EBVWyoOTEDz4JosewsLLiFyta1uIxw=; b=bx7N0FmpOpIOVNoVAC5uXgi7gn+S1jjSvVO22pHwAz+mXBlPEGCL33cV/tqU0u/hHh BIS/PBCV87rLT8RJoB41Iwa8eQa0SlIlh+leM7A0RHqFX13SSUJp99SqE8EYk4/G7qTC 4OgdvbUwaJIIohLH84DU9gHcDyeImPk8AfFctd9kD/gK3IHlGLR1U2Yd03T1XylYlWnj Pp0ohp/iu+AkXnIx2zSWKsEASZJOd151c42lSjRcxZYYnEy7RyyK8UxzMYj4U3yoFe1b qFnxlKS5iwdjQmKFPaN3Waqo8TZnzCL5F0b34ewVcAnfEtXIP8levIgATmHf8vrcHUrz HECA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=FtL2Q2Se; 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 p20-v6si13889151plo.284.2018.04.08.20.06.04; Sun, 08 Apr 2018 20:06:40 -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=FtL2Q2Se; 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 S1755224AbeDIBGH (ORCPT + 99 others); Sun, 8 Apr 2018 21:06:07 -0400 Received: from mail-co1nam03on0104.outbound.protection.outlook.com ([104.47.40.104]:37663 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933096AbeDIAjY (ORCPT ); Sun, 8 Apr 2018 20:39:24 -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=dmCJG3hR/zxZ9EBVWyoOTEDz4JosewsLLiFyta1uIxw=; b=FtL2Q2Se28ahqEpf7tZS/e1eA7mUWp1lRPDlF8fmUrW3bas+oZNs+PHj92X25hTbWD2sVHipz4JgdG4sEy9amijt4Wm+EWyptIg9qULSUWRp3mKfoDd43ATV+rZ4ZNFSU+DSlPz8FpXj0d1aoOxYVb/cD+nfEJ5zlALysWa6CcU= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1125.namprd21.prod.outlook.com (52.132.130.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.0; Mon, 9 Apr 2018 00:39:20 +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:39:20 +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.4 156/162] bcache: fix for allocator and register thread race Thread-Topic: [PATCH AUTOSEL for 4.4 156/162] bcache: fix for allocator and register thread race Thread-Index: AQHTz5nfZEy0VmxgCkOMm7s7jUF9TA== Date: Mon, 9 Apr 2018 00:29:52 +0000 Message-ID: <20180409002738.163941-156-alexander.levin@microsoft.com> References: <20180409002738.163941-1-alexander.levin@microsoft.com> In-Reply-To: <20180409002738.163941-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;DM5PR2101MB1125;7:+ShSEjuA98hUmyZK3AD87tgIRX8RZOU+vvrRLEMsZBwdngtg3F9ZLCCbPWjcDvNk5dTebI6aiJoflaYOpScSn4g/OkpFfIhdWuWPHy8Qvvxw/msKigv3SeVKB6BMPZ2IMbTS5cgRkO4XYwjaSO/6TiFIv/7otvN5u+LyL6dA+C+9tFfhD1CNp02u658u9/uAuFwC3tZtExT9sGBlNAyLU6FBNIHeY1kwE7K17yY8ybT8YRkZ/ItDLcrhaOl9g/2m;20:xKjPFswpglOJiiW6OR0p0sMc2hPOzS8Y67cidpHXUj2xBTZQpS91sTnl66IipQB7M2ao19OUsgkTmIboourYDG2ebAczT2KlBxWeY27gKiEu7sVecRCPDDuu4j2jYuWBxYm6jMCjRAIBEpI7R1oP0GnA/s16VPEtSZXOTgzdYxo= X-MS-Office365-Filtering-Correlation-Id: ffb1cac6-1ce8-48cb-d523-08d59db25598 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(48565401081)(2017052603328)(7193020);SRVR:DM5PR2101MB1125; x-ms-traffictypediagnostic: DM5PR2101MB1125: 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)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB1125;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1125; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39860400002)(39380400002)(366004)(376002)(396003)(189003)(199004)(2906002)(25786009)(6512007)(10090500001)(3280700002)(10290500003)(6666003)(3660700001)(316002)(110136005)(54906003)(11346002)(107886003)(39060400002)(2616005)(476003)(446003)(36756003)(99286004)(86612001)(53936002)(4326008)(486006)(6436002)(3846002)(81156014)(305945005)(5250100002)(1076002)(102836004)(14454004)(66066001)(7736002)(105586002)(81166006)(59450400001)(106356001)(8676002)(97736004)(6116002)(6506007)(6486002)(5660300001)(186003)(76176011)(22452003)(72206003)(478600001)(2501003)(2900100001)(26005)(86362001)(8936002)(68736007)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1125;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: cG1RQ+QLk4Vlao7uLmBmvaW+9vmtrYjMYNfBHfAee1l837jjkcSCx/4vWOb7oZXBFH/AsSjtLnrfWpCfuPxpXIojRDdwYrpbGIdwcBB1O59JFe4rvJlvdqbQKVpLv3LN6ZmxBz9X1lgU3K0q4RCk2kWMzehBqCINC32eyHKM+vQx7zEnNDrlF2CHp+/XQbJCI4wiAOz8l7e1NjowRu0Bebc0MSy3iojI2M6h3ZwXcNDn+8V3DqiRyulahHahczc+YT3M3PsFBn690yjYokd1dMJmazrkH3SoQdb0dX2gcjYnMGgBZ/hIDGR7JaMwnCWttUo0cDhHHNl1WEs3P3SxFHXqvifn7USPsKgK5bsKAxewhTz8cpctvyECPGOVTLjfBfc18FPciFvhPLUJo/2+vabvOX6XITFlg2Hbiw3cfAE= 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: ffb1cac6-1ce8-48cb-d523-08d59db25598 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:29:52.0840 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-C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