Received: by 10.223.185.116 with SMTP id b49csp8001517wrg; Thu, 1 Mar 2018 15:12:40 -0800 (PST) X-Google-Smtp-Source: AG47ELsJ2ec98KWsiUh1BkMu05jsoEbAEQXuEElgxQdQWv+xEjicEZQVJ6YG2buPuB3r41Zm7Y26 X-Received: by 2002:a17:902:4201:: with SMTP id g1-v6mr3388609pld.62.1519945960307; Thu, 01 Mar 2018 15:12:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519945960; cv=none; d=google.com; s=arc-20160816; b=Jczu5tk/+92C+Dm11Ds07DmBy0nzoLHXj5NZjF+YDhPk9S3GaH/RPAHWcO+uUC0wDN +PxJrMSDNnG953Q/Z/CtfHuJlgsQOxbiskhS3Qf9ZERXqcoIwdenGHG/Dxxg0Glh9VYc uBP2gQYOLxKVJzm5IPKIYjmITZj6fypbjGALUioQdkHd3qJxCo/xW012aDoVkdWI+inm 42Qugl4opdx241jHkIFiciB9o8rYWmxA870GVJji7IFO2hmwEWt39SisSrRo1hkYwJ7B MIMHwCmc5rGw3wSdcP87sx0gRLq+R1DN9GX5Hye/yJMnouQW0rHyUlHgvWgRQrY+gkZj kOCw== 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=OpCcNybPFZOzkLLeuS0cfclNXuM8ZoLrGIq0a77ROek=; b=kVJYUeIJd6H0uCeczQmq9Ys6Men7hdK8qP41GwRZFtA0a2n80IimZ3zZe+n0X9wH4o 8OFO+FQzAzVK9Bq3YsaWmJC6cOOUgGDMe5TpOx9SMl+p4ZrAvtpHHIBoXiL62MAg1fgx 4tOO08CzDPFQ9p4DgAtv5j+0yAszGcNraPIcPz08WQdBy63LQmGIbZPcnbz673VHhzbb DAq2LbTMn/OyP1ESQBupiF6R2K8nz3FcuciJO8NNrM8meJBli1WLzRLFocXxw8t/YffK KlKM2RL5+ke3GzovvH13ItxUCl1Pl1AnyeY4brNSeclS4fMn3uIm37Rbv3gKQWfECzpg hMNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=I+JHERdY; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=CcZlq69t; 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 m2-v6si3719826pll.93.2018.03.01.15.12.25; Thu, 01 Mar 2018 15:12:40 -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=I+JHERdY; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=CcZlq69t; 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 S1163012AbeCAXLJ (ORCPT + 99 others); Thu, 1 Mar 2018 18:11:09 -0500 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:30846 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162854AbeCAXLF (ORCPT ); Thu, 1 Mar 2018 18:11:05 -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=1519945866; x=1551481866; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=OpCcNybPFZOzkLLeuS0cfclNXuM8ZoLrGIq0a77ROek=; b=I+JHERdYjbWWQZH3zCBhLvqVGjpAQw0kSBwJMubW80upPjnWzG/A8C0k cfYaSfCfsyDxGsIMF6MNSyOdaz+q+UHRw0OUjdoJ9cf4HIu+NCEk6tOok ztqlL7GBqP3a+Ok6yDg7AgcgGDo3tk9XMDHEU9yoB4/hBoJUnSuFjbLqM yESIOsQmSBS3wf/05l6Sbo4hyWEUhVHX6mQ8ufAC+aANRFz9WBoUm3WcD rCwVlpvOIoVFwkDU/yeUDtCeDMeDpCqg3ZDYydYqpPJauJykKn9wLdKTt lZiGeRR64C0pSqtzR4uAiCfsAosj9viu01lA1SxW5KaxwnXWkPMKIZUYm A==; X-IronPort-AV: E=Sophos;i="5.47,409,1515427200"; d="scan'208";a="72758956" Received: from mail-co1nam03lp0023.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([216.32.181.23]) by ob1.hgst.iphmx.com with ESMTP; 02 Mar 2018 07:11:05 +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=OpCcNybPFZOzkLLeuS0cfclNXuM8ZoLrGIq0a77ROek=; b=CcZlq69tw0vmOlYByAe/sKUlYqyezBp8ceN6QJeSO4XRWpc8EnsnKSbeFubw7oIGYIKk4fT9mzEfroJbBxWThuTHbvJlj4tWe5oHiaVKg1lxnvQCyu4TQtQGxpzUZJnCk2GgXpcweSgU1h5SRDYJKuESnJM/hwTz4AGcNiS/FAw= Received: from CY1PR0401MB1536.namprd04.prod.outlook.com (10.163.19.154) by CY1PR0401MB1467.namprd04.prod.outlook.com (10.161.212.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Thu, 1 Mar 2018 23:11:03 +0000 Received: from CY1PR0401MB1536.namprd04.prod.outlook.com ([10.163.19.154]) by CY1PR0401MB1536.namprd04.prod.outlook.com ([10.163.19.154]) with mapi id 15.20.0527.022; Thu, 1 Mar 2018 23:11:03 +0000 From: Bart Van Assche To: "jejb@linux.vnet.ibm.com" , "hch@lst.de" , "opensource.ganesh@gmail.com" , "martin.petersen@oracle.com" CC: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" 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: AQHS3d92zLNWsDeNvE6P9uZ5cIsMfqO9qWKA Date: Thu, 1 Mar 2018 23:11:02 +0000 Message-ID: <1519945861.2675.9.camel@sandisk.com> References: <1496655478-4039-1-git-send-email-opensource.ganesh@gmail.com> In-Reply-To: <1496655478-4039-1-git-send-email-opensource.ganesh@gmail.com> 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: [199.255.44.172] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY1PR0401MB1467;20:XJ/Fa/juDfkC6bg8z3TgEqYl1ZFnpQEc59qIVnssIonzfJOvZAMsErAXiENaM8Veif10uzZkwDQbfE7k58ELGJljEqbGrlVBJZSwRyvHX0s+GL+Wrynm/yKw2+cCnXszQvS4DY2+B5h3J7+CUEhGEtHZNh4BqM22qrRwP+2yB9k= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 58f3a5fe-35ad-4728-10d2-08d57fc9b429 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:CY1PR0401MB1467; x-ms-traffictypediagnostic: CY1PR0401MB1467: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231220)(944501224)(52105095)(3002001)(10201501046)(6055026)(6041288)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(6072148)(201708071742011);SRVR:CY1PR0401MB1467;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0401MB1467; x-forefront-prvs: 05986C03E0 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39380400002)(376002)(396003)(366004)(39860400002)(346002)(377424004)(199004)(51444003)(189003)(6512007)(6486002)(103116003)(72206003)(14454004)(6436002)(53936002)(66066001)(25786009)(59450400001)(106356001)(8676002)(36756003)(68736007)(2906002)(229853002)(77096007)(7736002)(33896004)(3280700002)(305945005)(478600001)(8936002)(4326008)(26005)(54906003)(39060400002)(6506007)(9686003)(81166006)(110136005)(6246003)(186003)(81156014)(2201001)(5660300001)(316002)(86362001)(2950100002)(6116002)(102836004)(105586002)(3660700001)(97736004)(3846002)(99286004)(76176011)(2501003)(2900100001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR0401MB1467;H:CY1PR0401MB1536.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-microsoft-antispam-message-info: 1G11MEq7lKaY8gXb5AIxqUQV8FZOz0oL9ZKFEVOu6mdWrfWOfkhDuWUpje5cfEGMsi2TTbKBHY+xXN+vzTFVuLhH3qKXEF3VmZTl3VutgwvXUqRa42vn0teW0IgOe1Y6bnRgGxU9uC1q5cX9Tndq/xVvm61RSryThNUAj2SSGts= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58f3a5fe-35ad-4728-10d2-08d57fc9b429 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2018 23:11:02.9131 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0401MB1467 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDE3LTA2LTA1IGF0IDE3OjM3ICswODAwLCBHYW5lc2ggTWFoZW5kcmFuIHdyb3Rl Og0KPiBJbiBhbmRyb2lkIHN5c3RlbSwgd2hlbiB0aGVyZSBhcmUgbG90cyBvZiB0aHJlYWRzIHJ1 bm5pbmcuIFRocmVhZCBBDQo+IGhvbGRpbmcgKmhvc3RfYnVzeSogY291bnQgaXMgZWFzaWx5IHRv IGJlIHByZWVtcHRlZCwgYW5kIGlmIGF0IHRoZQ0KPiBzYW1lIHRpbWUsIHRocmVhZCBCIHNldCAq aG9zdF9ibG9ja2VkKiwgdGhlbiBhbGwgb3RoZXIgdGhyZWFkcyB3aWxsDQo+IGJlIGlvIGJsb2Nr ZWQuDQoNCkhlbGxvIEdhbmVzaCwNCg0KSGF2ZSB5b3UgY29uc2lkZXJlZCB0byBpbnNlcnQgcHJl ZW1wdF9kaXNhYmxlKCkgYW5kIHByZWVtcHRfZW5hYmxlKCkgY2FsbHMNCndoZXJlIG5lY2Vzc2Fy eSB0byBhY2hpZXZlIHRoZSBzYW1lIGVmZmVjdD8gSSB0aGluayB0aGF0IHdvdWxkIHJlc3VsdCBp biBhDQptdWNoIGxlc3MgaW50cnVzaXZlIHBhdGNoLg0KDQpUaGFua3MsDQoNCkJhcnQuDQoNCg0K