Received: by 10.213.65.68 with SMTP id h4csp2117606imn; Sun, 8 Apr 2018 20:08:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+KLRpMjH2ANSDLLPmjA2oEeh0mHeiLbAPMJEBLCD309b9eT698lqzWODr1MVVHSaIqWG7E X-Received: by 10.101.102.197 with SMTP id c5mr13599283pgw.93.1523243319326; Sun, 08 Apr 2018 20:08:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243319; cv=none; d=google.com; s=arc-20160816; b=Hqy3vt4CHg9/e4O28q9yHlYmcgdjU6H80TlWzhgQDN1pSmFJW6MSm+OXevE5MJ47Qn C1e03zgaD1EUfCXrsLFUK4rw0tAyFwVGn0aITUT7+0Mfo3Q0xd3F+MFaqc/DsSykV5s8 GR8G7T2mqnLjlkfjyK3BdtSamJyW+GFYtGCNLNlKOQXnaiiSxUnm8ALM8wy600VvzXOx mNBK7RkWoNaOvZ+nc8nvMYwF4AKvgqTesEQnbOB3/dCG4ivDsdaCnlbQ9zH/T0veCQMK FDFA0suLgEqvJWtZv+LT1Tji5BsyJiuWzEORbyYoVfIDrpL9TLbDKxWtDDxl0gQtC8ee SWtg== 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=BSrMrAoI4w1IrqRIEQ1krHSCBPybrfZP/k4KPqBMczA=; b=QT/EeCylA2gYexKt4vf3wW+mCOT2cjwXsGsuXZeYoYt/eFG5DyaP0YITTWIGT/5Rwi ZADdcrcZNkTgSm0h3xYWbVtDdxQq6g5GUZeDYzAYz658H8J3I/Ki7SIr1F/f1H5kRajV d12gP4hFSbQru0zrygvGyX1Y32LKUtJwPSwlkm0UINKZw7eAwAZRfN/ZMeVNJJMDzQ6E 7eaOwO7PrKJ8BgeZNN5QDYOCfhI6iWNWzKPWvcosZzVplgFTCyVF1JdbgWJAdKCl7Ek3 SWWb/mWMHTwVkXPzjs/e0o0LMlY+wNkiTEy8hG9kJuhHTiWNv4DYfRLoTE1QXp4I+vzc b9IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=I7oqWQCK; 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 x11-v6si13631570plm.326.2018.04.08.20.08.02; Sun, 08 Apr 2018 20:08:39 -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=I7oqWQCK; 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 S1757758AbeDICFT (ORCPT + 99 others); Sun, 8 Apr 2018 22:05:19 -0400 Received: from mail-bl2nam02on0132.outbound.protection.outlook.com ([104.47.38.132]:22424 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756365AbeDIAb7 (ORCPT ); Sun, 8 Apr 2018 20:31:59 -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=BSrMrAoI4w1IrqRIEQ1krHSCBPybrfZP/k4KPqBMczA=; b=I7oqWQCKkIwcroJ7LeTyeXX63YIuX6xBTVa63cTj78bZLdjMOqlS9n0iGJvAD456MrjCYrQWDWBAIVNGQyKAAibO6RTn0a/v8snkJdQ0UqGpkUWxr3y/oY3ep4bkask0TvU8T0vr7AbJcFhjFLfJcbmKMFwgG5bx0BdkA3ANJ00= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0870.namprd21.prod.outlook.com (10.167.110.165) 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:31:57 +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:31:57 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Omar Sandoval , David Sterba , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 185/293] Btrfs: always account pinned bytes when dropping a tree block ref Thread-Topic: [PATCH AUTOSEL for 4.9 185/293] Btrfs: always account pinned bytes when dropping a tree block ref Thread-Index: AQHTz5k9gbeVhVG9sUW2zjpR8HPFag== Date: Mon, 9 Apr 2018 00:25:18 +0000 Message-ID: <20180409002239.163177-185-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;DM5PR2101MB0870;7:pjQQhGkYCrZDkObtgAyNFYTNdskouZrbmhfMzChLKbW841ymOdv9GpDZDdRotJ6elpO+GJAZTt8m2J5RadpENyqVRzxe/xK0vcl9JahOUlnI4oZr6uB0sQyW9x7y16faxIawKFpyd2hwfJKZHvIFD3zAn2EEB0INYVmhjMip0ix09HKvAlAezvdUsifihGksmaEtXSWsMjuSASBIkpPCsZ0oY/37uEvFkTrp0mQ3/6Z48/K/KQ0aMbStGvdmSqMI;20:3eHMdSvlyz7gj3lmmDywxNkbNZxXeaLpaS+iGtLREJq4RohqPQXxw+cG51eV110HsQ96fEJZtCP4+lQUEjSUNwM3quet0sf0oaupXbOfV0vmRescywoRvWBYQuzAyzfMfGTBHCuo0TfUViXW5yWTlzy3s0d7P1M5+/C5mPSv+14= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: c5c191b3-3f80-4a16-4956-08d59db14d62 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB0870; x-ms-traffictypediagnostic: DM5PR2101MB0870: 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)(67672495146484)(146099531331640); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231221)(944501327)(52105095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041310)(20161123558120)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB0870;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0870; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39860400002)(366004)(396003)(39380400002)(376002)(199004)(189003)(53936002)(2906002)(6512007)(102836004)(2616005)(76176011)(14454004)(446003)(10090500001)(11346002)(476003)(486006)(107886003)(2900100001)(551934003)(97736004)(66066001)(6506007)(6436002)(106356001)(99286004)(105586002)(3660700001)(6116002)(86612001)(3280700002)(6666003)(2501003)(10290500003)(26005)(8676002)(8936002)(478600001)(68736007)(5250100002)(5660300001)(316002)(4326008)(72206003)(186003)(110136005)(6486002)(7736002)(25786009)(3846002)(86362001)(36756003)(22452003)(81156014)(81166006)(575784001)(305945005)(54906003)(1076002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0870;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: DbAeUL4mOgGv18uIIP6pWcubiZ5IGYK9XgaEoFrrBy+GoRnDWIQVtkcsUiegmwDONauIQQsAeXWlzUPN3nPLObqBrL7kouvE9ZjffGdNwxizmoCqtWx5m0SKO9OqJuMm8h34HDMDE5s0tlx1J5eOFPX7cns6sljLAaCJHfRg9dUYeqXLOU/R8vd6WxkCkRwFe10qxmTBE/tPw5sb8g8fcappi0HCKYSMnFJoP05oy1EjBDhfqRMXyLK61LnghIABQ4zRZlLy/7dxNFw25ytzst0EsP+8vH+lWaeI7X72NH2nkZpxSsN9wY0mDo4tJ/t6sKoNiYIYFOTvpDrVvO08ZkYw6hQKa69uVnll4WmADflp/uRP4Jrr4WKsx8L530OIXQ5JdxgX6i+NhbQ6dZpQn3o/wpbZMUMa2V4pHyfHUg4= 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: c5c191b3-3f80-4a16-4956-08d59db14d62 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:25:18.8158 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0870 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogT21hciBTYW5kb3ZhbCA8b3NhbmRvdkBmYi5jb20+DQoNClsgVXBzdHJlYW0gY29tbWl0 IDBhMTZjN2Q3YWVjZmFlODk4NzE5N2U1MDExNmViZmMzMzhjYmUwYTIgXQ0KDQpDdXJyZW50bHks IHdlIG9ubHkgaW5jcmVtZW50IHRvdGFsX2J5dGVzX3Bpbm5lZCBpbg0KYnRyZnNfZnJlZV90cmVl X2Jsb2NrKCkgd2hlbiBkcm9wcGluZyB0aGUgbGFzdCByZWZlcmVuY2Ugb24gdGhlIGJsb2NrLg0K SG93ZXZlciwgd2hlbiB0aGUgZGVsYXllZCByZWYgaXMgcnVuIGxhdGVyLCB3ZSB3aWxsIGRlY3Jl bWVudA0KdG90YWxfYnl0ZXNfcGlubmVkIHJlZ2FyZGxlc3Mgb2Ygd2hldGhlciBpdCB3YXMgdGhl IGxhc3QgcmVmZXJlbmNlIG9yDQpub3QuIFRoaXMgY2F1c2VzIHRoZSBjb3VudGVyIHRvIHVuZGVy ZmxvdyB3aGVuIHRoZSByZWZlcmVuY2Ugd2UgZHJvcHBlZA0Kd2FzIG5vdCB0aGUgbGFzdCByZWZl cmVuY2UuIEZpeCBpdCBieSBpbmNyZW1lbnRpbmcgdGhlIGNvdW50ZXINCnVuY29uZGl0aW9uYWxs eSwgd2hpY2ggaXMgd2hhdCBidHJmc19mcmVlX2V4dGVudCgpIGRvZXMuIFRoaXMgbWFrZXMNCnRv dGFsX2J5dGVzX3Bpbm5lZCBhbiBvdmVyZXN0aW1hdGUgd2hlbiByZWZlcmVuY2VzIHRvIHNoYXJl ZCBleHRlbnRzIGFyZQ0KZHJvcHBlZCwgYnV0IGluIHRoZSB3b3JzdCBjYXNlIHRoaXMgd2lsbCBq dXN0IG1ha2UgdXMgdHJ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