Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3210997imu; Sat, 24 Nov 2018 00:11:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/VjfSBJJq8n1NYb7L+4uTyxc+6XPiHEtx4m817aXGM4SWob37Ab03Fj9FMd/AvPZGiZ9z42 X-Received: by 2002:a65:4ccb:: with SMTP id n11mr17461520pgt.257.1543047083934; Sat, 24 Nov 2018 00:11:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543047083; cv=none; d=google.com; s=arc-20160816; b=AYBGftSRxlRar07XwHCycDy7LJr2thpmwgXg42C3u8eb1O5hNoCZXDRNsQ/EV27dAB jISBKj3MW0qUncjiC0QfrIw9/URtj2XapfmhyeBHH0RcwWBgxVdDASW4GQHi3A1Eq7Nt BAR9MhVE95m9tVD4tCvAiGsGZqJ6zaIHNZKWkC0tDb4f8EiYj14xcRrqhXgln6WwRj9c gEf94BvWRZ05CqdsGjCKI4i8EmZL32jAstng/5xBFas/miBMdiZ3AKGQ0yPOGVy0zQp9 0cRW0y/60jD9MdsJdzG5GGDpb7iKtwGBtVyW4SJ8dTvZvvK5o4tcxefnfL6D06479P7s +BAg== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=RmJH/Pigs4Nq+U1+uGOEJmJ5OI8L9oC7+2NmG/D59Ck=; b=0m5s1bck9MbtlPX8jtsKEjVB/j6o4DmllGPLIyNaHsgG2rwTOg94BeGQdtfeH6tpT9 JGY+9zQUdojaCppHhsZtwaY5CgriN1/IThq7b9Z5+9kxK539RSiqiZIWOm5ccsVZjbQd 6W9BEnUw3j1M2fezKYKvZLKL+vjY+HI/OQUWCkDqcpnnaJE6+w2vkT9vydpBDzt+ztC7 TaJsGk7rf5SSlN4K2Z3dI2Hm22hi+rAkltOsifDtvRHjKIYGAHZWn6cXcpcJqQlgiF2C 7Zi2evoANhltvZYOr35bl6V9N3Qnz9tK34kQda8wRyd+0gsLPOF4kEldo9lifFq0/h4D X2lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cnexlabs.onmicrosoft.com header.s=selector1-cnexlabs-com header.b=KGcCFCAL; 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 f184-v6si44434674pfc.224.2018.11.24.00.11.09; Sat, 24 Nov 2018 00:11:23 -0800 (PST) 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=@cnexlabs.onmicrosoft.com header.s=selector1-cnexlabs-com header.b=KGcCFCAL; 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 S2408596AbeKWTOX (ORCPT + 99 others); Fri, 23 Nov 2018 14:14:23 -0500 Received: from mail-eopbgr730045.outbound.protection.outlook.com ([40.107.73.45]:47512 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2408556AbeKWTOX (ORCPT ); Fri, 23 Nov 2018 14:14:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cnexlabs.onmicrosoft.com; s=selector1-cnexlabs-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RmJH/Pigs4Nq+U1+uGOEJmJ5OI8L9oC7+2NmG/D59Ck=; b=KGcCFCALtyg4gXzZn8pJMIbs1T4gTmgrKJryjziHkb+1pwXUxqEcXBSRWRbO9cp4EyAPkU6Q1QJ1oMRboLqDqJo6saR9pN8GgdmyA7gERdbrBILQvRL7OYsFsRv+IKLZlBtORJuGId3flve2cZjQEJGgBXdrd8EKK39R8ig24W8= Received: from DM6PR06MB5178.namprd06.prod.outlook.com (20.178.25.19) by DM6PR06MB5291.namprd06.prod.outlook.com (20.178.26.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.14; Fri, 23 Nov 2018 08:31:06 +0000 Received: from DM6PR06MB5178.namprd06.prod.outlook.com ([fe80::c450:96ae:b322:78c7]) by DM6PR06MB5178.namprd06.prod.outlook.com ([fe80::c450:96ae:b322:78c7%4]) with mapi id 15.20.1361.017; Fri, 23 Nov 2018 08:31:05 +0000 From: Javier Gonzalez To: =?utf-8?B?TWF0aWFzIEJqw7hybGluZw==?= CC: "javier@javigon.com" , Hans Holmberg , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: lightnvm: pblk: avoid ref warning on cache creation Thread-Topic: lightnvm: pblk: avoid ref warning on cache creation Thread-Index: AQHUgmngYlYqD1slx0yfDxHproHlAaVdBDIAgAAAoWGAAAIZAIAAAgDb Date: Fri, 23 Nov 2018 08:31:05 +0000 Message-ID: <2A862095-B029-4CBF-A67D-74D8704F5137@cnexlabs.com> References: <1542894410-14047-1-git-send-email-javier@cnexlabs.com> <2ef4bc58-98cf-fdfc-195d-d6f88e85f4a6@lightnvm.io> <2D1F9096-EFF8-43C2-8403-9897B3D36409@cnexlabs.com>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=javier@cnexlabs.com; x-originating-ip: [2a02:aa7:400b:6c85:246c:4a27:fbbe:89b1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM6PR06MB5291;6:jTmU7ekewUb24YAxl2mKMaw5dAE5UppLHdWq6jx/5Z/N83oD/fw9H90FaiBIWFpD9rfTdYxDO/J7yWqfnYwo2r7HSEbEWsUVbFr7JDdDuDbdMsMOfksmBEhyXp9wPCBjbB7vNI6B7sHbTWjOBL7goRXmlOlzS5PMt4UPsPMQ3I6B48BAadC9tf1k4g10WGK7X5e088w70IsowF7qiBq8xBrlbrZbQfpqfI+pK0SIA2pQIqYL8EwmOGoWTQNFTYfmGGaeeGl12iiPH1dowtbv98TkOyRsJ7Or9TiVHcSLoyUxIb5gD4yiZMMgLkEZhJZRRrDKv8U3i3N4nB9OxQGEfL7V1DJi2mbjLcgjPjz59lX6qYQMHt7R4kcLBBmr/HZsM7wYpG6wCzHAHO8/D286GIMlTIzZNmeJJ3jPEyEoFSKCO5oBscZNu/WF2WgFDxGcLhNRoHIEvVHaZPfxtWjkiQ==;5:TjAqUaP6yn/6n58avoXUoPsSXezlhHMTtUZZmAh7pRXDM10njv3UnQb8u4kmZD5UCowCJLVeK8TwzzHBJ4FlWClxbGpNqyovJfVQDnJNzPdYPXFtC8uSOASPCZ/S9fw7FVUQW53LvTyMMJUE1H/LuRbZgeXoFe0N/OrAe5qItBc=;7:XhLL9BzDulBdeZJ9XizWGhDouYoe+dcUu4sJBPh4UAwyGNByi1A+t2Nf/yNlqcbFuYuhLcktyZVkh0RuHTHR9Z4e80x7vX7ZxUnoNizrFVTkpji52cXp7T2WAosi3TZzjYLdgD4d7pePpdIpZnDSvQ== x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(136003)(39830400003)(396003)(366004)(346002)(376002)(189003)(199004)(93886005)(14444005)(256004)(6916009)(46003)(6506007)(99286004)(4326008)(186003)(486006)(68736007)(229853002)(446003)(6116002)(53546011)(476003)(71200400001)(7736002)(305945005)(71190400001)(478600001)(11346002)(316002)(66574009)(2906002)(76176011)(102836004)(54906003)(33656002)(2616005)(2900100001)(83716004)(8936002)(53936002)(86362001)(36756003)(6436002)(6486002)(5660300001)(8676002)(6512007)(6246003)(105586002)(25786009)(106356001)(81166006)(97736004)(82746002)(81156014)(14454004);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR06MB5291;H:DM6PR06MB5178.namprd06.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-office365-filtering-correlation-id: d9b0a16d-3559-41da-ebef-08d6511e02f0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DM6PR06MB5291; x-ms-traffictypediagnostic: DM6PR06MB5291: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231442)(944501410)(52105112)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(201708071742011)(7699051)(76991095);SRVR:DM6PR06MB5291;BCL:0;PCL:0;RULEID:;SRVR:DM6PR06MB5291; x-forefront-prvs: 086597191B received-spf: None (protection.outlook.com: cnexlabs.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: GTY8n3bFkoVISoEDRkHkJJ7qWLUjHBTjKS+v+rUnz3sEtktjPMyJRl4cvVrWHL94yYPYa+lceOcFlwdOoB5mRW19kxRT7QBfn/3+JWs3n4LSm71C6ZzlKAXgUDywXWZNwzeT26fP0zaMlyo7PAFmHb/RwqiF5XgsiIZSFTfhsg+N1IkFOvtlvbvOy5eQ2LjvNMMpFdLyOYp11jTytXN4gaGRg2rbNUzGUzzZ8YJFWoB5DmlM7bQh+2wGCWNyZx7urA4uqKjtA95UH5JZJa9TecZkVvrZIAcRXgwZm1Gi7Fs0E6Us1U7kQE0bolOXK4dsOziIQcyTbSsWGFunE/IaBpK1JQJkZkVFIYVs77XSIec= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: cnexlabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: d9b0a16d-3559-41da-ebef-08d6511e02f0 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2018 08:31:05.8074 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e40dfc2e-c6c1-463a-a598-38602b2c3cff X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR06MB5291 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gT24gMjMgTm92IDIwMTgsIGF0IDA5LjI0LCBNYXRpYXMgQmrDuHJsaW5nIDxtYkBsaWdo dG52bS5pbz4gd3JvdGU6DQo+IA0KPiBPbiAxMS8yMy8yMDE4IDA5OjE2IEFNLCBKYXZpZXIgR29u emFsZXogd3JvdGU6DQo+Pj4gT24gMjMgTm92IDIwMTgsIGF0IDA5LjE0LCBNYXRpYXMgQmrDuHJs aW5nIDxtYkBsaWdodG52bS5pbz4gd3JvdGU6DQo+Pj4gDQo+Pj4+IE9uIDExLzIyLzIwMTggMDI6 NDYgUE0sIEphdmllciBHb256w6FsZXogd3JvdGU6DQo+Pj4+IE1hdGlhcywNCj4+Pj4gQ2FuIHlv dSBwaWNrIHRoaXMgdXAgZm9yIDQuMjA/IEV2ZW4gdGhvdWdoIGl0IGlzIG5vdCBhbiBlcnJvciBw ZXIgc2UsIGl0DQo+Pj4+IGRvZXMgdHJpZ2dlciBhbiB1Z2x5IGZhbHNlIHBvc2l0aXZlIHdhcm5p bmcgd2hlbiBDT05GSUdfUkVGQ09VTlRfRlVMTCBpcw0KPj4+PiBzZX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