Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2682431imu; Mon, 19 Nov 2018 04:34:13 -0800 (PST) X-Google-Smtp-Source: AJdET5drLpoWJ+kB7E3wiHPnQ4FguHmnoYH2er1aasXGfKqKqWYgthV7m/ksCtV0ws0sv7+aCgNP X-Received: by 2002:a62:870e:: with SMTP id i14mr20536495pfe.41.1542630853928; Mon, 19 Nov 2018 04:34:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542630853; cv=none; d=google.com; s=arc-20160816; b=zyd0T3+PQTB16tEbfbHfF5jxXK1doN+YJLCFpQSqYuHvfD+opKLwdBDXrb/yNiPwIj 5aYRALq/skbC8PoBK7e1a+cUKXjtRDHo8JuQkxzCt4+KUQmU5mjvplPaH2qKp+Hx2WBy x+Xb+CU27qBQB80eZMdcEcQHPNataGcvEnsahR9MMlaWv8q8dZ599zNJ43cPxvtoe1nP iBGW44ACelaAZKrvoPDSO4S2QLQe7V5afrWm/OagAz4ucP03kPIqkzf5AwtyAgUxYJrk qsrtZ7vrjDjcAKlrWA/hICWyjas8Ao74NTAapZw9i0YAKbyKnboxcC+L4t2KN6wXudSj 9feQ== 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:wdcipoutbound :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature; bh=8PZaIcAIGt+UwbyI1Bm6F/RppXSsdwArC8P33C0GE2w=; b=LnHS0F7V3xbrqXrMJ5dCgSWXyXEqsUo4PLxQHSEMqqtdR7Y9JDC3NRRzkG/hJ+9+E8 LpAZDUUosFMO450ErM9QzrNGoin4lCAeHHCyKWw4XCevJTUk3BsOv6u8MuGuSvlumh8N mRJAT+eQhmYEew99MOCQ7f+1Jwb6dPkzhc1oul9TMX4nwvLxZQuwrdlGyZGFijfVNmKs MN5S7R82njM+A94WGMNmYPoTmi7RpsK8rW+4tYRHFkSJsNefEXsruLk/23WcboQNSzqQ KT9HARtN5xXwYIK94QMwYeydN9xSMTkOD3j7LTyYzArrKE3XPOpU4eL2dYZbZGE3PJjT F3PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=oAkvktKY; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=m3nowW+y; 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gn20si36446318plb.273.2018.11.19.04.33.58; Mon, 19 Nov 2018 04:34:13 -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=oAkvktKY; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector1-wdc-com header.b=m3nowW+y; 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728793AbeKSWz0 (ORCPT + 99 others); Mon, 19 Nov 2018 17:55:26 -0500 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:13917 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728579AbeKSWz0 (ORCPT ); Mon, 19 Nov 2018 17:55:26 -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=1542630717; x=1574166717; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=8PZaIcAIGt+UwbyI1Bm6F/RppXSsdwArC8P33C0GE2w=; b=oAkvktKYO/3pYvdxRnTZvnzKGbPICm+ob0QMZxLZYH1+13dK/v+zCpRi FBDaUrlUFDRCLm4Wl0o9PxqPQORk7lbFAFDvW09sao+rlgvCDjLL1bUpd ir8iEKEWImFX32qsaqayYGhZfRhlxdE1NTGO1tdcO/neShnvWEBx7vvH2 SVgwkY6+4jjUHafZQ4ou3DoUgNT0CEZp8hp6dbrOtfdz/pkz6ECdnPYcw WHraLiwGvQARQyJ5hd92x+311fkQv6pFpX/8WVfJWCFwUrAzLqQFhBV1q tyJV3510NMQ3Lb55bbNWZvbFRrPJ8maq+InFozAUiWpvep4DhNj1OkKGo Q==; X-IronPort-AV: E=Sophos;i="5.56,252,1539619200"; d="scan'208";a="99397587" Received: from mail-sn1nam04lp0083.outbound.protection.outlook.com (HELO NAM04-SN1-obe.outbound.protection.outlook.com) ([216.32.180.83]) by ob1.hgst.iphmx.com with ESMTP; 19 Nov 2018 20:31:56 +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:X-MS-Exchange-SenderADCheck; bh=8PZaIcAIGt+UwbyI1Bm6F/RppXSsdwArC8P33C0GE2w=; b=m3nowW+yz0q2xB6DkEhaYVKzW/SjW4QCw1eXeCmGiEhxlLDA281l5l7UYZPlHpBYxUhbd8nZ12+Nwttk/IeNOxVPZDooyW/K7Lpe6UWl/PAt79TM0SdGY9YV7/AHyU3K52xLn9RpkCSYQ0TGeCBhYfqSnFJRrkCL3/zcuWgRsWg= Received: from SN6PR04MB4925.namprd04.prod.outlook.com (52.135.114.82) by SN6PR04MB5360.namprd04.prod.outlook.com (20.178.6.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.26; Mon, 19 Nov 2018 12:31:54 +0000 Received: from SN6PR04MB4925.namprd04.prod.outlook.com ([fe80::4c22:c9b8:6198:5fd1]) by SN6PR04MB4925.namprd04.prod.outlook.com ([fe80::4c22:c9b8:6198:5fd1%2]) with mapi id 15.20.1339.025; Mon, 19 Nov 2018 12:31:54 +0000 From: Avri Altman To: Christoph Hellwig , "axboe@kernel.dk" , "martin.petersen@oracle.com" , "ooo@electrozaur.com" CC: Johannes Thumshirn , Benjamin Block , "linux-scsi@vger.kernel.org" , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 6/8] bsg-lib: handle bidi requests without block layer help Thread-Topic: [PATCH 6/8] bsg-lib: handle bidi requests without block layer help Thread-Index: AQHUecMU3gflg7GP/kOoqkwq7SwNRaVXE9Hw Date: Mon, 19 Nov 2018 12:31:54 +0000 Message-ID: References: <20181111133211.13926-1-hch@lst.de> <20181111133211.13926-7-hch@lst.de> In-Reply-To: <20181111133211.13926-7-hch@lst.de> 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=Avri.Altman@wdc.com; x-originating-ip: [212.25.79.133] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SN6PR04MB5360;6:iLksDwbPPp22/nsedwl2KgZySlAeLrHq/JPQG4e9QlcGgiiRD+DsMR26YxGyOWbzHmYOq3PED+1WSfB13O0WLzMKO/+lRdt2a5rd172LLXWnON8LG+CEFb35MSnJsy1j9swNcbc7clcuHiewv3ExaX/99F7gSrOEiT8KgD1xf6UUCDJWRYcECBW5p3w13NX6cQu0Ti9RY+9IVKoG7cHTDGM2FdOscU6KZmhrSjGYTwNtYlYMqoySKvEqKs3N81NCYWmC4lULLcL1JtXeLvSU/CiZBH2hz25jGNyNIXjhehV/mjEAaSaUK4xeJqgNbE8wmbZCSNqyBjTYhzXvLId3Y5iIZmHus6G4Bs550uIazxkJG+5xyvxuQ2w90nujLEvoCNXEFI/+NzbH/1nR4ntO3I0IA+enQWp/5AIOcZ6N9AXOep5zdZiXDX5hBvEJk+2p0x1OUp2/GFsJV72n5iHBgA==;5:FLev0fFqWQmBAOdLG7/FtyDSSGHf6SUHYCffQXM/cY+Jz7eo+KGIrqaKwH9QLJYAaXPeUre30dEyYbsRRAyNQPcSfB3Gd75MorlTolCUA5ZWIyhAyp0LWHoY0SiwNSMhG5QQGCbjqsRsMB0KUWzUgUOfSMuwnwJ/P6AkPrBskEc=;7:T6CKqEYo+/+KwFXmlb1Axrdwys41zDbWhtzUxERGHEBCUvshyF0tO+c6NQTOdiMHQOtX4Pwn9uqjD/lO8aln73utJWe0LlIsFF7qMT5cbyPsZiIIvnQVqiFWiT8I8/jQoLg4JZaaDqDhcQhsOio+nA== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: df472ce9-fea8-4b32-e374-08d64e1afd74 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:SN6PR04MB5360; x-ms-traffictypediagnostic: SN6PR04MB5360: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(146099531331640)(104084551191319); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231415)(944501410)(52105112)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:SN6PR04MB5360;BCL:0;PCL:0;RULEID:;SRVR:SN6PR04MB5360; x-forefront-prvs: 08617F610C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(376002)(136003)(366004)(39860400002)(396003)(189003)(199004)(13464003)(68736007)(110136005)(81156014)(81166006)(54906003)(6116002)(316002)(71200400001)(71190400001)(6506007)(99286004)(3846002)(186003)(6246003)(55016002)(105586002)(106356001)(74316002)(53936002)(2906002)(8676002)(476003)(7696005)(486006)(6436002)(66066001)(9686003)(8936002)(11346002)(446003)(53546011)(7736002)(5660300001)(76176011)(26005)(102836004)(305945005)(256004)(14444005)(25786009)(478600001)(229853002)(4326008)(2201001)(86362001)(2900100001)(97736004)(72206003)(2501003)(33656002)(14454004);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR04MB5360;H:SN6PR04MB4925.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-microsoft-antispam-message-info: rLXV/JrEVSDkB+ay+3pGcCoy80knvRGmuZss5HUze3s0zX9TDaJ1lgBqOkG1lJatnoZs1Q2R1yo0RZdk3kYFdEBOr24Rc0O2KSPzJoFAW7fGMv+T0cOMO81MEzJGMSfBcdJF9lZDEq7paiEwtJSKKX8wCiuwScc5PN94M+p0Zom85QE4xZqrzfCMMutHEIRQLFZsUCf6FKSibP7GBUMHZbuam4leArd3EbFi0XWGxsRNpCxt/T04QUawvScCwzcaioh2ZtXiLdOX5vfJyRJh4jHzVfqLyQODcd5QgqoRbNi+Ou/sftHD67y/tEVo3Udgh97VRZi2MreR5zJVURC0naMC83tN1tUGyE5xd4IohHE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: df472ce9-fea8-4b32-e374-08d64e1afd74 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2018 12:31:54.6822 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR04MB5360 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: linux-scsi-owner@vger.kernel.org > On Behalf Of Christoph Hellwig > Sent: Sunday, November 11, 2018 3:32 PM > To: axboe@kernel.dk; martin.petersen@oracle.com; ooo@electrozaur.com > Cc: Johannes Thumshirn ; Benjamin Block > ; linux-scsi@vger.kernel.org; linux- > block@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH 6/8] bsg-lib: handle bidi requests without block layer he= lp >=20 > We can just stash away the second request in struct bsg_job instead > of using the block layer req->next_rq field, allowing for the eventual > removal of the latter. >=20 > Signed-off-by: Christoph Hellwig Tested-by: Avri Altman Regardless of the ongoing discussion with Benjamin -=20 Tested the scsi pass-through (ufs-bsg) path - nothing is broken.