Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941520AbcLVQ5u (ORCPT ); Thu, 22 Dec 2016 11:57:50 -0500 Received: from mail-co1nam03on0071.outbound.protection.outlook.com ([104.47.40.71]:24111 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752905AbcLVQ5r (ORCPT ); Thu, 22 Dec 2016 11:57:47 -0500 Authentication-Results: spf=pass (sender IP is 74.221.232.54) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; X-AuditID: ac1c2133-b8fff70000000ec6-e8-585c8126b40d From: Bart Van Assche To: "osandov@osandov.com" CC: "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "osandov@fb.com" , "axboe@fb.com" , "axboe@kernel.dk" , "paolo.valente@linaro.org" Subject: Re: [PATCHSET v4] blk-mq-scheduling framework Thread-Topic: [PATCHSET v4] blk-mq-scheduling framework Thread-Index: AQHSXHR+DtKtPpYMO0yZSOR1LmvR2Q== Date: Thu, 22 Dec 2016 16:57:36 +0000 Message-ID: <1482425838.2682.9.camel@sandisk.com> References: <1481933536-12844-1-git-send-email-axboe@fb.com> <1482423775.2682.6.camel@sandisk.com> <20161222165207.GA25717@vader> In-Reply-To: <20161222165207.GA25717@vader> Accept-Language: nl-NL, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.28.1.254] Content-Type: text/plain; charset="utf-8" Content-ID: <7B7FC739E9AE7748930FF37E365EDE74@sandisk.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJIsWRmVeSWpSXmKPExsWyRobxn65mY0yEwcbz8hb/9xxjs1h9t5/N Yu8tbYvLu+awWRy+d5XFYs+RM4wWr/7sZXJg95jY/I7d4/LZUo871/awecz5c5DZ4/MmuQDW KC6blNSczLLUIn27BK6M+deXsBbsYalYs3YrUwPjGpYuRk4OCQETiZX3e4FsLg4hgSVMEh8W P2MDSQgJXGKUmDGPC8RmEzCSmD1hD1iDiIC+RPf0F0wgDcwCi5gkvjZMZQRJCAuYSRz7eJ8N oshc4vO8n8wQtp7E83/dYM0sAqoSN1Z/ZAKxeQUMJbZ2zmaD2NzCKNEyYTbYIE4BbYmrF+YC FXFwMArISrS85gYJMwuIS9x6Mp8J4moBiSV7zjND2KISLx//Y4WwFSQ+r/jHBtLKLKApsX6X PkSrlcStKzOYIWxFiSndD9khThCUODnzCcsERrFZSDbMQuiehaR7FpLuWUi6FzCyrmIUK05M Ls5NTy0wNNErTsxLySzO1kvOz93ECI5QReMdjP82uB9iFOBgVOLhrRCIjhBiTSwrrsw9xCjB wawkwrvtL1CINyWxsiq1KD++qDQntfgQozQHi5I4r/yB3aFCAumJJanZqakFqUUwWSYOTqkG xlqLQleNe1FzHnyZMjtAS9lUJfzFpn0/N73i3t452/Jxxque08zMvf8qbttOcDMSXv71/paJ Z4SFWItNuM2WTJoY6yEyx0393t2jX/2EL+70YPvz8Vmow+KY5X6yT5IKJibGJhkwe+16ELO/ WPNeVusJqbU/PH/3XBJ1XvlM9oL2ScfFtccDNJRYijMSDbWYi4oTAaY+qpXMAgAA X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:74.221.232.54;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(39860400002)(39850400002)(39410400002)(39450400003)(39840400002)(2980300002)(438002)(24454002)(189002)(377424004)(199003)(38730400001)(8676002)(81166006)(81156014)(1730700003)(6916009)(2950100002)(69596002)(2270400002)(4001150100001)(97736004)(86362001)(229853002)(5660300001)(36756003)(2501003)(7736002)(626004)(2906002)(110136003)(305945005)(4326007)(189998001)(47776003)(102836003)(6116002)(76176999)(33646002)(50986999)(54356999)(230783001)(356003)(106116001)(3846002)(2900100001)(92566002)(68736007)(8936002)(23676002)(2351001)(50466002)(5640700003)(103116003)(106466001)(7099028);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR0201MB0989;H:sacsmgep14.sandisk.com;FPR:;SPF:Pass;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD013;1:kHIJtJBjymJt/Xm4lMCZkd+WeQlf/qwH9Bu7m/W6b7lyG2tTIGV16xCjRlmR64CHezDMTGwgtc8I1ylJmMH3j+Qmx9+qvHbso5LRDrHokDu5gi5S9/wdg5OGtEFpMp1p32Rxf355kYJuDTG/sCue+i+PbwpXebU+nmd+T0MKgVr3fROFpJBPSvE1ly4CFdVzBJqe3Cc2C7OdN9gnpLzysIVo9BT/5vdYykpBohFbcYEvY9xAKHxsLv0zvrme1GawMjH4lkemtCsggLNKM6InuVB2LSuqlXiTEIR0XOeyLvKdjEnUd4KnI/5W5Lfb0aGk584NAiDYGEeP+Xlw1rgMNMjH2SzAen8JW/DFaPCqyBSPZGUmnpvOikbkmvZQluO7J/TN0FZatlBGRdndmgH4+budVf6oYnxw2tRnY+gXlb/Of5dqDbebzgmPB1vWbkEPnFoQva2MBIzVmOBhJGB0KT6N09q7OluT/jiuZcUXG/QWMgCg864kFBu5ci+cho8f6HA4wg41J/N2vLIKpzvsndE3RwfqInpN+L+lnrwHn7HUs7/JRUQlkhcsB2Bv/iMpxNb4V8mGc+SjIn+SkcPDwg== X-MS-Office365-Filtering-Correlation-Id: a78af36e-1698-4c73-8b78-08d42a8ba583 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(8251501002);SRVR:DM2PR0201MB0989; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0201MB0989;3:dpff/dCIr9PA017/pl36wGrhWyUxRIKDIocYH2zISBAQOgOWX4JA6CJFFwiGP+65Y5nnp0xkR8cZxWaWNdKZOmVc4ku0g9Yga1GT72CAJoFmFISBMWT7rsx4EetRjByMsUVm6BZcylxaRfxvm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aA77QGFMYlJ1LKXFtWdtIY/UX8K+6tqWF0Io+6Dox+x5Jg7LBDLpizA5TWRpzla43bliSgK5ZetIUpRVgBSn3+SEfLvr8dbzcyon0qdpc5JfHzDaV8r+T4Fj/nWXE9PYhDajld16S2Y2PnNB3J6in+KLUSFklIvAt9MSmQV2kW82/NpkBt/x7HwVmn4q2kwRQZ+sbqbpM3aPRHRll8Mxey0pLHtT7rQsQ8tLfUrs+aryXGrZqlAWC4l1cvKqIxTytWUS+k4KzGoLiWKUy0iBi1HQuCeqUiutiWzjLyNGLTZk/eIudewYoNfh+6+VSS17bJnFFq3zAoZb5BDhXa19MwSuvcxoN+xormuU0AN7qT2bIDU4DKvduq+t5EjqKMzjZKZPTNBb8fAhIQtp4x/jjYP6vzQjjf6e4ggCK0kN7lJeADT4MaRYmbq/qXGSWslxs3wo50M53eY/MFX5H3l8kKGPjbz7dQp+XPaHMSw26S2PoCsXM4qRiIEqK/BY0 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(13017025)(13015025)(13018025)(13023025)(13024025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(6072148);SRVR:DM2PR0201MB0989;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0201MB0989; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0201MB0989;4:2jNNad+k5fOQPEgiqndjB9V9Mcrvh3nnCx4kgZLf5WSV8y0TgECAYV60Yw6fcJVQlpQYe0J6Zcd01vIr+sOsRX3EpCrbTUCinjw/a4RO55IXUi+ySnUu4j2RD7bSJ+4zUQOiOtToj7w0mooePTOBrcDq5bW31G3vqUmQku9Qng3kTCwjJ0c0KEfw0yuQqMxEMNaIp9XH+R6i/gSPQEz0VOGeEgFaVfDJ+9dyX3c3vX1IZMMaSEC42pxSUvpqOls9/7rui1gxpJyM+pw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Y2Vub3J8Fq4G/+eiRw74kEzpmjHQ52jhnnlzHqI8WvgI7Vhz+jpo4/mWrzu07cqnpAbzCHSXqeBDlRDHtfX8jiHf0tL6 X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2016 16:57:42.4432 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d;Ip=[74.221.232.54];Helo=[sacsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0201MB0989 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id uBMGvvFX022002 Content-Length: 408 Lines: 11 On Thu, 2016-12-22 at 08:52 -0800, Omar Sandoval wrote: > This approach occurred to us, but we couldn't figure out a way to make > blk_mq_tag_to_rq() work with it. From skimming over the patches, I > didn't see a solution to that problem. Hello Omar, Can you clarify your comment? Since my patches initialize both tags->rqs[] and sched_tags->rqs[] the function blk_mq_tag_to_rq() should still work. Bart.