Message ID | 80797aad-4910-e06c-cded-c0e5efc35e5c@sandisk.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Mike Snitzer |
Headers | show
Return-Path: <dm-devel-bounces@redhat.com> 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 ED26660238 for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:28:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9DA029A0D for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:28:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC74829A27; Fri, 18 Nov 2016 22:28:46 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 21B3C29A0D for <patchwork-dm-devel@patchwork.kernel.org>; Fri, 18 Nov 2016 22:28:46 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id uAIMRa8T025905; Fri, 18 Nov 2016 17:27:37 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id uAIMRaaK028213 for <dm-devel@listman.util.phx.redhat.com>; Fri, 18 Nov 2016 17:27:36 -0500 Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.31]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAIMRZhF019440 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 18 Nov 2016 17:27:35 -0500 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0079.outbound.protection.outlook.com [104.47.32.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C2DFCC04B920; Fri, 18 Nov 2016 22:27:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=WGkaqHPwilbFKX+rVofVkQKI0zn0/r3qAOmd5gF+PrA=; b=gaeVRegTXnHDAtfGOvR6n8R5P/+pM47B+PIlXqhY7Q46lX0tC+gQ73HnR4NZxkIBt35YeMk0eGEMXOQQchrygXXkApQhPokHliPeUaC6mpTRoKmZnFxzqhMYSjMzTSVm7NQ3EP96nxTReAwOSqHb2U/rcn0ikCHOXqyH9pmUPdU= Received: from CY4PR02CA0025.namprd02.prod.outlook.com (10.175.57.139) by BN6PR02MB2819.namprd02.prod.outlook.com (10.175.96.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Fri, 18 Nov 2016 22:27:32 +0000 Received: from BL2FFO11FD016.protection.gbl (2a01:111:f400:7c09::123) by CY4PR02CA0025.outlook.office365.com (2603:10b6:903:117::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.8 via Frontend Transport; Fri, 18 Nov 2016 22:27:32 +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 BL2FFO11FD016.mail.protection.outlook.com (10.173.160.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.5 via Frontend Transport; Fri, 18 Nov 2016 22:27:30 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:2879; Count:19 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 D1.68.02899.24E7F285; Fri, 18 Nov 2016 14:18:42 -0800 (PST) Received: from milsmgip11.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; Fri, 18 Nov 2016 14:27:26 -0800 X-AuditID: 0ac94369-5f3ff70000000b53-23-582f7e4201c9 Received: from exp-402881.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id E8.21.02804.D408F285; Fri, 18 Nov 2016 14:27:25 -0800 (PST) To: Mike Snitzer <snitzer@redhat.com> References: <32edbd52-5b1a-b093-0195-2ec6fa73cd6f@sandisk.com> From: Bart Van Assche <bart.vanassche@sandisk.com> Message-ID: <80797aad-4910-e06c-cded-c0e5efc35e5c@sandisk.com> Date: Fri, 18 Nov 2016 14:27:25 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20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ISKgKnFrmgtIWEjATuLVqhtM IDazQKjEj9mzmUFsNgEjiW/vZ7KA2LxANR++HwQbwwLUer9nFjuILSoQIbHp6xyoGkGJkzOf gNmcAvYSvTuvskHMVJf4M+8SM4QtL7H97RzmCYx8s5C0zEJSNgtJ2QJG5lWMYrmZOcW56ZkF hoZ6xYl5KZnF2XrJ+bmbGCHhFrmD8elE80OMTBycUg2MS1ZU7D/1aIvZ+nMNewVTJltz1BfK /V66hicqbfX+R76uD6MYJr/q/q83y0ly8uorEhoLc/6WHy87XuO+VNJ9+owP4UevJhtpqR0W a0p+kPPNx/WhaPQh63yx5U0H1TI/XyqczOoZWdpio/v9veqLBRXzHlWz/bZ6L3jlZrDWY+5e 69JN0Y/+K7EUZyQaajEXFScCABySWEDnAQAA X-IncomingHeaderCount: 19 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:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(50466002)(31696002)(2950100002)(8676002)(36756003)(7846002)(106466001)(2270400002)(86362001)(6916009)(8936002)(38730400001)(356003)(64126003)(87936001)(110136003)(47776003)(97736004)(68736007)(65826007)(230700001)(189998001)(76176999)(83506001)(5660300001)(4326007)(23676002)(2906002)(33646002)(53416004)(54356999)(81166006)(31686004)(81156014)(626004)(65956001)(65806001)(69596002)(50986999)(4001350100001)(77096005)(92566002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR02MB2819; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD016; 1:x1XHArlNxZzSfbJ25abKQvcDEYZRqCSxmCHICpB2/yM7DfMwfR4/s24NVLss+SSrXjDSPr6umZzBna9akwRb7GjeHXRPsF9qfWiVeZiohTL0w0PVFQ4jF4a69IyMhrfeONCdpYn804H5bBK1ilwzY1jcEJvY4YXCRGBKHb3jGjtBLF9xyDjrddLun28ILCz5mCmmhPX4Ln5/aYVyaDxv+7esKeU/SF+wsXzwrurgKILOwlo6LXxjdWQh5Rs6l1aEOPhyIFYTNb7ffPIJLeYV02ePKQdqBPeNIoGwGUID1Go7+coJIKicc9RwdwSETLBDEf3NLMPCZ9bonvN8xlUqcYhin7pUVGELfAVWqgumLzAr4ProH6hdd7Skdax8qFECavvZgc9dntid2lX9CsJbkomTzXOgXrodJ5PWlFSeqOersDZr+3xFQYARnpSGl/6ggQqCSSJc1obO3i9YQ/Bqi7I1pLuFXKQbm+BHVWIAqoORaueu4F1vlI5ErqY333Lt X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2819; 2:gTcZ9LiRn/rE2/YcUvlJM1V80P3xuN9gtwnCbOTeBamHL/T0q8kPmbTULn9YlUGUFu/GESY3Os6eaEaW95BNJGVDXkxCWWXmb/zeL1pebdSh9EJ9z242bKeYui8FIclwuYaBU1+csCsSs/CiLIJ44O9tkpqPH7dDXLPGai4a9Tw=; 3:d9ZTn+P51BYv915dD0c3Y89Ue6y4Z5sf9X4D3CxAZ3Mozb9oIBdvN/iLAEH+MeOkq78T1NE8U68KprEVaWmKN7tcmLPvrnd4Bie2Cl66U82ou2BA/fywQLnAFGChddWaY5/DfjfUh+GHQR3ndRG1b4qw5btik+BWQR2AQQzLQizQ9cDWFl9qpQmBZq87H3VKJZimik+c2GCS433ryzZ85c0RMUsplyTp2nbZCdnIWNei0ZC/u0ZKPXqblyX25sQpzCQWp4HlNIZ+z3BpnpV29ns/PNWtU0cRdct7cdtGmbE= X-MS-Office365-Filtering-Correlation-Id: 034fce01-604e-422a-4729-08d410021635 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BN6PR02MB2819; X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2819; 25:2SeDJni3pRdc4eAA1kxtiyDr6ENxq1DSvOr1wLijLb0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Yh+3oFV91rio0eXb5j0MZfCHS/DHcHae+LiK/xASdfzBVdbfvRLjMGhFo/Y6qaWMp9McmJa8gZCZoVYigioRS++frT4aHZXzW02DLHyBEtT+qxGbczzgiqKsy0ZRaMT61jUv3Tmj8eGC6OmGDDbW0hHeQSuOQ3lViPHpHPI0vyxfFNh1riCLFoAz5ALIEKZY7PsWRNYB2uyutQWAYja+ X-Microsoft-Antispam-PRVS: <BN6PR02MB28191B1D02734939E796BFD481B00@BN6PR02MB2819.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6060326)(6040281)(601004)(2401047)(8121501046)(13018025)(5005006)(13016025)(10201501046)(3002001)(6055026)(6061324)(6041223); SRVR:BN6PR02MB2819; BCL:0; PCL:0; RULEID:; SRVR:BN6PR02MB2819; X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2819; 4:vYKfUCN8CeNpey9JNY08V4ahPMGwLu/TGv2OGpjEOPjExXxn8foho78WYn6AdxU7iPXU0VSvouUlmAaWF4p12Iy+1k2vyWVG8Aj+UAZpoQCJ4oIBYwQ3zQbjGKNCMVWZptGX6Uo+nRUX/P54BX9ko16UIa3dJp5sBa4yI9LYhSuYEw8kDN7FljnsZTERiI4gL+l/EhCGdWZemF1Q6Y1SkPOoxgUVSaHnKj6LpMhkazxKFWRQ8Ptf3FNapo86Wt88puTqv/GoODhVA3ErdMFKHtLKyBQf/GaCYhzc/j+8TlNtCa5jNlhm0y6nWf+HUiilsMN4ytpMOat4wPvC8WM2HFoiKkIAjGzl6+RbCp/c/UeR+Ar7V1Yej2hySS+U8UzYDtRlhKkKLYj6lScc8SS1XStpyANq6GpEZg8jX1U78l602VfTU3hEDhC8w2HCPeVKDmKucz3PIdWAAxP6o5CThR9lggFW3aw4GzfWpsXY53lICkIH9uKCWL9VZFBmDgZGTTP37TVbTo3y0OhPdu8zmQWKgTH745qErmT69iqQDJfQru1x6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9u+IWT9mQe1CEp07nMPatH9cUHFLyDRARUfskODIc+qcn2XwBB5VkgkVMIVFy6vCApVSTmSs5e3Bd0tb5SGb2RUZV8cvWkWEZqcPu+dJRR20IF/UQhEnNF7A4K60yAd6yt2we/t5T3s7Ex4x99aaTz73EYrmut2G7BWXgWx/bcH3L61pVi1zmBepVSvreqxPH9/u3/M X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2016 22:27:30.0455 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR02MB2819 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 198 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 18 Nov 2016 22:27:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 18 Nov 2016 22:27:35 +0000 (UTC) for IP:'104.47.32.79' DOMAIN:'mail-sn1nam01on0079.outbound.protection.outlook.com' HELO:'NAM01-SN1-obe.outbound.protection.outlook.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: 0.368 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS) 104.47.32.79 mail-sn1nam01on0079.outbound.protection.outlook.com 104.47.32.79 mail-sn1nam01on0079.outbound.protection.outlook.com <Bart.VanAssche@sandisk.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.31 X-loop: dm-devel@redhat.com Cc: device-mapper development <dm-devel@redhat.com> Subject: [dm-devel] [PATCH 04/14] dm: Simplify dm_table_determine_type() X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development <dm-devel.redhat.com> List-Unsubscribe: <https://www.redhat.com/mailman/options/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=unsubscribe> List-Archive: <https://www.redhat.com/archives/dm-devel> List-Post: <mailto:dm-devel@redhat.com> List-Help: <mailto:dm-devel-request@redhat.com?subject=help> List-Subscribe: <https://www.redhat.com/mailman/listinfo/dm-devel>, <mailto:dm-devel-request@redhat.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c index 49893fdc..991d514 100644 --- a/drivers/md/dm-table.c +++ b/drivers/md/dm-table.c @@ -871,7 +871,7 @@ static int dm_table_determine_type(struct dm_table *t) { unsigned i; unsigned bio_based = 0, request_based = 0, hybrid = 0; - bool verify_blk_mq = false; + unsigned sq_count = 0, mq_count = 0; struct dm_target *tgt; struct dm_dev_internal *dd; struct list_head *devices = dm_table_get_devices(t); @@ -959,20 +959,15 @@ static int dm_table_determine_type(struct dm_table *t) } if (q->mq_ops) - verify_blk_mq = true; + mq_count++; + else + sq_count++; } - - if (verify_blk_mq) { - /* verify _all_ devices in the table are blk-mq devices */ - list_for_each_entry(dd, devices, list) - if (!bdev_get_queue(dd->dm_dev->bdev)->mq_ops) { - DMERR("table load rejected: not all devices" - " are blk-mq request-stackable"); - return -EINVAL; - } - - t->all_blk_mq = true; + if (sq_count && mq_count) { + DMERR("table load rejected: not all devices are blk-mq request-stackable"); + return -EINVAL; } + t->all_blk_mq = mq_count > 0; return 0; }
Use a single loop instead of two loops to determine whether or not all_blk_mq has to be set. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> --- drivers/md/dm-table.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-)