Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933844AbcKDAOl (ORCPT ); Thu, 3 Nov 2016 20:14:41 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:57004 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933372AbcKDAOj (ORCPT ); Thu, 3 Nov 2016 20:14:39 -0400 Date: Thu, 3 Nov 2016 17:13:54 -0700 From: Shaohua Li To: Christoph Hellwig CC: , , , Subject: Re: [PATCH V2 2/2] blk-mq: immediately dispatch big size request Message-ID: <20161104001353.GA58908@omida-mbp.local.dhcp.thefacebook.com> References: <05e8cb8c7e09903c7db36e81a6bbd0b39b24deff.1478217670.git.shli@fb.com> <6297c9a39cf21c94c65d5a9b3a19e54ba5b8b573.1478217671.git.shli@fb.com> <20161104000954.GA10266@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20161104000954.GA10266@infradead.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-Originating-IP: [2620:10d:c090:180::1:10fb] X-ClientProxiedBy: BN6PR20CA0024.namprd20.prod.outlook.com (10.173.158.162) To BLUPR15MB0402.namprd15.prod.outlook.com (10.163.214.148) X-MS-Office365-Filtering-Correlation-Id: 46238e27-6053-47a0-b615-08d404477cfe X-Microsoft-Exchange-Diagnostics: 1;BLUPR15MB0402;2:FlLfCvLpZngzIi3rxf5iTT0HHzLNhEmqIJWqKV37GCSw6KoiusynphCNekRO3rhg7CMNk+wLvLuiUpQMlhEZnb4M65FRR5ZqDq5pht4DCm3ZICtAzvnE16OMIhx0iK8fhycZsOIQOacqFZF5axq5ILs/ri4aaY5GogTfCPQd72HMHK8JJEnhGVqP1PQXmsy/lOl4M7qWyHpHDwLpYhpKdw==;3:rn/+AGg3sr+zEI/9iKlffrNBMyDj93aJZIZme6jNj008bmv5MmTwLxBlRbjrpJIuLM50KFM7DQXUw5exspblrBRrgEs224zdWwwc/+TdSQJYocYQLGlwkjx3pLcaQpiNJ5M7nS0dGwoeTnMFJ8dc6Q== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR15MB0402; X-Microsoft-Exchange-Diagnostics: 1;BLUPR15MB0402;25:A+MP/Zr+PO0D2SBt+g4QNen6Oz//BBtF51WhwGxuUh/M0G6VHG8MUguEmueY+RGpVA0aObJyaxu723hII/I9HcGjVxpqLOmEEd16CaN3Og8Ed8yeJIStgq7dLtDHvnSdDRgilRagXIFDd/vBsLwsq6KLpqei+H7UzYWWRg4iGhfIDfbY/EHReJOBm0lSlY6zwIZre9NdKMoNIDSJSXq4la7bb/ziPi2UHsk1XY7cDgMppyjBhc66p3n2acUDGbbeV6Q0QrOL4fZ0XfjDXy8ooSQgOTQOrQg50pq9XRqcHhDEtUr3qYZf+PDfLfwqVOQXI+fipmlBzeyNniBoPdL3x0ZqrIVNlG0OAQQPq8zyF4BzNzWAxcEmtSuHs7fgISVYBsEq4ye8Z0ovhqxOuvVDB/6Iv2xHMKLOur+XR6AQ+h9EjEqIUL8hRADgAsk+HO4kaC9kz7dUFzLfWCV57RK9raj57ziKMibTt32NliT+SNT22BS+AVxExlD0+/6qEQjOB8e9IbzcPpirzXDL7uxL0roBu07TG7whYnS0xzdP6AE7Wp1NNYGP3tzzGlc5GU5y5zLM+lfPGlbu6Uz25e7yTt184y64Fthbf8oTEJkgKJ/nxs2IZ9F3umJICZsXkZI3p68PP4r7dOFXhXADD03nUeEtXsgOxyYL9nCadX7g7rUWsXZ9ZonH0T/58UjB8O0BiTho8sbSHIXyw2GS25D6W++/VfT3jtqITRALs68cXHs= X-Microsoft-Exchange-Diagnostics: 1;BLUPR15MB0402;31:A76r+nZQQS75a/Blei4pdtbEU5SjNQRseixwHWou2Dfvf4wP40mPbaWWYSGU3rnX6AYWOKwWrbaLT6J7R97PEL0F3DDm3VJg++BCDXlbBChTkaQCIGwdkHIgCostHAeEvGfwVkeWsmsGjJpnWdS6ZZXfBV2hRUuh140CGfmiN7LRQ9USPAXS2omlp7b6eUKRCAK923nA0drPFjxvOsJFrJvzE1ZH8cHUOuZ4c779+nysDU3fkM2LskaVb+VTp3vQFbAWFP1CxGLRVCQsbU0GCQ==;20:idueY62Z6sKQNYAF+xqgbdq8u2Jjb0zSZsFh3Dssvc1aIydTKYN1vyo2GWaemg4PE7WsvKGJBkR8RunnFTPEekki7o+YrV/g1JAXpGUTxZM1O06xpiGYSjet81qRFotu42PybIOZow8Fg74WIeBxhjPSLLcmsn0eAphFRxfO+o8=;4:ROGeaCp7TTtfL/DbyEAOsZ7ybjmVJscHRegu1EqB9e24OQ0u6GdUylhsGB/N7olu5fqsZ9lbUADO/TwsvTSCPkSpZZksdOGZPBBKGGz0OnER/IG2NH22cqhHpndhDK9bycKjgm+4mFtB+/NHOCXbv4/sa+G1P6USpHZgfJTkrbljWiRaMvdewEkUMlvtr7RLfzim5LWbzq3q0F+xoRCkuxoP/alCyO7jY8AMy3URiyIFqDiUMQmC4+SxRwtJ8zMEUCiTswi2Uk5+Phw4RCuEjijiicUNuF0g/nN7TU7hDj0TFFSEakKou9ZiR84VLoVRP2J5h8uAONoS/JFqxgXjcGeuXEE1rjaXGABp8/HVBYixcEeDpW/r2PkTOWjZHsKYD5d2DXLfMeFsnshVh1MyDQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:BLUPR15MB0402;BCL:0;PCL:0;RULEID:;SRVR:BLUPR15MB0402; X-Forefront-PRVS: 01165471DB X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(7916002)(199003)(189002)(24454002)(1076002)(586003)(42186005)(105586002)(23726003)(106356001)(76176999)(101416001)(50986999)(6116002)(7846002)(54356999)(305945005)(81166006)(81156014)(7736002)(98436002)(33656002)(68736007)(9686002)(8676002)(5660300001)(47776003)(110136003)(4326007)(2906002)(189998001)(46406003)(2950100002)(6666003)(6916009)(50466002)(86362001)(97756001)(77096005)(4001350100001)(92566002)(83506001)(97736004)(18370500001)(14773001);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR15MB0402;H:omida-mbp.local.dhcp.thefacebook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR15MB0402;23:e47p+ATFRgy6wbHE06PnNREvm825ZUjdCEqPf5piX?= =?us-ascii?Q?aAsTjMLubwUMvY8QW3vp2HtErf9fehu7G0etnnl2/ClV0yRfuG2bpXgShqtD?= =?us-ascii?Q?eq6msgjnmaRwfftWczPYjzQZmW2UtPXoigJmeaRMD64tWBp22CwvhnklRuZB?= =?us-ascii?Q?eqAZXGFUWV3v7DC5wlz5U2qh2D4zOILTpP5nwNbtu6vOUf1cdLaVyGAcH/mW?= =?us-ascii?Q?08b5R+4cTT9Ekca7Pxg5jsOH987ypn/eDhmU1fNl23x20YuPCClAhUva3BTO?= =?us-ascii?Q?5aSk3HL39mauPmQK2/77HtSJyWtLrVsEBZ9pjF4a1HCgnbEqYdNMwKHy9su4?= =?us-ascii?Q?zrmf4E8nufz5HbUiiDJ1wqfB4sknh4LMI1WLDfC97Eb3KMzOoLcZtEHYs13Z?= =?us-ascii?Q?G+adqixGa25WJCryKqyPQDaa8BY4ExbV5yCaYVRtUNZcgXv+wJFk4QR/goQB?= =?us-ascii?Q?NCz7j7w6z0w5cgpj6h/K2s27qlaK12OCDkDOvvkMmtOvzaFg3tJJFL3M7TEv?= =?us-ascii?Q?Z2RhVBsyUGzfA+C4zecu8PpVOtNDeocQOTXClwKeSW8SGZwyMCWaSk/EmUmp?= =?us-ascii?Q?yKW66ObZrCXZ79QDNEW/W3NibV2EZAifzodqemSgqJ5MIJGmeOYGkEKtxm3l?= =?us-ascii?Q?GsK45LrMlHMcO5Emyuf/kA3M4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Z/yE6KAPToBMQQVnykWZ9J3I02ee0E7szjiLHgz1uOxjqqL23EboJKYs+RULv5q+jgoSqn43iG0YCFaZZBeYq1vTk=;24:73g5/VTt189N41SR0KQ4FFlo4mc7c9CTcXlyNbfbszWBgwM31akDsQ3xBzgKKGcfw9P5wnGHOcRwx6ky72AlhGmxR1wSMqrLnQdElWFHwF4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BLUPR15MB0402;7:Tnx9gR4Mt6+yheAbrEF33ds/ihNztElH/QueNtG5V/hLUFQZpEAF3rOdFRsvxQc+LziSLt9iwU4bbz0Q5ncbj17QLu9HeAjCqjCQ1W3JemX+R8A5a9SpJdCvGCJe/uG0w4CI1yzPj1AyvKY83/TeaOP54ZCgeu7daQIEagV7gmELPiT5KKy4jYiQKSO0LmnvJvwL9S8XiJ2ky0uv1bWnDMm6vPabdq2UJZmdl1RGhU+p/xsdi+PyB+AX0O8ElGRh9fDR8o0nY0zao6hNrtHda9k8svc7kAtvJNL+3adbCfYyQ4Wh4iZRIJYABWJEGDFNe/Nynl7MQlAxPQQhnZInxf8jUS3tdhAS35arDB+7x4I=;20:SKK6IULbpvqDq0GiaQWzdUzb7XpLRezcL7iL1Jz4TaGT0YGugnreE0ry1rmG6mJqZgUzyV/YPuDYMtRt7RekswRkb9ENJCMH+BYlDYKJQknF9fToCd1N3hBNYMeaalLAKasOXN8nXTBXUaUVcgFBy9r6zxkhZlrPGW0v1y1aXqA= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2016 00:14:04.2931 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR15MB0402 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-11-03_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 448 Lines: 13 On Thu, Nov 03, 2016 at 05:09:54PM -0700, Christoph Hellwig wrote: > On Thu, Nov 03, 2016 at 05:03:54PM -0700, Shaohua Li wrote: > > This is corresponding part for blk-mq. Disk with multiple hardware > > queues doesn't need this as we only hold 1 request at most. > > Any reason you only do this for the SQ and not the MQ case? Right above: Disk with multiple hardware queues doesn't need this as we only hold 1 request at most. Thanks, Shaohua