Message ID | 20170525184327.23570-15-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 3BEDC60209 for <patchwork-linux-block@patchwork.kernel.org>; Thu, 25 May 2017 18:44:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3304D269DA for <patchwork-linux-block@patchwork.kernel.org>; Thu, 25 May 2017 18:44:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27EBA2836F; Thu, 25 May 2017 18:44:06 +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 A6342269DA for <patchwork-linux-block@patchwork.kernel.org>; Thu, 25 May 2017 18:44:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031422AbdEYSoF (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Thu, 25 May 2017 14:44:05 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:12597 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1036490AbdEYSnp (ORCPT <rfc822;linux-block@vger.kernel.org>); Thu, 25 May 2017 14:43:45 -0400 X-IronPort-AV: E=Sophos;i="5.38,393,1491235200"; d="scan'208";a="20374632" Received: from mail-bl2nam02lp0087.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) ([207.46.163.87]) 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=KlFl0+3OZ3XAvGw4AyINC/ZG2z3ZQg0ofyi5ZWI/iuo=; b=KT6j+XCJM09Gaxbz0N9bnSAK/N72JMl57EAZChmVryekGGY9WgE/V1og6n4WDf8XtPz6sbAOJuluwZqlwB36LMt1hPlyJbJH2X/rScaNW0KxZZIwn0vZ0W+hFfg84bgGDWemD9P3m0im0p8plkplbhmViQIC7tenywKIqum5M8o= Received: from CO2PR04CA046.namprd04.prod.outlook.com (10.141.240.174) by DM5PR04MB0364.namprd04.prod.outlook.com (10.173.169.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Thu, 25 May 2017 18:43:33 +0000 Received: from BN3NAM04FT052.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::207) by CO2PR04CA046.outlook.office365.com (2a01:111:e400:1428::46) 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; kernel.dk; dkim=none (message not signed) header.d=none;kernel.dk; 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 BN3NAM04FT052.mail.protection.outlook.com (10.152.92.241) 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 67.BC.45291.4D527295; Thu, 25 May 2017 11:43:32 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.9.6) 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-17-592725d49f63 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id BE.E8.11415.0D527295; Thu, 25 May 2017 11:43:28 -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 14/19] block: Add a comment above queue_lockdep_assert_held() Date: Thu, 25 May 2017 11:43:22 -0700 Message-ID: <20170525184327.23570-15-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+NgFnrBLMWRmVeSWpSXmKPExsXCddJ5ke4VVfVIg8VneC1W3+1ns1jwZi+b xcrVR5ks9t7Stjg0uZnJ4vC9qywObB4Tm9+xe1w+W+qx+2YDm8f7fVfZPNZvucri8XmTXABb FJdNSmpOZllqkb5dAlfG9Ku9zAXfOComz7NoYNzA3sXIySEhYCJxYMUWIJuLQ0hgKZPE4QdL mSCcbYwSc6Y8YIap+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H+6J RIp/nPpsl+Kz1B6+5DmOv7++lNbtWrRQpaTx+OmsmcpzRGd1aWaUJ9z9Vim8T30aS6dlhIy/ hN2uv0x/L/w7uunHBwuuPUosxRmJhlrMRcWJAJ1Hl7/KAQAA 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)(39850400002)(39400400002)(39450400003)(39860400002)(39410400002)(39840400002)(2980300002)(438002)(199003)(189002)(9170700003)(50986999)(48376002)(38730400002)(110136004)(53936002)(33646002)(305945005)(4326008)(50466002)(106466001)(478600001)(54906002)(575784001)(72206003)(5660300001)(36756003)(86362001)(50226002)(76176999)(5003940100001)(356003)(189998001)(8676002)(81166006)(8936002)(2906002)(77096006)(6916009)(47776003)(2950100002)(1076002)(6666003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR04MB0364; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT052; 1:xmdhBMMisKZ4qK2ZIX5CFWTaGcEZDb3Yyn6XhZFTBVA++HgQM/0OKhzmVMhN988OYeeUjJJ7BVE62yC2JjAGTjJsG5Ovo9bC6PMIGLYOfNZSlofAg0AOvFgwraJk++MQ0frFNSmWLNA/VAHjTUziWX4UwR1uKo8oW8GnqzJ8DhwDtG9kiyYMpw/PTfXkpmDocYDXUtnsKF9O9NikjzCLoYp9lKwjFxs8EMnro0UFb7y/2wtYkSMgchdBB5uGpIdeu446aspwPdLFNCKjiW8dV7ciVgYx9RfuZJ1FZk4GW/BQWCmCCbMKCvnGmfSOq5xoJlM77y02aCs9FiIGXNydY3lZTFKFcsRtUKJA7LL5Ii03kpkZ2GCIoAS/jXnKgZq+F4CTe9QiaT0MkBKPa8W2pO13LtLfsmv+zclwXZPGPeOUdNGSZgtuxz5wrqU1kiiWMp9CBHEM+M4OYAWbEX+MVDxStyXJk38Sv9NTwY/sJ8OA9Ery1HFAT+9OW0R2JCxn X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR04MB0364: X-MS-Office365-Filtering-Correlation-Id: 45ed92ea-b6e2-47d3-adb5-08d4a39df214 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:DM5PR04MB0364; X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0364; 3:5eh0QFjpp65XSxQx9KL82tWW8aNHQTDhSODZLu2po4nO+z08qhToiV3lWT1Gdp57bgav3IdFpCQf1jc6bn4/hBcmyk1ThtsjDnYdi0WPJuiZo2F6E9E1gO/RKJb1WY9jY4hIWvq2ycsphqC8TY5Y5wrCvVNuA0qDyBKcedDwnhbEGUUjy21pHSvhoEm7RJdQP+dqZmGMJ8Gkyby9sCKiJ6cMF9PUo//qTg3c53E858djOMhgp2sc0lpTHggnxQwVhgoY+6JpwZltiPi3lzh0QeSiXM0KWXxORJUkgZO18V9+JEZV5pm11RvrQvREcLcUeLq5WKF4+fDBscLgt+DQDfgjMDnP0x3Ut3xplamNZNpd1I0P/Vx12g1wud14AdEhaFVMIxX5uNpUCgo5tfZA688MdbPYR6ZGWpNkJj4ao9LO/A20ln08Kh1dJG2YAtYrsHMY1hph+HEy32JPL2bCCeM5IfplXiGPkhXySq9iAdB1UpbqQnt6kfO8lt1xL5WQ X-Microsoft-Exchange-Diagnostics: 1; DM5PR04MB0364; 25:6Xpcl1CLKM5EaCMIBcilehe6pz7vnv2XaRM1uZO/gh9tW7uCH8aqPsUbnN/RvdQoOikHCd1hY34MpWAy418vOEj0eEyOB1yGR62YdOfQLyhpNGGxvLhAi4XHdkRoDdIjKthSJ2PAnIKmVxUSiYEMNM0uoWWzWG2/+nvwWa3A30onRL44Thw4DShAGwYV4iEmLmNd2VTpfoUKyJI8aXx57o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syAmWDXHCK+GPmrz5yxtzvVLkuA3ygCzfAqY5SebhG9c/o3h64mX8RFqA5DJO X-Microsoft-Antispam-PRVS: <DM5PR04MB036426292C7682F3752C629E81FF0@DM5PR04MB0364.namprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(67672495146484)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700054)(100105000095)(100000701054)(100105300095)(100000702054)(100105100095)(6040450)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(100000703054)(100105400095)(93006095)(93004095)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(6072148)(100000704054)(100105200095)(100000705054)(100105500095); SRVR:DM5PR04MB0364; BCL:0; PCL:0; RULEID:(100000800054)(100110000095)(100000801054)(100110300095)(100000802054)(100110100095)(100000803054)(100110400095)(100000804054)(100110200095)(100000805047)(100110500095); SRVR:DM5PR04MB0364; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR04MB0364; 4:B4jdkLlOcKjRSQ02NiqyeAk3n8Ebc5sMA0ittvu86M?= =?us-ascii?Q?doAed69aQL/Y8ymL1xGecWU5zB1SgQMVykpK/YyWM15l50h+N7v9W3xBbLA/?= =?us-ascii?Q?AZzXpyeT8uldAoT12RwZDgRwo8+0oqgo5UN/D2s9rndpqdazwAI6swXm5Z4N?= =?us-ascii?Q?bANZHZXAoKsCgFZOsVBfHif4UNj5bdYsIlhK5HqwA2VYZMQOos9JHlfcJNJw?= =?us-ascii?Q?AYAwsZ6WSrgxqkBkcIKQ0PdGtzPEsXkcz6gfIAa9J7bTXSL8lkUOGAX3rdnB?= =?us-ascii?Q?YLyzYUpDaaHJDsifPuqb9kuawjNuZx2rfcCr+t1ytVeRnO3i61ntac1nqvmG?= =?us-ascii?Q?f3svBmEanrBBW4aoCyJK4MJh/lFBOHCTDSKRyZI23cigvgR31th/LUKxYhp3?= =?us-ascii?Q?cock2KWBYQTPPXI+qz6Zbj5VwqbHDcGpViTGiZy3XUU7bjy9MnO47+Ad81Vc?= =?us-ascii?Q?rb/bjZGJUs4R8IIgXnNF3TIAaXhpZiX/PRDEv3MQL7wXLkF4wCL9TAXHSabC?= =?us-ascii?Q?RG++o6VH1QqVvtuqXRPEeWb/rq+VYjitlIoRLISGaSxNtsz8phUwMrts7DPL?= =?us-ascii?Q?khAO69WMGwMrZHhn+uG9jW6NIeC/DEHn/J+Hk/66IzeJiBqKYC0XN5JJ5c/g?= =?us-ascii?Q?oShmNO6Bw8rewtnDRhcDtlwDuPNdMo+ArZDefvZHRPVx/480cr5QQaox3lIf?= =?us-ascii?Q?XWEU6WPtWmqOs2hF2deIt84FtU3vrkBaDMP4oLoeHzKXGQO/g96DtbdL9NiG?= =?us-ascii?Q?qCMn65gQxC0leWbQ25APkGyOt8gehwz43Wj2fik/rff38Xis82KECQSvs1EN?= =?us-ascii?Q?6s3fnRMZIZz8C/QiY61nPkpnksL8rjHpAmRdQFBIG6eB5fcKZEiGj1uKaFg4?= =?us-ascii?Q?0ssWVdXZYYARW2J6SvC0DRNzZGgfhAEqvs4eLjOW6LPeQUcBpmJELafrVfTK?= =?us-ascii?Q?my1esj5L44HtSpBc/ATZqeHoRBayQ/LGfWwyDJzedwSMDkSo7ERVnkKGJ7zw?= =?us-ascii?Q?eolj1hlx0HlMs5yj4So8NE8gA8NOtKPXAFPEligruq4om0syNCt9qC7NyXgT?= =?us-ascii?Q?uaD/w55/inqObKfDyf2mO83qoZuxgl3Rqat49lezhUHppSppX3KsaOlVDuIm?= =?us-ascii?Q?VfIHijvJzBQrN8fqcFnDOirYPtzMs0HBzbWz8otMitNT9N5EiyXTKBA0L85C?= =?us-ascii?Q?bLhiJxrPcPWhwG6dW1CBSyNc8TnpmFchx6R6fYVVhirPV3BCbc9gwe0aZVk0?= =?us-ascii?Q?2mIKFAnD58KFtpu+0lq0Qp+PAqm2BSW4kZohmQEo8ZKe8K97CKMmZnSK/daA?= =?us-ascii?Q?=3D=3D?= X-Forefront-PRVS: 0318501FAE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR04MB0364; 23:EyvG9v3ONWV2RYBET1GbV3W3+nSQcWBzAP7fZtsei?= =?us-ascii?Q?OnknzEdeVJXhPlzDUTJhOW+1d3esPcQXeeuVSTK32zAZGQj4IX0eZkY3P3XS?= =?us-ascii?Q?rIYofOpurFxdjfRMriI+BcDU4crdKoMtsmtzb1m5kv32LlTFJXNdpFYPkjW2?= =?us-ascii?Q?iXA5zddyJ9xN095YQL7PEiiijwoPVqKYtvZzCDe4G33zUEnspQad4RduCYgc?= =?us-ascii?Q?ia03omwCaYOzyF2hXwC/Daou1alq13xIHaD0aBFI3gmbi/mml5hnjz2HbRrO?= =?us-ascii?Q?GRDQwufy1sC3f81wt0WhH1Th45L3h7q2IVrJkja28j8RW21JZ5SbNrw9BFX0?= =?us-ascii?Q?9ToRhuUUoW+u3ih8jETDW14hKMAKd7CwMkeq+ieY2tWdgpdvIt6ml/KntfIT?= =?us-ascii?Q?7vgEdAjEzYmuXpAcPSbhW/OAyG/NWPjhrur46IAJoSHM2yn5hZNWOA8y5DtB?= =?us-ascii?Q?A5Yf9x1fb2d5Zo1jE6uJejF3QiesNjvIBoqhEW+JQPuA9mvkPfTTV+ONP/vz?= =?us-ascii?Q?ic2p/bBG4XmPK2alovcllrMVTSar+0/kIcXShYm1oOT+boi2bTVDCzmEHEDc?= =?us-ascii?Q?fO5bOMFcmOBc/iIACLhPo8dLc/JaYTPKOoWxvfeMOdtLKO0ecXZ3HIHeGyhC?= =?us-ascii?Q?GYU+Gx08PEeFn5espQ2os6NexPImbuqMGWJRagwrN24tT/aBtgUMhh1SMemj?= =?us-ascii?Q?1kffv2BzaL2bqtcPPMRNqnbY0nsGPfVgdMbKb5WZ8OBB3ySAmkrEurZWaYjG?= =?us-ascii?Q?FebR6yYrf87SWXcJzra/PkfTf36+UiCdws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/mg1fvAwrmQLHXNVwQTkSxqSsQhNwcARmnhZ2bPC0AIaAU400D2O+XGzKdhzLxSLAScjYiRpqAgOynyDfkDxIFNN43G9pvaU0ngOlfvzwTdhNX2DXZT09Jf4bmVjo= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2017 18:43:32.7091 (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: DM5PR04MB0364 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 |
Looks fine,
Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 8a223a0c95d5..293067a2726e 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -634,6 +634,13 @@ struct request_queue { (1 << QUEUE_FLAG_SAME_COMP) | \ (1 << QUEUE_FLAG_POLL)) +/* + * @q->queue_lock is set while a queue is being initialized. Since we know + * that no other threads access the queue object before @q->queue_lock has + * been set, it is safe to manipulate queue flags without holding the + * queue_lock if @q->queue_lock == NULL. See also blk_alloc_queue_node() and + * blk_init_allocated_queue(). + */ static inline void queue_lockdep_assert_held(struct request_queue *q) { if (q->queue_lock)
Add a comment above the queue_lockdep_assert_held() macro that explains the purpose of the q->queue_lock test. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> Cc: Omar Sandoval <osandov@fb.com> Cc: Ming Lei <ming.lei@redhat.com> --- include/linux/blkdev.h | 7 +++++++ 1 file changed, 7 insertions(+)