Received: by 10.213.65.68 with SMTP id h4csp1695449imn; Thu, 29 Mar 2018 09:17:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx48pS/aQF8BxbT4skvuJ7mIVFN4bEId9VRDAiLpBDpL3IICPooK3UgyQXVEeXPD7u69VU4uL X-Received: by 2002:a17:902:6a81:: with SMTP id n1-v6mr4415846plk.342.1522340235815; Thu, 29 Mar 2018 09:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522340235; cv=none; d=google.com; s=arc-20160816; b=eaheF4mBVhi/jIbktNObgv4CNXfqgLWVkyckpzzopLVirBOCrxOlLgm8YBjBndMsPl oStAkiGMhOo8ouNpzij0dasARU6JXlkVrcZJsON63n9fnxxBxXvhDTV7wyhLpRRlDqmA wGlFLfWXxTcPeAXN7huXa2dn9owXIMDA4sq14ZkIGoyMuwcSeKppM7sfJECHgjr3dFDy W0fI+P8mq/vCUud+djsMFtseyX5EacLXsmvozD4VMIYZ3iQmVJWNE/egpASbeVW99cKi MF0JSu38OHcY0JDz4cH433qAyech32pjLeazf7BrJ8KDlzle1T/AVgGWVka030lXsgl1 6tkg== 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=o4uN/aB10G+YgvFthh2QRpR2NX3pNjQUikdtjUgPhLs=; b=ISn5mw3ICkleRPOGF/AI/LXGKWC9gQxqDMDIrrShX6lYlZYLQ5x+I2VajXl2AnPXCZ V7VBUqbhxn1547kG/QwEGXJ2EybNKLZZV3vKSQGMMTH2JjPAzqffhREOvRdNNNI3tVSn OJeNEarNhtwm7E33KrBr0L2nedfbVLovxzsGejEyU2TYPHxFyaPPJT7WNSmQVry8fSM1 wBQFoZ7G1jTiBcXL0EnJ64QadaA8BStlLqPqGecNeOV0o/20A6VbT1NIyQXTazbs3iQa 59COpqKnIHHEbMMeRaYZYM4FwNXg526BPFo9S5DCaW1bB33kDFjrY/iGeMAKO30uz+HI lMSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=i2qQAl4m; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=DtCSKELP; 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 t23si4611989pfg.387.2018.03.29.09.17.00; Thu, 29 Mar 2018 09:17:15 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=i2qQAl4m; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=DtCSKELP; 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 S1752305AbeC2QOm (ORCPT + 99 others); Thu, 29 Mar 2018 12:14:42 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:34966 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751859AbeC2QOk (ORCPT ); Thu, 29 Mar 2018 12:14:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1522340082; x=1553876082; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=o4uN/aB10G+YgvFthh2QRpR2NX3pNjQUikdtjUgPhLs=; b=i2qQAl4mrOm45VC4CQTvakEN9L6l0jdmVpEwgNiAtNp0n+vqbWCRyW2K i+M17TuCpp1oqXrD4d/1eChBvRL+2+A5/YYCbKauu8YAe6XoQdCromVPb Lpr1CXwzk++MGoXjmCOy8WtVuWElclFqvPLXwhkp6yBrvPoVc0B2++Eds XX5qlmfxcf1b6CVKnaaFfj8WFD8JEWQtjxDZD9WyDuEgtYDP1YGrr3aSU cm9KyAIujv4v7sihu8kazMsX4QZy73WsnjfRncFX1AUDbudlFrPHG94FT SgZuRKGRGFYuJvzOkCRS3uJ0Ln58/zeGUBgb/oxhQN+AEJTqy1RS0xpwV A==; X-IronPort-AV: E=Sophos;i="5.48,376,1517846400"; d="scan'208";a="74830156" Received: from mail-co1nam03lp0016.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) ([216.32.181.16]) by ob1.hgst.iphmx.com with ESMTP; 30 Mar 2018 00:14:41 +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=o4uN/aB10G+YgvFthh2QRpR2NX3pNjQUikdtjUgPhLs=; b=DtCSKELPUfRTCpKR3ZU/yxOLPemkSRJ6j/BLfo8Nvy/T1HtPiDTzvW5MZR6nO9yLfqYy+1oOPyjs4pRemx/V/Lk8M0IpNUnejR2wVzRLwZ+icSmXc3mA4exMbttTkJwDKjMQPc6p5uwngyk3ohhkUmCKvzw6AOslq8i2bvlGxIQ= Received: from MWHPR04MB1198.namprd04.prod.outlook.com (10.173.48.151) by MWHPR04MB1231.namprd04.prod.outlook.com (10.173.53.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Thu, 29 Mar 2018 16:14:38 +0000 Received: from MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::bc43:e461:43cb:4d27]) by MWHPR04MB1198.namprd04.prod.outlook.com ([fe80::bc43:e461:43cb:4d27%14]) with mapi id 15.20.0609.012; Thu, 29 Mar 2018 16:14:38 +0000 From: Bart Van Assche To: "logang@deltatee.com" , "linux-kernel@vger.kernel.org" , "linux-nvme@lists.infradead.org" CC: "james.smart@broadcom.com" , "hch@lst.de" , "sagi@grimberg.me" Subject: Re: [PATCH 3/4] nvmet-fc: Don't use the count returned by the dma_map_sg call Thread-Topic: [PATCH 3/4] nvmet-fc: Don't use the count returned by the dma_map_sg call Thread-Index: AQHTx3g9T5YWYwnprEekrzr0ahYPmKPnYx8A Date: Thu, 29 Mar 2018 16:14:37 +0000 Message-ID: References: <20180329160721.4691-1-logang@deltatee.com> <20180329160721.4691-4-logang@deltatee.com> In-Reply-To: <20180329160721.4691-4-logang@deltatee.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [199.255.44.172] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MWHPR04MB1231;7:aMZtAmE/Xt3Mh/2ZObAt2nqOhblzZavANfW4740iRHRA+/yVzpAGtbrF3wKOYjJmPaoYbw/he5aTSnSgXUD+2JkR0iKSXV5s6qzsQo/HU7qXnaMQiPlCH2Srjw0whtutH2eeZCZPb+UXYa+3kbEKFXDH7SVK1qMD0mNY9vqaseBQqjc2lVbUBu5lWipgcWmyy/ALp4CPc/nqMp40YoMk4YLKke8cC+q/+1YO/W5Zts3kARARCdDFIa8Nogb6rEcv;20:phURjlpktvSmLGSqdfS9ibN8wzKiheQK5yPrqPJ7S9IVBSSnPR6SXDCJLyyuUJtZ1a870ELnBy8ECLK+Jk/wOfwqnftvpVUll8ssk7RBA1q7seSukExpfVdWyRFa6P69pV4koE6Sfz29vBYoonH/sKvCZ2pCyEd+0Mgm5uKx4wE= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 31ed8680-141a-402b-e0e3-08d595902ba3 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:MWHPR04MB1231; x-ms-traffictypediagnostic: MWHPR04MB1231: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bart.VanAssche@wdc.com; wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3231221)(944501327)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123564045)(6072148)(201708071742011);SRVR:MWHPR04MB1231;BCL:0;PCL:0;RULEID:;SRVR:MWHPR04MB1231; x-forefront-prvs: 0626C21B10 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(396003)(376002)(346002)(39380400002)(366004)(377424004)(189003)(199004)(305945005)(102836004)(26005)(25786009)(6506007)(2616005)(3280700002)(4326008)(5250100002)(54906003)(11346002)(3660700001)(99286004)(2906002)(478600001)(229853002)(6512007)(486005)(3846002)(316002)(476003)(6246003)(6116002)(2501003)(486005)(14454004)(446003)(110136005)(2201001)(86362001)(72206003)(76176011)(66066001)(97736004)(2900100001)(8676002)(81156014)(7736002)(186003)(6436002)(106356001)(118296001)(81166006)(36756003)(68736007)(105586002)(6486002)(53936002)(8936002)(5660300001);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR04MB1231;H:MWHPR04MB1198.namprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-microsoft-antispam-message-info: lh+jJB2aeeBF5965e1ESqM2foHFdQ/HhTrxv/x7fxxi5OrlY5pQvbfrfXFqAyoSV3UHt0XrQcmUtwRVGSkvDUmLZurVpdbQn8MjhmEOfzu8743XfQp+uhCWO12pNc8XtFmmpVX1E8JOfkg4ie44UUmdJnrW17Rqiu5V99ZwZ3eDArtBUzBkJKHTcX322+5ZdA0ciiFPKIYL4ArHyZ+Tw6FaftSYG+z+1sL5JLnIzR+X1JHyP8pBNuDkE0iJYHuzOyL0oVegBG6THZCWIus7IkjrJozWbFIsoZi793iveWGstnLJp0d6eoznCFrkr59aaky+AsG0duijXh+76QeVLrQ== 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: 31ed8680-141a-402b-e0e3-08d595902ba3 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2018 16:14:38.1220 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB1231 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDE4LTAzLTI5IGF0IDEwOjA3IC0wNjAwLCBMb2dhbiBHdW50aG9ycGUgd3JvdGU6 DQo+ICsJcmV0ID0gZmNfZG1hX21hcF9zZyhmb2QtPnRndHBvcnQtPmRldiwgc2csIG5lbnQsDQo+ ICsJCQkgICAgKChmb2QtPmlvX2RpciA9PSBOVk1FVF9GQ1BfV1JJVEUpID8NCj4gKwkJCQkgICAg RE1BX0ZST01fREVWSUNFIDogRE1BX1RPX0RFVklDRSkpOw0KPiArCQkJICAgIC8qIG5vdGU6IHdy aXRlIGZyb20gaW5pdGlhdG9yIHBlcnNwZWN0aXZlICovDQoNCklmIHlvdSBoYXZlIHRvIHJlcG9z dCB0aGlzIHBhdGNoIHBsZWFzZSByZW1vdmUgdGhlIGZvdXIgc3VwZXJmbHVvdXMgcGFyZW50aGVz ZXMuDQoNClRoYW5rcywNCg0KQmFydC4NCg0KDQoNCg==