Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933523AbcLMPFv (ORCPT ); Tue, 13 Dec 2016 10:05:51 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:55738 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932346AbcLMPFq (ORCPT ); Tue, 13 Dec 2016 10:05:46 -0500 Subject: Re: [PATCH 2/7] blk-mq: abstract out blk_mq_dispatch_rq_list() helper To: Bart Van Assche , , , References: <1481228005-9245-1-git-send-email-axboe@fb.com> <1481228005-9245-3-git-send-email-axboe@fb.com> <2405d895-721d-6ae4-4f9f-4b3353452efc@sandisk.com> CC: , From: Jens Axboe Message-ID: <933d10c2-a814-2a36-72a4-c83ee1708cac@fb.com> Date: Tue, 13 Dec 2016 08:05:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <2405d895-721d-6ae4-4f9f-4b3353452efc@sandisk.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [216.160.245.98] X-ClientProxiedBy: BN6PR02CA0040.namprd02.prod.outlook.com (10.173.146.154) To CY4PR15MB1189.namprd15.prod.outlook.com (10.172.177.11) X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1189;2:3b/k0gqDM5l6C53438B/KcbLNDM9f3cItivpLABk9TkOoin7dyEtquqlFchVvVqaq49MwsEAvkOU71X39k93yIg/tky32+Hcr471/TBrU7CtdyZoKMMcAhN3dGqCjYVNrwRIkVzGAFL8yN2k2zAVGeZalK6YUBEH85Jt31OmB5c=;3:9dtTU3V/gECxAPNpcTPVg2ScRjAljn/adySuAB8WwcqUepsl+bE4ho7Q9tL/+goCFb3gEix0DVtRYocHkhi0c2VGnEwG8ux+Z0oidWntY1LQesyCOmLX02wI+cbcEP+cJG9TKiIUk3+vsh9o1OMeGHVIvXTDW5AA5DBdEEfVSYo=;25:SW0Ol4tjf/ikUTxGS7DNo9xwrieibxGhrXE4yMAl1w7kOZGv9WCOKJx9yrueGEx3271M8i9vFp8lHKibMROEm3B0vM14ay2CXyrGOzQi/DPCV4fU7ZFjHFS8hprRJHh4Mw38zoNfzQEYJGSxiB9FKUu2PMtycBwkd9NptB+99a3CN7Mv19W511P3NSYsZqpVxYLiyKLE5Pyq0y0391izTvZ9ewkr8epwYcXCre4CYDswiyCx6PUaGrp5RASf0h86KqVokrkl/yuxJaBNLNpKhQ9KjC5WamwMxr8GQlr6opYijHXjdTc+zBGYuOTvYgwISlmjpo3ZG+n1gunm8KpS7/E9/iY0x7US7SH91Z8gC4FREJOnqPVMzcBZA6UVG2HhLFI8vorH5drSidS164OBiJAdeyMRELNhK5tpquoFl8LspQI+EIBSDuULHwKCvPNxmJCW1Gt+ZzuXIAxfstrDhg== X-MS-Office365-Filtering-Correlation-Id: 5e766305-8c63-45b6-5c9e-08d423698018 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY4PR15MB1189; X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1189;31:q/8eXYDZBwxGZKEdqabhluJiZaBlTCJsWh8IPBfrLeDz1RTgKQsK/zW0lsiljhyBfLnob5t5ipnLeCHDHUpt32ST+XySuYCWwUchVwupJMsWq4nOaCCXJj9m7v2nHIc3UTGgXSTDGTbgwDOtKheNzOwzALXrSB/Sej+kjyybYlL7phWdO1S2szydwD9JfeYAdeihI7XzcXMidd9PaFruDLTG3ayESMvooE2vrqpup6lqUQ5hmVW2Q5ylnjSRt+LT;20:68k8WNeVytYB6MXBmj/Q5zFpi+WYc8frYCwnYhndiiZuukJtYoTcB1qlFtMpNUgkpLIqB1NJ6GoGe+fN+lqoNW8iAtQJQL4csTJ5fBaOkO314TO6+TE7wzzhfE6YbiCqdNYWb+r7wjMpwTrQGRAfEZREahKXY85coELlHMp9rN993hJ6PI/UooKg+MdJ8kEdR7el5NQjEN5WXzMBTnOc1FLvq20FA4enNCKQE84+a4V2FsxDzWLBocZEC/kgwOFGJWGKJWGVUpYLhKrp76iuvCT2cEcNDNiYmtgcGTiHnzmm8Yb4H5G3iGveWJqyoIfnsiOB5ofF/6CZNLnq1KgdF+bjEgBfw0hHePe+d8sbgjsOsXkFgFJIjjHIxVm9+t/LqW7DBsYlyY5wbc3RYQj9alGoBRy5qMILZk/MfXI8/a8I/yOgX7FD7YbkTIPjkp/K52UNX3F7UaMMm+sRbBwcLk3EIIm0905J/6vfhTvFeVNCyxFQTxX+NMA+jDFWuUUC X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(20161123558021)(6072148);SRVR:CY4PR15MB1189;BCL:0;PCL:0;RULEID:;SRVR:CY4PR15MB1189; X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1189;4:ax82CD3AlPTrdbyiev875la3YRQ9Gr32NWSgntjxsb2fYbUjMb0N4DaCQTdO1lxWJYvwN7X9dXWqzIQpT6DsHn8EqNFKbBpQmwFlBNSVvpX/0bcqmFbUJxkbzdovVYeI238Z/dB4v8eDRsQORvHbhj/2iYmGqm9NU4tr8mtEW9TY2jQtcU7SXwnG/75zm0Lyph2CTpg8rdm/s66yM1QMmGQp55KH8u7+CWasvMWPcHFcI4ksOMLdt1bt61Vi1iz9Zq/PCZdnVLGiQBbJB1llsi7L2B1pxfByvhdg9i/FGOME8E8/ye4/wowfD+75P3lSIc2GXfk6livE9jY8L64mNv4baO9oFGa2rD7rnpleohfELLE4qTu/GjAgNHNi6E90aUzCveEP1EB8l4rwp1MZaqAQZEYP2YQV3oENHdSmjxEm9m+/xAGjomNRYafrOpnD+u6QRw0z/46NSXznASI5vn8T33j6z2n15KteZcLUvitAvQw+eJwrVE8nGFbWARjnA0NCyARhiEhQov5ow0sjViAdKemupIZglVJx4tA5128TZ4iAO5fcJ2p9xo5CSaHAAjQe0b/26qTXM6R/5HVtjdKWEaH/n4moYRosu5YJzdw= X-Forefront-PRVS: 01559F388D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(6049001)(7916002)(39450400003)(39840400002)(39410400002)(39860400002)(39850400002)(199003)(377454003)(189002)(24454002)(47776003)(105586002)(64126003)(6486002)(5660300001)(6666003)(86362001)(77096006)(117156001)(76176999)(3846002)(54356999)(50466002)(31696002)(50986999)(2201001)(90366009)(4001350100001)(106356001)(31686004)(65956001)(230700001)(4326007)(101416001)(5001770100001)(2950100002)(305945005)(65806001)(7736002)(42186005)(92566002)(6116002)(189998001)(83506001)(33646002)(97736004)(68736007)(2906002)(81156014)(36756003)(229853002)(66066001)(8666005)(23746002)(81166006)(65826007)(1691005)(8676002)(38730400001)(7059030);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR15MB1189;H:[192.168.1.129];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;CY4PR15MB1189;23:Mt7fEOUxvN9G3gmqrcH+PEPkhbz2+akKmfhqp?= =?Windows-1252?Q?e30OfCMoiap9VqyxGt1fL0axEB1TxMoYxJ3Gai8YEwCePWZmM4D3kCFH?= =?Windows-1252?Q?tCRT/H+2UNISpUT6zJtlFtuEajnNdtfvK/0Ho1j496PoXhsGtQ2R20lg?= =?Windows-1252?Q?UijbOeptwnHFJZbYhdMNTEEg2efQHaiXwawsIjMHUEpv7yWlWntRP8Sg?= =?Windows-1252?Q?kTZqdFeaOJsixK7elX0WimNRY1opxKiN/ErWRJi3hZ+0HL/zMWjMvBgg?= =?Windows-1252?Q?gUqbUa0SqiWtqN6k2CS7DF28Vw5hporKFT2m5UGw8KuURD5H65rzu8DR?= =?Windows-1252?Q?9EowLRcHFj+iL1C6mb3Lvo8kqNzum9eRNcGx34sI1cEI8lwfO08bPUHk?= =?Windows-1252?Q?9bZEfR9WcawfdxjcHf/gfEij1O18rbC6RS/NvPwN9sbO1JCss7oXERcJ?= =?Windows-1252?Q?aVHzogGGoqAGoqP6fJhiJdXcfUDXlOdXPYnhJIkGsQjH2y4rrcA6q8Bd?= =?Windows-1252?Q?Jb//dI0yV9isU0lCvrX4H+wZ2wwq/G+d57mzZVPmvSexfvmfm0Z09N02?= =?Windows-1252?Q?7VzK/Qc2+kryoqCb9JJjSEoFHfzRPbZbjO1WSNEtiQo6EyUrOy5Qy3uk?= =?Windows-1252?Q?K6GEvYPOjeYBI5JhTt19QHkf4a5bCihiKwFHVnDqwMPUpuFola1l0krw?= =?Windows-1252?Q?Kt+fhZ2W4Zujtb1XoCiyFuFGhtthWyHL5hNukr1rOYI8lGZSNM5YfXZR?= =?Windows-1252?Q?cEL+5j3xW04vlw4RRr6GTk77mQzDpnfZ1ckEZHN6T7GiazxvKOm4L+za?= =?Windows-1252?Q?7PWiXoNW1oIgzH2DAv4b+NcqJXDYHs+i3mJ1+DhsvVPTjo7wSuI958Ow?= =?Windows-1252?Q?siuwNLUuTm5wFAO9RuYF6p4omoky5CcNMvuyk9uU39ve7LR43ILhQc4D?= =?Windows-1252?Q?UZrjjejRaBfjyoRNb1kqNYE4sJWWWlPXUB8VtFxr3Mo6JoV3ECF8V2Oh?= =?Windows-1252?Q?mNe/gsHj228gfE/PMHo7+KrdIJbKUxeS712YK/nPt7oIo0Rr2TcVrJ8R?= =?Windows-1252?Q?H4BWsxQ2HXLJYeLGubh/8W3D0l8e2e1n0WF+AzzLCLedX6RK5T80+VtW?= =?Windows-1252?Q?tmj0tTgHVTE3T0XNe+NbjKwsefkhabkEqzTlULcJSAisd9PWafWdX4OQ?= =?Windows-1252?Q?wpdXvfLeFR4MrKgD1+XPJv2Kse6mc4J6ZLUllc0MvBnQUmo0FLlAH4pE?= =?Windows-1252?Q?2xXA8J6AsgvUhUYJWmKCFaal7kHM4Mp+yvuMxsZNrxMBZLQRYs+CLkuU?= =?Windows-1252?Q?CGpq0fxBMd80yIIdMtovAQ6aJd67eMSQCO+REGaFSjmZ7q1/1PQd60ji?= =?Windows-1252?Q?ag1TBD4cOfmBPEvbyo8HAeM1s0dq+QprXIV2pREBvHYEF1n3RtBSrZvw?= =?Windows-1252?Q?MJAHzN4nvvdzgv+pyabDc3a4c+LXPCIn9ayt27XowZPHkvimQg6K1Vga?= =?Windows-1252?Q?0G6Fecpx/ngN7M63IdkdsjsqDEKp4IL0+I8bJdEivUtGuCa1P5nOuCwE?= =?Windows-1252?Q?a01c7RyJEx5iYD+icVHEmBgdjR9YQo/rFC1Mgu2F9VYMqLV8DgjAB/uU?= =?Windows-1252?Q?RYxUMIzrCkiilbUZ+0Lyv4auULWpgBCGw7JEVnD7FIE2ruD96hysArap?= =?Windows-1252?Q?lKbdzdZaA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1189;6:PgqD37xBbYOHVZKCRjcaFjC7C/df75p258XqAfIuDg2WaKNnCqp0DeExGeK1rJgoJ9NJZOPo2LkXllOLLSFFcWR2PM6nzswN0JEmA356XDuLgCr007oG/Jn4gltk9lAdGbi5kBf9Zyny1FJUVqowDnAgneR+asPtSAGV8UXIyEkGwhOVHEwG1+XthlyHGWM8CchkqY4Z0evL892jGjK77qsIudug/sDcR+Zv+0B2KTQVq+xR+ZRlH3xgp7Xbx56FvxLWEy5XfyxEPpz0/lSAebmCHTpT7q08y4o/hmGK1gCIO61/daFFJLVaBQ+G4wUp;5:MakyS392lpmERPIgEl7017lFpFESuxSw5tjaThLiYHZvP7nsoRq+Q3gj9cmQ0FFf+zYwp9rJiUPpRjzGVaXXwLBd66jDgoXZB8w/cXQ19ZgcJW7VnHGyV7ZZW+JNjSgxZJkrrKMxULZeVd9ujkvGAw==;24:fOZYZx3zrDhUfkEMkRsx813FGQM2q9jn4Oqz5ZegIB2H+K8dDZv9XGtV3Ql8r1Z9xh1AWnYMtipoywwYYruDRbRdh1C5KthbHYPfmY/Vdik= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1189;7:dqqDwJxeqr0pysISB1vCvkgT3T4przjxXYiUwQRIsB//b0IPlww7rw9+vXIIifszVwfpKeBZTO0mp75Tndrf1ZbREbQrYl82u909tlMx6YD8gUBYlrgtmlnFGcjZzSGpb0nrhq79uuaBY1TWlaYEFSsBlhnco7ulMi+IPuGSV4h0a3kIHO937QZkkgLXH7cDbUMpn85FZWvwgq7R8uv9YswvpSH5VcpJcx20NHbir0AbDr19Ux1hdPg3EiwCPsTFM1cb84qh6kKJQZTl55ZE+1T9FQU/qY0ppbf5EMI3H4Pj5CN71gmdivnzPylbv2QyY8+L/PxcZx22Td5Mq/PzC5hcf1m/njZJvTvipBZDNCA=;20:zdoPFClMxCWQ1mL7KsgRPYPrmVki9qdZ5khwAk8YrPEzoMCt7hygt75RRJG6fdRb4azpesZcT96lOzpRa3CdcberM3QDt/+crv/bTiUDzAeUvlgZKyG0C3gr20jfdxFwOKf/pjcc/O4KBa7V9xWvyzp9dDIpOI+FZ/04gwdDZmA= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2016 15:05:37.9950 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR15MB1189 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-12-13_11:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 478 Lines: 17 On 12/13/2016 01:51 AM, Bart Van Assche wrote: > On 12/08/2016 09:13 PM, Jens Axboe wrote: >> +static void blk_mq_process_rq_list(struct blk_mq_hw_ctx *hctx) >> +{ >> + LIST_HEAD(rq_list); >> + LIST_HEAD(driver_list); > > Hello Jens, > > driver_list is not used in this function so please consider removing > that variable from blk_mq_process_rq_list(). Otherwise this patch looks > fine to me. Thanks Bart, this already got fixed up in the current branch. -- Jens Axboe