From patchwork Thu Dec 8 00:56:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9465497 X-Patchwork-Delegate: snitzer@redhat.com 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 7098E60512 for ; Thu, 8 Dec 2016 00:57:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BA6F283FF for ; Thu, 8 Dec 2016 00:57:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2CD1328415; Thu, 8 Dec 2016 00:57:50 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com [209.132.183.37]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 072DF283FF for ; Thu, 8 Dec 2016 00:57:48 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uB80uHXr058838; Wed, 7 Dec 2016 19:56:17 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id uB80uGBc010000 for ; Wed, 7 Dec 2016 19:56:16 -0500 Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uB80uGmJ009335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 7 Dec 2016 19:56:16 -0500 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0087.outbound.protection.outlook.com [104.47.40.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8E0FB624C0; Thu, 8 Dec 2016 00:56:14 +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=Eqmp11BxG1JJ7KQEQ088dFOrFubzn20HprO3m/G8tpE=; b=o1W5Sp8WzE6JwmmPJVUw2Q40OChNMJczt3TeBvb87y9DfZFcr394DUUky3xI6ex9P22X8ECLuqRMBg01xKYZACT8Anlpo7k04h8C1XgviWiEPz9WRQK8Pu/2U/C2KcwWMMS86Rpz61nME+yVfMf+gG1tphmOwbGDO+r6U+BU9KA= Received: from BLUPR0201CA0023.namprd02.prod.outlook.com (10.163.116.33) by BY2PR02MB121.namprd02.prod.outlook.com (10.242.43.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Thu, 8 Dec 2016 00:56:10 +0000 Received: from BL2FFO11FD016.protection.gbl (2a01:111:f400:7c09::107) by BLUPR0201CA0023.outlook.office365.com (2a01:111:e400:52e7::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9 via Frontend Transport; Thu, 8 Dec 2016 00:56:10 +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.761.6 via Frontend Transport; Thu, 8 Dec 2016 00:56:10 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:2641; Count:17 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 EF.70.02899.36DA8485; Wed, 7 Dec 2016 16:46:30 -0800 (PST) Received: from milsmgip12.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Wed, 7 Dec 2016 16:56:07 -0800 X-AuditID: 0ac94369-5f3ff70000000b53-56-5848ad63c811 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id F6.BB.03661.6AFA8485; Wed, 7 Dec 2016 16:56:06 -0800 (PST) To: Mike Snitzer From: Bart Van Assche Message-ID: Date: Wed, 7 Dec 2016 16:56:06 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDLMWRmVeSWpSXmKPExsXCddJ5kW7aWo8Ig0tvlS32vpvNatG28Suj A5PH+31X2QIYo7hsUlJzMstSi/TtErgyts39w1hwR7jid9cklg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Ipf2BWefL7OpiP9wUPmN56/WWdOG1Ehrciz/vkj5TMyOo5Ou534stXtQ/LDu5 n/VK5Z68OdWnEi4uSH9SrHPGmdHP5PqC5yzzZ6yT53juosRSnJFoqMVcVJwIAJTq6szGAQAA X-IncomingHeaderCount: 17 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)(39450400003)(39860400002)(39850400002)(39410400002)(39840400002)(2980300002)(438002)(199003)(189002)(356003)(97736004)(86362001)(106466001)(50466002)(8676002)(230700001)(81156014)(83506001)(450100001)(92566002)(5660300001)(2270400002)(2906002)(4001350100001)(77096006)(36756003)(31696002)(38730400001)(626004)(189998001)(54356999)(69596002)(68736007)(65826007)(7846002)(110136003)(33646002)(31686004)(4326007)(8936002)(305945005)(47776003)(65806001)(23676002)(53416004)(65956001)(81166006)(64126003)(6916009)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB121; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD016; 1:5O77LVds+uJS/pwyT3YmcCxORpx0FJ5hKnqzqtGcSFSTNtg5kVHPstKLi7nwa/rfAjRjOkndOr08ytPWO3ZD+A8BalTzJJSY2+qdCjymGfR8Di0QWixh4ikWNYDuplB6r8yZp9QC1yPqscwvtfVQl9QhckL0aNYfTNTTjFK1mJ238opfeNNOefXYSZMYR8kw+Z6AA3ZGyRe+BVCk+RxFPPoxgghSwRU/pgWosdJZ9ZlH44/QnF+rmnwKuoWJp1wlVtaMfg5u8orQ/QlYj8lu4FjKa+1KYJ01pPV9rRe3U1JSXAtavjTiCLTNVJDKwqMaZa1FYJwL87LvR8WWK7OCnsgfdye4wUaAYiJciYdss2f0MA64B7LICZjLNRG41ElL3Ex+FERKStfV6HlRGRyQlYIrfLTF6xyogcV7b30vCXqKEjSjS1Y3RpCs2PjtQCe4HTBRAIudfxFYxoOZ+FjrVH9+Hu8AzEMWhd2Rw4cXC/LZWqTDX2ebwSV5pyssnESr X-MS-Office365-Filtering-Correlation-Id: 662ce65d-473e-4555-ccd6-08d41f05004d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR02MB121; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB121; 3:4q8zpPQrjQJsI9COSKTani/4+BsSg1BWVI74Pt61l+WH6c8g9xAj6pRvmh40kVPu62qeJkhhKxnT8VtBmvhDXwK0CtcTCeVrbRu3+30GvnnxVHsiJKDyfml+Il8076Dc2ecbXA06WVXjdenirWgT/RrpfKUuciJWOtONBOX5wd1ub4wtwVWBBRd0UaA03r6fyzQGgtuTo65u+9PBEIfbj9PlKLSEo3IwbGGwvbut51TiUiN91ZPxi9Q4GP5iz9S+jYkTpGHIxzPNul/17ZoO0AJGKP5FNPgJCXRvjUdHPV4UBazpJFSvftqb8y82DhHoRrdF8wGit02UiwraDxtFTYLb79WLLJsWccU+vNZ+qO/GyZDFqBwD8xY+dKjgehtgTZSnE3XCR8CaYmUhCqsN1g==; 25:5H0xoYfg9DEtDgynmaQRoPj+gcJ/JA0cEyxhtSbsDg46z+Uz/eRF25tYCe4a4RKrQ38KHdiX9c1UGigpteGCZS2H68wv7jpAtRon3Q/Hu5J8/n0/Lsu+FQQ0CwE0ng4Calj8AXy/ISuaKHnUofxD8MA6nZmd3QIUiTNtLZrdziyWxnL6dnIWgFCwJpDj+Q7c9EdTiEv/6ECaC28AJtoZoOU0pcl44VSxw0w8SHr4dpb+MPxstW5I+ALYCseipNK3/rm/Ku8xceSThomnYLZPrzr3j1eWdO5G+ED+pFpaqFz6fy/delOmtgGKCpGe2nw9iuxf19qUJm6hmAU05nfI+g/bnKhKN1Eca/jrcFaN+xs4CmSy1P40rD+qOuG9QOGy7hOSiiTkMmK2JbzQtlYm5ULcb4nzQ+UhObsHpQMvs3wmA9SSQ3f8pCt1MdEpVs7V0TDbQQGvyuzUSscHsK54LA== X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB121; 31:46xkOGCbstBZsFDT8C/5MeXoe3+EmFPv7N8guTA9sB2fBHqu6CbwTqsChpsi/apNhBZNibDoQbV7ZyBxiVHa0KHC/xfBChqq+T5yyv+K7U/TxhV5irIV394AKmcnX0rx2QH7bZywm9gZcQNAh0BLY1QcYb1lUXuISIikfFcmyEW8Ubz5Ni8PInfqLiApxwamaCEsYPlgXQS9RtK0h1RowzFt5/poSiMAjNNFypxSZBX/J0UIJXMlcu8MTgPGCMi1y/nb32B8LvyxQq44ojQx1A==; 20:PUnPuhwesPYG90nwLcPt6bdygL816sdAwBkzFx+fr10mi+AbCymx2za+lNuvbufl3AYrt4cmmDsDWuTJgkhwjgFrkFf0siQVLJpnSkZsuUcxRXdPUm4VpUx28JV5sq5m9V3PTurOsD/TnplRttvd0q6STkQHgnZVeAaHQFQ33KaZTvLvwmjxuj2rHXdNgmM4Eq6zb1Q4sKGOniEhXp9xNNuVzY4bH2lj3pesgEu0muLeNmy3vkMYZ+ZtHL6ehQ/f6o3mKWiSJBKAi92XodLstX039piOyg1jjLvHo63atH5RCnNEAFAXebOeKCDwPFAuvG/R2RMTg8ZjFuoRHcv5iumw+LXSRm/mzEObm/ircpjl8zJI2CZjyyzpHTc4N7V0Fjs91mfD9zk3JD1T/ZnHn+ydNiNTZTekZCwO4NxI/fiC2liK7tASWCKzD2CKtkKKDOLQI3F9Mkva6E4y2LQhxzEyDIBWQWfHREJXVYsNYSqzl2f8FUPLwHgyqDJDdkBK X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(13016025)(13018025)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(6072148); SRVR:BY2PR02MB121; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB121; X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB121; 4:3JWtLSrZy+fvIfCwxLwtewpiId+Ftiij/BGIFqb/CUbwdOBI1UAk7FpiRNcG9XdIH56Vnf/l1RZISF3zA/hidOJVgaX8NiqGFPLK76I++WloLHycohK3kebJ7CWlF98bHg6YT1C2EKsqyIsAFdsp1Hp4ebSVb02sQSPb7gC2pSsrr3Kp5e6Z1JoVxVvOf3nZQpZe8wBiEmoIEynrrjMgH26yo06dM6OZFP0+ilLb3b6yr1D14AyPABJ3CZZt0jgLZ91FbrM6hFe9/6j6dAQryPe7VobpgC8exzN8Sx/0UGHiJTIGwc5et65mGzrWzhWZu07DEYm94322A/gKPhoirTFpQKq62VLZaWbSgC6Dc6p0NXLWzg8BH2Ya7HnG8QSPIXeTRCdjkUoCe62gWE/jHdvH6oKNIvLrlZEbXVja7/IWdr8vbE2fW4Z9NujUoBcIIXL3h7reVGfoLUKWrjIxboW6nl//D/tM+hhFXWkgwnuRLJgkhDEyGKPvKRPtHjQR3PaOnBva61hGz46z0KhMHL3nAkmt2G4C4J25kPb0ZrETgIIxiTx/P2VJhKn2/2blzMNlpW7ofeReLDKtqTodxGbpH5EPeLU6QoVE9ab1H0lDAv/ETZ3kuRrxLgyIYN6HGuIyjBdzbvGubtCwJs/7FeKI/F6vCNW9kgSatThiW7ZjVebE8pxZihIjmQd52l+k08MUiXI4DE4q5IbpPfnavw== X-Forefront-PRVS: 0150F3F97D X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjAyTUIxMjE7MjM6Z1VPOUdaVUxWcEZtdjlCL3NJaTZTakdTT2Ex?= =?utf-8?B?ajN3c1loWHNPajBkUVFTaU9CS1I5WW9CUXpxY0wvMW9iWW9VWm9WUG9DMS9a?= =?utf-8?B?ZGUyMTJXUUFhQVNMVU5lSEt4N3ZoVno4bTlLemRLQT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FF265xZDs5C8VPtI2EcJCpao9ozXyn0icUi/Ov5N0r3+aYcHK2VN3BHMFuyfDHuewKF9gz510BprPyWKdU9HN38dhedhfbBw/++GTRC+pFnuyBLlaEdHBZOl8oUjpgYyTnsR+B423/+QkFp0n1gEuj9Gh0moWEUcd+/ZrEf9sYjoCJC3uPRTCwZX7U7RuYDLwDieNUuvlb3l1s5Dz9gFTMqB6KYRB9adY8fKNVqZGQa5mtvlGMUjPnVnrp X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2016 00:56:10.3514 (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: BY2PR02MB121 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 199 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 08 Dec 2016 00:56:14 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 08 Dec 2016 00:56:14 +0000 (UTC) for IP:'104.47.40.87' DOMAIN:'mail-co1nam03on0087.outbound.protection.outlook.com' HELO:'NAM03-CO1-obe.outbound.protection.outlook.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: 0.687 (BAYES_50, DCC_REPUT_13_19, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS) 104.47.40.87 mail-co1nam03on0087.outbound.protection.outlook.com 104.47.40.87 mail-co1nam03on0087.outbound.protection.outlook.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-loop: dm-devel@redhat.com Cc: device-mapper development Subject: [dm-devel] [PATCH] dm: Refuse to load an sq table on an mq device X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP This patch avoids that the following call trace can be triggered: ------------[ cut here ]------------ WARNING: CPU: 10 PID: 19102 at drivers/md/dm-mpath.c:543 __multipath_map.isra.17+0x23a/0x370 [dm_multipath] CPU: 10 PID: 19102 Comm: mkfs.ext4 Not tainted 4.9.0-rc8-dbg+ #4 Call Trace: [] dump_stack+0x68/0x93 [] __warn+0xc6/0xe0 [] warn_slowpath_null+0x18/0x20 [] __multipath_map.isra.17+0x23a/0x370 [dm_multipath] [] multipath_clone_and_map+0x18/0x20 [dm_multipath] [] map_request+0xed/0x300 [dm_mod] [] dm_mq_queue_rq+0x77/0x110 [dm_mod] [] blk_mq_process_rq_list+0x23f/0x340 [] __blk_mq_run_hw_queue+0x122/0x1c0 [] blk_mq_run_hw_queue+0x9f/0xc0 [] blk_mq_insert_requests+0x245/0x320 [] blk_mq_flush_plug_list+0x125/0x140 [] blk_flush_plug_list+0xa2/0x210 [] blk_finish_plug+0x27/0x40 [] __do_page_cache_readahead+0x279/0x2f0 [] force_page_cache_readahead+0xa8/0x100 [] page_cache_sync_readahead+0x39/0x40 [] generic_file_read_iter+0x234/0x780 [] blkdev_read_iter+0x30/0x40 [] __vfs_read+0xbb/0x130 [] vfs_read+0x91/0x130 [] SyS_read+0x44/0xa0 [] entry_SYSCALL_64_fastpath+0x18/0xad ---[ end trace c5c6591c32eae6dd ]--- after having inserted the following code in __multipath_map(): WARN_ON_ONCE(clone && q->mq_ops); WARN_ON_ONCE(!clone && !q->mq_ops); Signed-off-by: Bart Van Assche Cc: --- drivers/md/dm-ioctl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index c72a77048b73..918e8b363015 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c @@ -1322,6 +1322,11 @@ static int table_load(struct dm_ioctl *param, size_t param_size) DMWARN("can't change device type after initial table load."); r = -EINVAL; goto err_unlock_md_type; + } else if (dm_get_md_type(md) == DM_TYPE_MQ_REQUEST_BASED && + !dm_table_all_blk_mq_devices(t)) { + DMWARN("can't load a sq table on a blk-mq dm device."); + r = -EINVAL; + goto err_unlock_md_type; } dm_unlock_md_type(md);