From patchwork Thu May 25 18:43:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9748909 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5A6D260209 for ; Thu, 25 May 2017 18:43:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 510C52679B for ; Thu, 25 May 2017 18:43:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 445572836D; Thu, 25 May 2017 18:43:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA9A72679B for ; Thu, 25 May 2017 18:43:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1036488AbdEYSnn (ORCPT ); Thu, 25 May 2017 14:43:43 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:52996 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1036479AbdEYSnh (ORCPT ); Thu, 25 May 2017 14:43:37 -0400 X-IronPort-AV: E=Sophos;i="5.38,393,1491235200"; d="scan'208";a="21570879" Received: from mail-sn1nam01lp0115.outbound.protection.outlook.com (HELO NAM01-SN1-obe.outbound.protection.outlook.com) ([207.46.163.115]) by ob1.hgst.iphmx.com with ESMTP; 26 May 2017 02:43:35 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ByJqjsFWXwBhvx4ONyuRA14v3RbLsMd3jOKL3vKCedA=; b=lmk4y6LaVuI9Qooe+k36vDiYaNPPKfKVNkYWPsTSzqs9inlh+A8fBmi8+gyyVuZTFXVNU4+ZJYkPW6f+CLWYZSMfT7u0x9Mnrgkiu5TcAOFSnear8doIV1blsKtCdP+Qv6UZrUmCDzVN/xTHqKmDBqaOu3H7Tn+fk4K3ChRVSLU= Received: from MWHPR04CA0080.namprd04.prod.outlook.com (10.174.173.21) by BN6PR04MB0354.namprd04.prod.outlook.com (10.173.198.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Thu, 25 May 2017 18:43:33 +0000 Received: from CO1NAM04FT016.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4d::208) by MWHPR04CA0080.outlook.office365.com (2603:10b6:301:3a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Thu, 25 May 2017 18:43:33 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by CO1NAM04FT016.mail.protection.outlook.com (10.152.90.168) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1101.12 via Frontend Transport; Thu, 25 May 2017 18:43:32 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id F6.BC.45291.3D527295; Thu, 25 May 2017 11:43:32 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Thu, 25 May 2017 11:43:28 -0700 X-AuditID: 0ac94369-166ac9800001b0eb-16-592725d38b73 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id CD.E8.11415.0D527295; Thu, 25 May 2017 11:43:28 -0700 (PDT) From: Bart Van Assche To: Jens Axboe CC: , Christoph Hellwig , "Bart Van Assche" , Hannes Reinecke , "Omar Sandoval" , Ming Lei Subject: [PATCH 13/19] blk-mq: Fix the comment above blk_mq_quiesce_queue() Date: Thu, 25 May 2017 11:43:21 -0700 Message-ID: <20170525184327.23570-14-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170525184327.23570-1-bart.vanassche@sandisk.com> References: <20170525184327.23570-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCLMWRmVeSWpSXmKPExsXCddJ5ke4VVfVIg0vqFqvv9rNZLHizl81i 5eqjTBZ7b2lbHJrczGRx+N5VFgc2j4nN79g9Lp8t9dh9s4HN4/2+q2we67dcZfH4vEkugC2K yyYlNSezLLVI3y6BK2PhtjksBe+5KhqbVrA3MDZwdjFycEgImEjMbTbsYuTkEBJYyiTxu9mv i5ELyN7BKLHs41FmkARITU/vREaIos2MEtMeqoHYbAJGEt/ez2QBsUUEFCR6fq9kA2lmFrjC KLH28nc2kISwgLfEioc/wQaxCKhKnF5yixFkMa+Ag0R/pzvEfHmJs1t2gpVwAoW/TL3IBlIi JGAvceKGI8hICYFFrBL7Zk4H28UrIChxcuYTMJtZQELi4IsXzBC3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Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39410400002)(39840400002)(39400400002)(39450400003)(39850400002)(39860400002)(2980300002)(438002)(199003)(189002)(9170700003)(86362001)(47776003)(6666003)(110136004)(5003940100001)(305945005)(6916009)(76176999)(2950100002)(50466002)(48376002)(189998001)(50986999)(53936002)(72206003)(1076002)(38730400002)(54906002)(36756003)(5660300001)(356003)(8676002)(2906002)(106466001)(77096006)(81166006)(4326008)(50226002)(478600001)(33646002)(8936002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR04MB0354; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO1NAM04FT016; 1:MhBS7ycw0iENUwPbFTfyQ6Bn9xapQ7KIUGuGRr9Hfkj74BgP1yg4vqqh6Dlg3622kPvwJ2g1MwjHwKtx6uVQR83Mwk5Z+9vLljGBEGkSVlC2vG4gzs/2eTHILVylvKVmJgYT01ds0QPs7kE0o8GL8qXkxwIhbfLv1csdEIO8xmrS0Om0cIlDCvWqPcLwg9JL+xqd/fjd0EJIApiZSS5Wv/0nVj7nYKlel/d9z+JeU48L2/jzAbS8QUw4hWY6ifOgQ5AZIT7w6gLZ+2lEICOMkXuCnj4cTvgDXpVG3Dd6U+gZzXQQlraQbUcxgGwaFyjFDy+R8ku2qcJhzPIW0y+ppGriMwh4UIDAkYWpQ6SaL68ZOVqCDRCdc2q06KWp/vb60QcV9zEOyGexbHwqQCBuWeGaSMAzmYSVK0/yzonaO0/xgMn94P1E/05BhmDuZEk9m5KT290SOR1uPksbb8q2oIFHmsMeY7ZoGKAqD2wtS/ntVkS5lwoHOpHWhQjADrkHp5oTB5IB6xIKWo6fNaKN6j0+FkOwE1nG6FkdOlheDu4= X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN6PR04MB0354: X-MS-Office365-Filtering-Correlation-Id: 2600bda0-fa19-4941-d613-08d4a39df1f2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:BN6PR04MB0354; X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0354; 3:mjJOmNrVzsVZe8Am/JTyNp0yKVeF11cKrq00g90DXuF/Mqfm2i5GuwJOhKaDG1tR/JTw7VB0ro9G/aCmzbSlsjIYsmZUXh0r4uT/iuKTS5h+SJAU9YvaEOQItNRmFP4nZ8/uMfT+eZNScEwxEeWiwu3P9qB82FRAeh+dFMlVzHfE0OUxFIaT0KHNSimofK1hOjoo8O4FNBG+qC/kdUNt2wmTrR2CTF8prV9Kv2NADjWugxOYFOm8Z3aswoLjKdcrF3vTLMXGZRbiJzwdefS3k1XrYJhn47wjlcoIgWsujq7oWudE36+7LmTctYxi1P6szL4BvhsdpzlFNfabi3E7rDhHCL6S55mx/asRjU1WwdAVyLzPt2ffGkcA1oZwVJbi/Zxay22VqJHDFYlQECtE1VPcmhJg9WRZlNPusWUfcg19Efivsi5HZJ+Dt7hZ/jE0se9xvGIbz3v6zHEpYwL7BGPICsq2WgyanS8R0vj9rADe79f+vD7T6yIvhb1Le1NQ X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0354; 25:VzOrKo8DQCo0inP0x57KakrywObDsmHYQ/pEf//z/Dlv2W7DE65fE0P7Gl99AVUF1lqmmRwHu4LCWN9XlOHEWhgYO6FK2EsXJXxPIbhCHwotG9gO2uTJpFbVIuvtgJeB842tcsHU6wR05a9FyKRC2OxiFMwAmFdUpP4A72Ott/5iYSgnOFr4aJLCgXmmBB7Tb21RpjblgWzRbUR+b50kHBbGKTPDnZPE50a70NPHH172MU4vJurY8CSbi6CtAzP6DWtyppN2LJH0DrHrI5tywlS8brmP3KbJ8Dc4lWmaiIzF9WQdXECDcFWVSrtoRRiHwieDL1IxlUul6XriDJOjAZn7ELaVfd659act8l0eZSjB66Bpw/YOklYE1r6e3Fzs/vXfhndu974WI8rsTWE1v2lFcOrUYBQQS41gpro0HjD1rvjAYaHsfzU+ldTyTDL69Na1PibECtQyzNRj9ErhWvFy87wXM7R93yfIyt/DQRU=; 31:pooiVmHKYfvsDKKf9M0pAQJ+Wb16tTKkxszNCa29lrNLeyZFdzC7xwZLD64U6EEGZLyc7qtF0ysE3OEL9wwqDu27b2zNmoB+aHNpzDS7BH+07c7cDS+psDaC18TIpNHbRGAah75aQHNCIkfBSeWmc3KbSM9Kt+87mlB5aQJIfiY8erP32W0w8ke9hcHReJ2R8T/k3Y0dma6II7TdDiFgYGvd1zCvDZdkUkiimMUF2XF7NjZXuZL2wkZkpYxibsFh2Bjkm7QahPHyV02pZkfswQ== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0354; 20:bQnuFgTbFyoyc9k2kl09JbgAGteZc2on7HQpKGmP7jbvo1QKRO8uTGbtPzXISGoEXzvZjyxkF/hXuI21vpdhcuKKuX7N2N9ls6s58AwlD9L+ddbUOTNGq0UTxYlEES2ICCCsos6b5bU2OJjPR87RYMxENVny4Llca93dWmuIuu0m4ttZ+fYfMLCIaGJ105ZtKT037/G1Na9Hl+z/ZGPQzA/ZYCdy+KvnFz32viOhuH0bDCKoVKCOik+h8riDDEAS3GAFlBPwS9PKYbbEMkIjsoVcAeHWt5HbjHiupzNd7/LTS1BndCQDtdjK8UJ5q5xYy0LNzAEuv0luwcu5u1OaSgbzetQoa2HosXeDrX2hIw5prkB2UY4CRvxr/qCC9JYSy8eIcJIc4skht4Ta0Oh5KzVNOe4+tWhsTeRwLhX4ZARdh7RRf/h7ytr8+1F4HQk0+jDrnlWdWKNeMRuPsmHgX3/h4TCinqFznltQ2mwwvza4JDuUoGcDBSPNIo+TwJ/o X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13018025)(8121501046)(13016025)(5005006)(93006095)(93004095)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(6072148); SRVR:BN6PR04MB0354; BCL:0; PCL:0; RULEID:; SRVR:BN6PR04MB0354; X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0354; 4:A3A/t7FAFBiQssVJ5WcM/6K0/e3RnibyLoB7LMbwQi4oqk7glmxxjzolCPg1+yIRTVw8JgBAWfae6v/orY4muJe/+3FPYTs5teYFOSJri+rFgsutUYlFc8tn96k9sRcas9C7kIYuUUxj3FZHJhZm636ggGHEIX81Qjq6xiSeFEOh/Ry6vvfe1dCuWjHIm+gfECm1iBP3qKMRP+ixtZk2CgvXPYOJPOyd5KL8m4HY6sylPLl4PspYOzCi1b+zHghHkWOWerL8xzoOM7kimovWtZl36iR6PTj+dVPRLcUW83Wy24XW1cEErMIaQEMqCKec77Wu2r3bFjRRDfFjrsMscrPCwnu4CdFrVXWU2YzhrCaixGRFyN3b9rOn5qmITE82HWQu1ddh8D24FEeIgbQa5a7plboGsGY4b9MED56zKOaSzZKYJuJj5UZ31+F1AikbmDKo3OeO2a82FSuKuPBCZrtqufVMzNdjEJYC28gnLk2XDgGoFtjdEAt/hvqxwbnnVeAr/pb5/AnUqKWQxEQ2d1N5gg5CrS4n4VFa39XxY9r5der5C+4GBoj2P+jUFEeQ0bAmK+V20uLO4DzxUwYXS1UwwwPHES4YEKJsgfxkWc7Hqj8XGaFmqWOWakHU4WkK5oSGw+9irA1FErIay0VS/WRuAEqhKORFj8nh0c5B3dKdjRQ9syJxy8pbDQscVq+1O1cl6BTRZq5uo7c7n9hxybsvJzFZ2nP6pf8XA/mHd7Rsp1NYZpQYs+88GyInW6YBxB/dCpnDclN7sBKhzlZqWHO0p0gxL9ui8uixjys6b7sFKLvJ1b84gcEGn0Wf9VL8AqDbhcHCcwOrARrvOVRMWJiuWD9+4/lF/yRsuGQjUME6x98FyYlr1zdVZUVNd4kKWz6QgKNKWPysdxXDGQK99VVQoePvb2HvEx3FnT0rVZ c= X-Forefront-PRVS: 0318501FAE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR04MB0354; 23:oAJo1bXaCDkhhCMPlgDSrZWDchw8uQtZ4udfUWDur?= =?us-ascii?Q?lqK4m3tHVwYT8ZHIhCqsmPOc04YYKXy4tbmiVDp7dCWE/IGweT4jwHLHPtpd?= =?us-ascii?Q?tCsauxjXta0y8JKGP3hnYswvxgthZeZYIMldoUnXo68rs20hja/LpjcJC6Oi?= =?us-ascii?Q?5yVon9SaFlNzsizwRFpnb5XKdrN6w8p+U1qd3obLp/h8eoMVKKgqKZHimm68?= =?us-ascii?Q?V73qE68Keke2yjqBvu3yZsILF9hZ8Q0848RGrFI8VD3uZIYGZpAoFG+WMm/D?= =?us-ascii?Q?ImcCQLRMtIt94tWJY1P05rgooB7vVIBTNSrxeeY0DhSqIbjywTCwsF48ixNT?= =?us-ascii?Q?b7Id4LUQT9xMS9VAZCGpUA+GE34bCsjgjZ95kFvDAsqMHZMXC8OXa3APsg86?= =?us-ascii?Q?GwPZNIZeFI++IK6ly0Rsoq7PShRMz3/LNF0wSjM3GYYptEro5Zd0hIKnJXId?= =?us-ascii?Q?KFKT+6oUdAQn8KXIYx+1egwVQmQtuC/daQUQZk3La6m4n8oCNWJcsa8/Oz65?= =?us-ascii?Q?vp/4TvzgnOlqeBBs7orhJ1rQbySF/qNQHV2yltnsWtw6WR+FeQayjvBFiYK7?= =?us-ascii?Q?zZX1CRQlZVKj7Mkb6h/D/iPiyk+Ao/MlIQpeWmTyVwxwV8ewRQUeNIJCktjg?= =?us-ascii?Q?GM0cinqLFyEuJec8qEvpqJ5m+81MApy7msyi9f2tLP3PE8+cCdKxV+w9IrBh?= =?us-ascii?Q?196xdS4/AAc8XTXygQdLMS5CmplED8g6bPZyGM71WBi/N1ZEr8pN8F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8OvaVoKy231h7Zmuw5tdpHg5gm0n9qyOyDl9jdlSXgm8SoL4r9Gkq7gxOCHnOsDyNqtRUfjxPWIkf8ccRx9/aYkVOI5MNl0xq05102Nm+/URSjiRoSslNbv8Lr75if0m45mO5iA=; 24:EDfSfkU2a/kZaXtAZL12zgJED4Tkx8feW7/C2zfCPbcXjmtJFAjGH/nMeKYjjTjfrlYKOYqbln4vDfKIWwy6E+Y3sQhavRHk1uQEJQl6qaM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR04MB0354; 7:s7WIHmFtP1g1pfrIRnKDD73OKC1p7moS3svcRIFyfybVmVqNcGRN1HngKN4Qe10p1xcxgis78QIaglRRbYBXdsLtCDSxp2QOZ4xvhxKsW7DM70bu+TPayk/fjPcs3RDpwEwnIl+n8xUr6sdxQWOzxYbVuStGUy+gW0jSor6C9TaFp2bjx+fECQQYWRINxl6BvHCQW1e+ToMNs+mdZMIdRifrf+PZX2DrPcdKRuZ4d4FkKSeSBDeKA5ThqdBLjn7IlLYZyQFArFW5vZSNqJs0FYstI+bZvmKM9KC2KUYkwmXjYUcIwvD4RA2LDwDTrGGVAxhGniJJ/rj8H9/g+bZ7CA==; 20:uFCT4cFafyxd3tah2h/T9LKdx7r5XCNNpK01yju+Dqb3Fg2ITKMTk1+/i4wrnerVVoixtaf1hzG/SRobE8l5GmT9OsdgeXRM7Zb/mNpJkdw1tmpgqqTICz5VUuIbXQvB887E/HzebVau5i5c9vsjiYOrDE9b64Je0KyYud/liRM= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2017 18:43:32.6748 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR04MB0354 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The first version of blk_mq_quiesce_queue() that was posted on the linux-block mailing list waited for ongoing .queue_rq() calls but did not stop the request queue. The current version however stops the request queue. Since the comment above that function still reflects the old behavior, update that comment. Signed-off-by: Bart Van Assche Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Omar Sandoval Cc: Ming Lei Reviewed-by: Christoph Hellwig --- block/blk-mq.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 1fcc20df1a4e..b230038eba1d 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -155,12 +155,11 @@ void blk_mq_unfreeze_queue(struct request_queue *q) EXPORT_SYMBOL_GPL(blk_mq_unfreeze_queue); /** - * blk_mq_quiesce_queue() - wait until all ongoing queue_rq calls have finished + * blk_mq_quiesce_queue() - stop a queue and wait for ongoing queue_rq calls * @q: request queue. * * Note: this function does not prevent that the struct request end_io() - * callback function is invoked. Additionally, it is not prevented that - * new queue_rq() calls occur unless the queue has been stopped first. + * callback function is invoked. */ void blk_mq_quiesce_queue(struct request_queue *q) {