Received: by 10.223.185.116 with SMTP id b49csp8277302wrg; Thu, 1 Mar 2018 21:49:54 -0800 (PST) X-Google-Smtp-Source: AG47ELuralMR5qRQebHt7Yjm5Lhd0bwZCoSIhO/Zax2/ewCDwnrgoVx+LTBvl3ohy8kXSvguutj+ X-Received: by 10.99.185.84 with SMTP id v20mr3711050pgo.112.1519969794288; Thu, 01 Mar 2018 21:49:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519969794; cv=none; d=google.com; s=arc-20160816; b=vtX6OYh9a/JWP/KuWuxs0uKh+sI9ucjTI9CUnBSkKqAxkQoZ1Wd1C+uhnZ6RmActvU TD0us0jG3zjFsbaVbMZIPabNm0k1tQaOE7aP/bURZoZSN7iIuHgmpFDElmEYWq6OMM8q TO8wfTCgHwcnW0gGhPU6ALDvGW5HoCiGIxJ9gWRcDXpmgVJ1k79/SSJ/1L/mHUZrXiYn uTYfis8ViTrcX0543Wy/pRmauk4cHcdZC8W/vSyBtVBuKIKsbkM7VKNOb5jCw2MugaD/ pcg4N8NLEqtMh5wEoje+g07BvXDb4I4rOxG18PlcH/WdPG77aTK9Fqu2WRUIp79GsNyk op2Q== 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 :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature:arc-authentication-results; bh=Z0d6iNr26LYjkn69zOJmCxtw/z63xeMd5j80GUGxCLA=; b=BrDw4tzlzg9JUWhRc1RryVtH9teLXm05FYiIkZAz38TfkWFxyhOxgZJc0uonleeYFz 8vKmynFbQi0mb+itip09y0aZ4+lJeV34Wcth86dueZvZgjbtq6q+6mAUdTkhkBziPsiN uWx/G6aBo5EoGfyTrWd5DgPtEbbwuz1nbE1a582MRdYLE5lB9bgS1F1wbwRivARrU6Nj BPnrAH4dGt4qab+Ly5Pkf8AsN5N2UxE8C2dEeC2WkFVAi9+0za0cHq+QkBEkabRvNSZP SyN4fq/s3PoRcSEbpFAD4kPMOGEgYrnMrbGZ0up7NOz69uPzwAxOw0/3Cf2O8tcU8HYC Edvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=DPBIlaQ+; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=WzfESZk1; 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 k6-v6si4411221pln.103.2018.03.01.21.49.39; Thu, 01 Mar 2018 21:49:54 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=DPBIlaQ+; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=WzfESZk1; 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 S1753239AbeCBFMl (ORCPT + 99 others); Fri, 2 Mar 2018 00:12:41 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:12440 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753155AbeCBFMj (ORCPT ); Fri, 2 Mar 2018 00:12:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1519967559; x=1551503559; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=Z0d6iNr26LYjkn69zOJmCxtw/z63xeMd5j80GUGxCLA=; b=DPBIlaQ+KlXQI7ayeuF1Whb9lcoTDGJdCRVv3NKwMEozOJ8gxmyPb9EH /bImYU3MBk8GWQ55ZNTXtOu2qTj3bUkVzH/9o116qsR6nOar+Tq3ISyC+ T+kPnL1Bn36NHG0wnAbDRpatLPOzkvVZJlSykNksaaETMVY4UCMk90dBv S75sf0+vhWBelQMEDMmRIr9XPUmgomxG0rzoWnjSTLOt/+O6AJhtXyO0r cFUctjnwDekYY+dRy2Dc1d2rluAr+CKCFfnjQyy+a0jwnFYuhDOn+ONpd Xyo0dO9NAxCWjmpkdgiUFzoJtkdrsYfALjDizB0jqobNxwnLdUOQ6cE8R g==; X-IronPort-AV: E=Sophos;i="5.47,409,1515427200"; d="scan'208";a="73272828" Received: from mail-cys01nam02lp0054.outbound.protection.outlook.com (HELO NAM02-CY1-obe.outbound.protection.outlook.com) ([207.46.163.54]) by ob1.hgst.iphmx.com with ESMTP; 02 Mar 2018 13:12:38 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Z0d6iNr26LYjkn69zOJmCxtw/z63xeMd5j80GUGxCLA=; b=WzfESZk1FRRdm8QAT1hRhQB+oQQpBaH6FqWSj75DBLejnnKnWQrkiDv5ajy7zi1B3f76GHtDm1TM5QJc7w5hxoerRKOgQmKwfuKN3G6kbHIws2WdxTx4NWPaYmWxIcNzBpQ4LjxCAYAVoCuJwWbVzqMHLySMCrqfM/+eDFogBuo= Received: from MWHPR04MB1198.namprd04.prod.outlook.com (10.173.48.151) by MWHPR04MB0943.namprd04.prod.outlook.com (10.174.174.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Fri, 2 Mar 2018 05:12:36 +0000 Received: from MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::a06f:fa0e:f691:9dca]) by MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::a06f:fa0e:f691:9dca%13]) with mapi id 15.20.0548.014; Fri, 2 Mar 2018 05:12:36 +0000 From: Bart Van Assche To: "opensource.ganesh@gmail.com" CC: "jejb@linux.vnet.ibm.com" , "hch@lst.de" , "linux-kernel@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "martin.petersen@oracle.com" Subject: Re: [PATCH] scsi_lib: increase {host|target|device}_busy count after dispatch cmd Thread-Topic: [PATCH] scsi_lib: increase {host|target|device}_busy count after dispatch cmd Thread-Index: AQHS3d92zLNWsDeNvE6P9uZ5cIsMfqO9qWKAgABgggCAAASDgA== Date: Fri, 2 Mar 2018 05:12:36 +0000 Message-ID: <1519967555.25932.3.camel@wdc.com> References: <1496655478-4039-1-git-send-email-opensource.ganesh@gmail.com> <1519945861.2675.9.camel@sandisk.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=Bart.VanAssche@wdc.com; x-originating-ip: [76.103.131.8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR04MB0943;7:5n2Z6qgd4d0sezwrmcV6FcrYRnXC6l60oO/qNPYaziTr124WDzqAwWeRlrQ5ccoBXl6M9yubAgkJwO5DoKQpkC7gXpCnhC1x78Auryan8lGOvO65p8EN9S+oDMk6pxfV6SvTkWCoaHFxSZf0qOULsexQJY1lWqe7+5ks+arJ5jl78dxm78eZhrty+VaslG01L6xR69SnYQgIiS/M2wfkrTV4hn0X7k8/lIFKAtQt1OHWK8/Q9O311rXmd9ugqx+2;20:YOlxz+1nzvFC3oE/O0tWYj9qcVaXmqjm+whqzuy25dQTGhlVkF/e9lmKUsw6aLJsU4U7IYwIUAvzFcd4qkFEHTNLV4+sc5M2fq65qP9QZXbPfD+HdXS7U7rR1KrAC7htbMTJi2QKPoJ2ftHG0hDE5/lK5yHYgb7zxYcQpIJBjEs= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 49675c1a-5ad1-4e70-1de4-08d57ffc3691 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:MWHPR04MB0943; x-ms-traffictypediagnostic: MWHPR04MB0943: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(17755550239193); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(3231220)(944501161)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011);SRVR:MWHPR04MB0943;BCL:0;PCL:0;RULEID:;SRVR:MWHPR04MB0943; x-forefront-prvs: 05991796DF x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(376002)(346002)(366004)(39380400002)(396003)(189003)(199004)(51444003)(377424004)(478600001)(5640700003)(316002)(54906003)(1361003)(5250100002)(2501003)(186003)(36756003)(6486002)(2900100001)(26005)(6436002)(2950100002)(6916009)(3846002)(68736007)(6116002)(6506007)(14454004)(86362001)(2351001)(53936002)(305945005)(7736002)(102836004)(97736004)(229853002)(72206003)(59450400001)(2906002)(8936002)(99286004)(6246003)(66066001)(76176011)(3280700002)(39060400002)(6512007)(4326008)(105586002)(103116003)(81166006)(5660300001)(81156014)(3660700001)(106356001)(25786009)(8676002);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR04MB0943;H:MWHPR04MB1198.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-microsoft-antispam-message-info: GjC3iLmkJzhcziMujVJeTsoynX6hBUlGUTO9ZCF9LMIngyE7L+E2cNwthw524osdxJWJ9mZ87wtrHG8I2MG2kqYxJNqxthOcyuFpjpSnX4iv+IZGIULXlNq3x+1mqBTGTjcMNX1h58iyDaM+txDraluuYXIc1F1atnYpLKgpKsM= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <6930C493EC1BC64093922311B04894FA@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 49675c1a-5ad1-4e70-1de4-08d57ffc3691 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2018 05:12:36.5665 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB0943 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE4LTAzLTAyIGF0IDEyOjU2ICswODAwLCBHYW5lc2ggTWFoZW5kcmFuIHdyb3Rl Og0KPiAyMDE4LTAzLTAyIDc6MTEgR01UKzA4OjAwIEJhcnQgVmFuIEFzc2NoZSA8QmFydC5WYW5B c3NjaGVAd2RjLmNvbT46DQo+ID4gT24gTW9uLCAyMDE3LTA2LTA1IGF0IDE3OjM3ICswODAwLCBH YW5lc2ggTWFoZW5kcmFuIHdyb3RlOg0KPiA+ID4gSW4gYW5kcm9pZCBzeXN0ZW0sIHdoZW4gdGhl cmUgYXJlIGxvdHMgb2YgdGhyZWFkcyBydW5uaW5nLiBUaHJlYWQgQQ0KPiA+ID4gaG9sZGluZyAq aG9zdF9idXN5KiBjb3VudCBpcyBlYXNpbHkgdG8gYmUgcHJlZW1wdGVkLCBhbmQgaWYgYX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