Message ID | 20170608173355.25898-11-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-block-owner@kernel.org> 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 E8306601C3 for <patchwork-linux-block@patchwork.kernel.org>; Thu, 8 Jun 2017 17:34:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D09172521E for <patchwork-linux-block@patchwork.kernel.org>; Thu, 8 Jun 2017 17:34:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C53D327F17; Thu, 8 Jun 2017 17:34:34 +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 A4DB528553 for <patchwork-linux-block@patchwork.kernel.org>; Thu, 8 Jun 2017 17:34:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751499AbdFHReX (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Thu, 8 Jun 2017 13:34:23 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:33203 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751382AbdFHReG (ORCPT <rfc822; linux-block@vger.kernel.org>); Thu, 8 Jun 2017 13:34:06 -0400 X-IronPort-AV: E=Sophos;i="5.39,315,1493654400"; d="scan'208";a="23819205" Received: from mail-bn3nam01lp0176.outbound.protection.outlook.com (HELO NAM01-BN3-obe.outbound.protection.outlook.com) ([216.32.180.176]) by ob1.hgst.iphmx.com with ESMTP; 09 Jun 2017 01:34:05 +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=fBQjxWPTpJaDkcCDdytGjo649lOaHPW2dlsTnaFYwiw=; b=NPleLR2ws4/eH1XUc26Ds7JxPVVZymo6DgeSXIrs2Wm6kRELFZFwrH0ZxegexkjBDq06Gv9usySWixMMN+dc+rmvVmLAYwezpGHxyDNU0yUg4BtTyLB3ePrMXwOV9usjKnwGqLaKzv0ejga/yGaXh6Uvz5iblR5p8x3+w/DeE8s= Received: from BN3PR0401CA0030.namprd04.prod.outlook.com (10.162.159.168) by CY4PR04MB0407.namprd04.prod.outlook.com (10.173.188.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Thu, 8 Jun 2017 17:34:03 +0000 Received: from BN3NAM04FT036.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::206) by BN3PR0401CA0030.outlook.office365.com (2a01:111:e400:51d1::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12 via Frontend Transport; Thu, 8 Jun 2017 17:34:02 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; lst.de; dkim=none (message not signed) header.d=none;lst.de; 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 BN3NAM04FT036.mail.protection.outlook.com (10.152.93.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1143.11 via Frontend Transport; Thu, 8 Jun 2017 17:34:02 +0000 Received: from MILHUBIP04.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 2E.59.51736.98A89395; Thu, 8 Jun 2017 10:34:01 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Thu, 8 Jun 2017 10:33:58 -0700 X-AuditID: 0ac94369-6dc8f9800000ca18-08-59398a892887 Received: from exp-402881.sandisk.com.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 4D.E7.18148.68A89395; Thu, 8 Jun 2017 10:33:58 -0700 (PDT) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Jens Axboe <axboe@kernel.dk> CC: <linux-block@vger.kernel.org>, Christoph Hellwig <hch@lst.de>, "Bart Van Assche" <bart.vanassche@sandisk.com>, Hannes Reinecke <hare@suse.com>, "Omar Sandoval" <osandov@fb.com>, Ming Lei <ming.lei@redhat.com> Subject: [PATCH v3 10/12] blk-mq: Document locking assumptions Date: Thu, 8 Jun 2017 10:33:53 -0700 Message-ID: <20170608173355.25898-11-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170608173355.25898-1-bart.vanassche@sandisk.com> References: <20170608173355.25898-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBLMWRmVeSWpSXmKPExsXCddJ5kW5nl2WkwY93/Bar7/azWSx4s5fN YuXqo0wWe29pWxya3MxkcfjeVRYHNo+Jze/YPS6fLfXYfbOBzeP9vqtsHuu3XGXx+LxJLoAt issmJTUnsyy1SN8ugStj2Zd7LAU/uCvWTVjC1sD4m7OLkZNDQsBE4tjCScxdjFwcQgJLmSRW PHzK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YFV5mtXJAUd/K66+2bl/mMO8XMeJ/Hs1tHz e2i/uVRxm9TFYsGLp711nnj9uGGcum7upVjvLofJ7/y8TxRcnj1TP7R+lWFswpei1Z7uLhLT ei/F/5F8eDQx5/rPFo6LUUosxRmJhlrMRcWJAHBlKNvKAQAA MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39840400002)(39450400003)(39400400002)(39410400002)(39850400002)(2980300002)(438002)(199003)(189002)(9170700003)(48376002)(8676002)(5660300001)(36756003)(77096006)(81166006)(50226002)(8936002)(50986999)(2906002)(86362001)(1076002)(76176999)(356003)(4326008)(33646002)(54906002)(305945005)(478600001)(72206003)(53936002)(6666003)(6916009)(2950100002)(189998001)(47776003)(110136004)(5003940100001)(38730400002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR04MB0407; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT036; 1:DXvpVw5csG8M26bjhCM7uWkbsWpUDsDMYyBYi0EtchlfOY3IzMiFs+Z3AspMqUw0xDl42IiKW1Mkg+9gBob/AmP6SNQVQdJNH0N3VRh36Q3Il9FWir2OhhC7bYvBnNg4tTp1Yqorj4xomOXh+5JpjpQ3V2Mq9flUsQjIhBYQCseKAJBx8GfGKfg7H/GH6rd8xhEo2WVRNadJW3NpVzqARSjJZetfl3axl9KU5q+EgKMZjowZpyTHpCbT99DvyN8tVA0MA03Jl1SiuytJ3HigbbCGG6CZ1si35QAPyBzMEj5YiEfL6mZu6Fpf7Gx8PdjaTpsesKTLS/7Bcu7L4FIcf1xfaRjQbB6OL5XVxhS+stYqA4D3jI+DLrSwRgDNnVSRS+4NZ/870fDAexy40BW2EHD/reSGAC2sEeuG90tuWW0l40LrsKl9wItNzHEbNHc7803pA1Q8PBxQ3vVxUo3tXVJdfs7FYCYeh16y/LaxrdnPSmyJjE+a0Zj3Fsz1WwbakHtIfoXMWM9G45hKem9Wf4nOWS3AK1MiN3CLBmusCqgdIazzZnEZOmhhzVMKfoVm X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR04MB0407: X-MS-Office365-Filtering-Correlation-Id: 96d2d93c-f029-4f8a-ec54-08d4ae948df4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:CY4PR04MB0407; X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0407; 3:7wrXycLAlIxD51mkvBhylAXFU197ekgEDEa3k8FD//l1UlZBYMDRigklGWmtP+tov+xxK4zz5QYK0SzXfeL4fh127THpcOPHwKV5AtH4USQJBLDlSiCTpwT9NRKj3CtlH1AEYeEGuMQdHXRqejPZf7GzeSRvSKUm6JVGBZhdrxDBVBczwHzwcDtE6b13J+nByS/GuL47HH3jWW7Qs9v0MBW4dQoMoI0oW/bboOMXUThRC31H4UYO4kJ3mC/3wfshoMD/0hcO3qkP9q3LbT4gAg8Dj1p242r85jDzJ+7tZkIxNqqeTdsjSjgs6SYrequcfvESzMfhj+xg84BFMY6NgHY8Ov8pHgrOyis75AoLAKb0DYNyYT/R7aBJD8lN6tZSvjWVyW1erGnNiY1w0SvQKCl+HO3HH/crHGtFh+9MuonZso9AcliuYEo/QkgdGqwwdsol4WHd+5TbvsrIqDr27IF52fTQzaujjL4tPQpyHSQCuPEGXqmX8mje57jkeUKv X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0407; 25:rTDOhy6jqDERo/GjJ8tnZWm+kgltW82P6LFjMVwoKB+xo93AmusW9sRvOgv0GroWDB4fxKTgWU8XSJngarRRO61B1NL15cYpv5g9A+iZYKVoescwPIK59gytDbs0zKXQ+mumHGSCyGGu3gy84zzIKKL0wSwIdfB5Wy7uniXn5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LJa+tHpffgXGayj09QdiflNkUtZ2s9M0aglxWm1vYuVcOGe1BQjCU6jNfGzsyiiAK79EzHhr X-Microsoft-Antispam-PRVS: <CY4PR04MB0407C752621872ABEE28307181C90@CY4PR04MB0407.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(67672495146484)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13018025)(5005006)(13016025)(8121501046)(93006095)(93004095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR04MB0407; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR04MB0407; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR04MB0407; 4:NE9UZhP/fjPv9cmLf1KTjX6i95cXyupmS8cQ6qJ3VQ?= =?us-ascii?Q?lO11SUIr+DEbn2lH8qLGRIOvzFM5ZpqkT2FXl9cTflHz0en0r1MYhdC53sR9?= =?us-ascii?Q?lMvftEzn4Pw0Supny5NGx83s0T0YzzTrRyNcSZN8tXfhjqXOYd7LYzfPdkUn?= =?us-ascii?Q?ssXWtmVt+BXhhUM5fz5nEN7+uh30OrjyfN/Ro6Y9bQF1ebrUklsILlSL4o1H?= =?us-ascii?Q?gfb7NHdf4pB5AvTdzUSEV7vG9Ebv4BTFFnV2wJ8GhwAkFL/uEhYSaaIkheBJ?= =?us-ascii?Q?fqjo+7W5jFkD/OZknQmIz01wMeyUtDoECUXC78TIq+99Icy+s7BI+uK2jm9A?= =?us-ascii?Q?spKYiZzVbP2VWpfOmGwvKeIcKCeXl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?us-ascii?Q?V6GEIe8SxELC2/QfgECC07GtA7NsBwdVFLMWwu?= X-Forefront-PRVS: 0332AACBC3 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR04MB0407; 23:eaAjOl1lxWiJLqT5vLwIDu1c77WSNeNwNP0U7RBkt?= =?us-ascii?Q?WZ/yf8/oj78kT80oRwrvJCL/5NlXj+Fq6tVGrYBZDj21SzNglcFbHNGTc4mn?= =?us-ascii?Q?3FkgHuMJ+mf/izJibKemkeSq3kaCD9P40wiyd1NWWQOVz12WmweTX7y4vFw8?= =?us-ascii?Q?kxtv8R2F217A/uOAmyFiEl7ro3MP9TKqCZcirqbiwo9pi4SK16//GsalLtCZ?= =?us-ascii?Q?Sl5l9uBVMFVsqnZAnsO+cAG/dY1dKoJExR7WprwQlbkxwQ6jO7UyXruzjyDP?= =?us-ascii?Q?98YwJ7S/iK32Bbf5fwlfcYff7v0CXTgoTwjkaG/EBG1kzHcpmipc3DaUV56C?= =?us-ascii?Q?XtvsLxXMdQoCC81riQpkze2GdlNQikfwGCnG4mq/a7jUofVZA8HBkRqb6JDs?= =?us-ascii?Q?2bjgZ1O8UzeFVST/mp7TYnVisdBP75dSPL4AjKS3xl2W8hNEO+s8XsiERXmO?= =?us-ascii?Q?Z8RP54PsYsbh4EfE4M4ktRyeIO9Jc4dG0jP9jWaGnbAoOVvFtxXEyI121YU1?= =?us-ascii?Q?2pG0ATUrQX7XntgIL7BKwTZHaryrWuqEIYnU4Pkx3XmdghR4FOYc45QwLxhH?= =?us-ascii?Q?q57l0ZX0WBIUrtaj5M9CuOlDRnds3SJfCue+2tGJjS0ZgzQgqGLNfmPig1IK?= =?us-ascii?Q?DO5w0dBFfshO8OuKQnF6U/Fp9woCbaPCzr8Hxy9l+/bpIbkNlywGpiq3g7xq?= =?us-ascii?Q?D62ofoSXnLTJ4IEt7P5A9POou/KVJfzzrsGJ93jQ/EIaFDuRv55hpJzPcjmW?= =?us-ascii?Q?yaPkEOpta4pSFR+RTJUCjDD11K8kb7fsP3KyhqGKzhDgYYFMaLzPj9pqBJS2?= =?us-ascii?Q?yGh6HwIoXRxcCDcQELNMzEemCSEibbg2jusFIAVVPC4lt8ME+VMBSuM4tSsZ?= =?us-ascii?Q?oCkHQD+QEh3PhBRzchFwXC6l1DZ5r+cNLdi9s+mp5NCI5CuQmq/z4BEZZrDM?= =?us-ascii?Q?D34fYdWU390iCNBKyd0ftOg3WriPJba26ZDMAEMx3+YUuEr6YzukTjsmD8hq?= =?us-ascii?Q?QhWO2TbL9zniB71g9NUSugS?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0407; 6:meGXNceYYCCNMiTGz5XPvJqk1mUmd35I9+KCoRUwy1QLaasxE5GXdcOYvZGHw2gQxd5M/MoayB5Ydb9lbRWbzf4A7hvlbUNz32A/QIqeN2rF6DQEcYWH4lqMnQwB6hgiir2Gz2Dii8bY1jrhgzvKh+iJ1BMw6NVGxzvGjvAX1HUDiJXWWKKBtbbpLaOVTk6C07/IOZWZS0HXRUsR5sbNBVNflunEC0E4rHk3WFVoNQN0guVIoBbGQTE6Kukv/Jaad5mTX9hbSMSVrp5UmhSbVPhTZ0T8NaG356UKs95OLms1FiQNrDdHSop1KOyP79byGClpgY59yjuv+Rg4ndSAm/9XastGSXRpDCVpzlj7pbgSulODPZuAVo1I5Zt+vXeqZp4onmCKcKRnpdzvumQy2LkzbcaErR1PW1iLzS9ZircktdElAcdM6OOaK2ulHaHTO9pBI6ygPbVH68/s6i/FPxvPi2o/AlKNpHXJGZjLTzqSAnR4qasRthNah9bvy9LTnNUvm5/YuThz+NDAEmGg/+illSkh4SiWm4g+UsJUjkQ= X-Microsoft-Exchange-Diagnostics: 1; CY4PR04MB0407; 5:vtgV/FR6dDiElgtmvmvuJPAo67uLCk3JBee0t1q/j8ftOSF73aFvbZ7W+5k79lSxK5P8XP19zCcqE0EG3zVKSZyZaLSFA0rF5dHlOpUse6CYVUb5PHRISphaZneId1rtBVddPjfn2Daga1IA+L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rg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2017 17:34:02.0488 (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: CY4PR04MB0407 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/block/blk-mq-sched.c b/block/blk-mq-sched.c index c4e2afb9d12d..88aa460b2e8a 100644 --- a/block/blk-mq-sched.c +++ b/block/blk-mq-sched.c @@ -232,6 +232,8 @@ static bool blk_mq_attempt_merge(struct request_queue *q, struct request *rq; int checked = 8; + lockdep_assert_held(&ctx->lock); + list_for_each_entry_reverse(rq, &ctx->rq_list, queuelist) { bool merged = false; diff --git a/block/blk-mq.c b/block/blk-mq.c index 5d9cca62c2f0..0f8c011eff97 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -1274,6 +1274,8 @@ static inline void __blk_mq_insert_req_list(struct blk_mq_hw_ctx *hctx, { struct blk_mq_ctx *ctx = rq->mq_ctx; + lockdep_assert_held(&ctx->lock); + trace_block_rq_insert(hctx->queue, rq); if (at_head) @@ -1287,6 +1289,8 @@ void __blk_mq_insert_request(struct blk_mq_hw_ctx *hctx, struct request *rq, { struct blk_mq_ctx *ctx = rq->mq_ctx; + lockdep_assert_held(&ctx->lock); + __blk_mq_insert_req_list(hctx, rq, at_head); blk_mq_hctx_mark_pending(hctx, ctx); }