From patchwork Fri Nov 18 22:29:23 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: 9437459 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 0C34A60238 for ; Fri, 18 Nov 2016 22:30:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB2B52973D for ; Fri, 18 Nov 2016 22:30:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DBF1629A21; Fri, 18 Nov 2016 22:30:49 +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 425D12973D for ; Fri, 18 Nov 2016 22:30:49 +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 uAIMTW2J026003; Fri, 18 Nov 2016 17:29:32 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id uAIMTV2a028337 for ; Fri, 18 Nov 2016 17:29:31 -0500 Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAIMTVi4020576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 18 Nov 2016 17:29:31 -0500 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0063.outbound.protection.outlook.com [104.47.41.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F35CCBCFF6; Fri, 18 Nov 2016 22:29:29 +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=ags/ZXqlyHuT6304WlZrF7IjKmqn5g30uSWWTLtPgDk=; b=QIiiFNO8oG25RjiBCPN3+pJ985CRS9wE+DlAyJVCOOuARwE7sKMNtqSge4POcuqumV94TwbAVqI4x4DRsGEQ7luGeFGpwhgOofa/58mP0wYx+5qA1ocyFsSjbdPvlRNXmSwqwBrS0+yYJN5Iyty6s6IBTwI6dGv9H+P6dz026mc= Received: from BN6PR02CA0030.namprd02.prod.outlook.com (10.173.146.144) by CY4PR02MB2821.namprd02.prod.outlook.com (10.175.60.15) 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:29:26 +0000 Received: from BN1AFFO11FD021.protection.gbl (2a01:111:f400:7c10::159) by BN6PR02CA0030.outlook.office365.com (2603:10b6:404:5f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10 via Frontend Transport; Fri, 18 Nov 2016 22:29:26 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; suse.de; dkim=none (message not signed) header.d=none;suse.de; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BN1AFFO11FD021.mail.protection.outlook.com (10.58.52.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.734.4 via Frontend Transport; Fri, 18 Nov 2016 22:29:25 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:2898; 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 A3.FC.03811.21F7F285; Fri, 18 Nov 2016 14:22:10 -0800 (PST) Received: from milsmgip11.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; Fri, 18 Nov 2016 14:29:24 -0800 X-AuditID: 0ac94371-72fff70000000ee3-ae-582f7f12e618 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 8C.21.02804.3C08F285; Fri, 18 Nov 2016 14:29:23 -0800 (PST) To: Mike Snitzer References: <32edbd52-5b1a-b093-0195-2ec6fa73cd6f@sandisk.com> From: Bart Van Assche Message-ID: Date: Fri, 18 Nov 2016 14:29:23 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <32edbd52-5b1a-b093-0195-2ec6fa73cd6f@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDLMWRmVeSWpSXmKPEx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Ea+WUhaZiEpm4WkbAEj8ypGsdzMnOLc9MwC Q0O94sS8lMzibL3k/NxNjOBw44zcwfh0ovkhRiYOTqkGRm3v2KqNqfxb3apYv1bu5fPW21sl umCb3BUtb+ubv9Zefchp6RjdwejE+aokbt3G3w+Vd0ed+B0/KaHPbGfVIYa/DM3Hv95ovZH3 MNjo0l1pLbN9z2a5LnZNlJ79XsaAa9+cxOorqTYpLTOOps0WmhYn5PDoX+pE45nP7048+0+r 8ojWTLP3c5RYijMSDbWYi4oTAYFCp/TnAQAA X-IncomingHeaderCount: 19 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(64126003)(33646002)(76176999)(575784001)(305945005)(8936002)(626004)(8676002)(81156014)(356003)(2270400002)(7846002)(50466002)(81166006)(83506001)(36756003)(97736004)(87936001)(38730400001)(92566002)(68736007)(50986999)(77096005)(4001350100001)(189998001)(23676002)(230700001)(5660300001)(31696002)(65956001)(106466001)(69596002)(86362001)(54356999)(53416004)(65806001)(47776003)(6916009)(2950100002)(110136003)(65826007)(4326007)(2906002)(31686004); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR02MB2821; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD021; 1:GPqpqal660ztRNrXabnhsgoFGTp2wwx40VJ51umESmBKrEgE6QMoO2nG6a1Q5BcAeFqrHBfwO5w+JWfxR0b8jHyMuZNPSv38OFiPJQDifl7HKEcF07I9I/E71+PvUHT2xGMzyi1RIxzQB3ZJcTLa922f6QFqRYAuCFNB3Cy0VmDH0IxNxxhc0agN0x8fPvbRNySgl6/ojPzEQrbA/zLXO8gQUFKpk0m12QMOg87wY1NDVLJdU0s7xTF6Vz5xZwnSPADpqrx+tD0n4FqLJXF4zOSxiPQg0oPmdnMxTX033Y4+PXbVU3jQh9OkJ6odvMIii91lsJxDt32T7G1F6zj46BcEx+dg3/KF7wbOqowaMc4ssmop3kaTsP6WUihFwAvYdUVNXEcQe58BncRItmvxb3g5mQJR/3fhapOO4Jv7m2zhyesEylpG31JZVznIHXKUZupETPXCJ8sAg/Ba/iqffFAdYMK1kHuOfUN1yHV8bniKuasvv+/J1DQthymSCcIwp3Bk83Li5l4h6ciySPDQxQ== X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB2821; 2:/4fmruDcuT+aCArh645iE06EP/ODgySvsFvK1RP6+npb9IaWhZYjajPqXqBC6yPWOWpJlpSqZ7jiVRcOdJdX6XHKqADIOAaPTk7dJ9nhiHg2BEMoiG8MAIGmC37oUVVjReWLK5BDecPpZcizMYSZoXOs1o7sBfeLXB7ABDl4DZc=; 3:DnTWIQahIgFYxJvwKM+Wuj2vm1qMkdlAsWAGAb0kTLky8aBQ7wHsZt+5f84Im9PqRKTSYeZC0AeSi1cuoK58RrOpGcvGmO8xt9WRTigdXhnd3enykzlcjbue3nh6q+yMaFxrK5dGcYaETTXAR4seiBqz/xwsZqwzeTwrU3JO/qNNlLaz+LYxDWkl63KGfplXbsppmuwJrj9CzIFSXRjyZLiv7JV32YjpBa9v7/hwHej5bBIRdGNsoiY4BG/20wCVqrir1qA7qcRXLfMHwAY5n3c/56dsTmkRiVEmU3AhBMM= X-MS-Office365-Filtering-Correlation-Id: 712b568a-b799-4c90-8bcd-08d410025a58 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:CY4PR02MB2821; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB2821; 25:buQ763y7d9tH2E9N0phmLLGvlBWsrSvfBOU3faNgtsXuD/k4GiuxKTv1pq5UKCiGyD0W1OBAc2cQjXW+3wi8AHaaHONSj7jCdl4e5VR5rmA1FGA+nxWSzqUvnlSN5EYjT/NCBkBO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1BT9ALMQX/kqRoK57XW3ANalDg/HrUvsAP5sOr4P+lazH0fTSG3RLV9DZuA8q3QzJgOo6hEvc3essvZWlb1Y/KxJ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6060326)(6040281)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(10201501046)(3002001)(6055026)(6061324)(6041223); SRVR:CY4PR02MB2821; BCL:0; PCL:0; RULEID:; SRVR:CY4PR02MB2821; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB2821; 4:7ZAILTf8uByBNNTnKxcfX0HO7EVjGZQ/wB9ryh05ET1l1M5fcqf5cSxfzd7wdyLUEozsL4scFWT9cvC552jBsx+pKPNZiffOUrh2guLebRQyoOWCX8hUsrs4FOwDcXmw8yww0Wor71x72yIsiF/FWb2PHbv/EJdLb4vmheIwwwqaG5KtgnNkRZcRR2TI3+xWT5rXnGNM7ZX88poJXI1UmR93Ve+RWbbtEwPSM8MxX3W9IJMihlEppYLq6HWhPvSDSjS3BOC9CWsxoFNwxznTaA9+dF+GafhOhJ9D/56zFi9Qi97NW8pNIA1f7sJ67AmOZwgkuFedT9KKBJCj17pYTl6mHlHDvAEWbdmp1y2EHnjD85kje+Si0RKhWcWfccZol5PDhKCcF1LkF+x1mQXCGnR40B3w6WHPWLu30EFAvVDoew6IQ7cd7DIfLklEi0YXmsF5dv+jeLyBZW4wdMRZLfnQTvCrkI6LMRmXQnJKGxE5hRJbH90mO7a0daNttg7zMNK0pA2zGofbJDQKKStWKX6n3SdJIBX7isYXrgWWKofsY8RK/QU6RZ3iTBBatldA X-Forefront-PRVS: 01304918F3 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjAyTUIyODIxOzIzOmJZUEpCNXRxcTZNRlQ4bEw5QVJGcWZTdjVI?= =?utf-8?B?ZHR0WERpMEkwNE9xQkxoanZjRVFRV1U1OUVnRnF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aPvvs8OEufooIH9KhowfDtcmDArI2nFfRZlINSp1klXwr0UCB4ATODIdvDJ4IhMjwuEH23UGejZh6 X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2016 22:29:25.4069 (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.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR02MB2821 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.26]); Fri, 18 Nov 2016 22:29:30 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 18 Nov 2016 22:29:30 +0000 (UTC) for IP:'104.47.41.63' DOMAIN:'mail-dm3nam03on0063.outbound.protection.outlook.com' HELO:'NAM03-DM3-obe.outbound.protection.outlook.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-Spam-Score: 0.387 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS) 104.47.41.63 mail-dm3nam03on0063.outbound.protection.outlook.com 104.47.41.63 mail-dm3nam03on0063.outbound.protection.outlook.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.26 X-loop: dm-devel@redhat.com Cc: device-mapper development Subject: [dm-devel] [PATCH 11/14] dm-mpath: Do not touch *__clone if request allocation fails 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 Do not modify *__clone if blk_mq_alloc_request() fails. This makes it easier to figure out what is going on if the caller accidentally dereferences *__clone if blk_mq_alloc_request() failed. Signed-off-by: Bart Van Assche --- drivers/md/dm-mpath.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 1c97f0e..5c73818 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -582,16 +582,17 @@ static int __multipath_map(struct dm_target *ti, struct request *clone, * .request_fn stacked on blk-mq path(s) and * blk-mq stacked on blk-mq path(s). */ - *__clone = blk_mq_alloc_request(bdev_get_queue(bdev), - rq_data_dir(rq), BLK_MQ_REQ_NOWAIT); - if (IS_ERR(*__clone)) { - /* ENOMEM, requeue */ + clone = blk_mq_alloc_request(bdev_get_queue(bdev), + rq_data_dir(rq), BLK_MQ_REQ_NOWAIT); + if (IS_ERR(clone)) { + /* EBUSY, ENODEV or EWOULDBLOCK; requeue */ clear_request_fn_mpio(m, map_context); return r; } - (*__clone)->bio = (*__clone)->biotail = NULL; - (*__clone)->rq_disk = bdev->bd_disk; - (*__clone)->cmd_flags |= REQ_FAILFAST_TRANSPORT; + *__clone = clone; + clone->bio = clone->biotail = NULL; + clone->rq_disk = bdev->bd_disk; + clone->cmd_flags |= REQ_FAILFAST_TRANSPORT; } if (pgpath->pg->ps.type->start_io)