From patchwork Thu Aug 25 20:57:31 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: 9299957 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 74BE3607D8 for ; Thu, 25 Aug 2016 21:01:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58796293AE for ; Thu, 25 Aug 2016 21:01:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CAE3293B9; Thu, 25 Aug 2016 21:01:30 +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 mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) (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 7D902293AE for ; Thu, 25 Aug 2016 21:01:28 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7PKvjuD053164; Thu, 25 Aug 2016 16:57:46 -0400 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 u7PKviW8008954 for ; Thu, 25 Aug 2016 16:57:44 -0400 Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u7PKvix1014491 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 25 Aug 2016 16:57:44 -0400 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0078.outbound.protection.outlook.com [104.47.38.78]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 37F304E4E1; Thu, 25 Aug 2016 20:57:43 +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=jxPzNtcAZHqZa39+jIeCLsrh3hrX5FdY4OSAkI/nikY=; b=RP1LUe18HdXzyYQG9bYDI9RAUcGYP/PRFak59yQB2MCSRv3rrPTdWb7USXIt0/A2cvS8O9g8wgEZi4bdb2G2DnfX6LOKNYdVidOl4iYog18aWeAnUINpjjqxpqYUz2NLYjw+AQkMWdQ1f3cxTPmyTrgXvoacYHb8o0oe6TyBOXo= Received: from BY2PR02CA0042.namprd02.prod.outlook.com (10.141.216.32) by BLUPR02MB1250.namprd02.prod.outlook.com (10.163.80.155) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.13; Thu, 25 Aug 2016 20:57:39 +0000 Received: from BL2FFO11OLC007.protection.gbl (2a01:111:f400:7c09::132) by BY2PR02CA0042.outlook.office365.com (2a01:111:e400:2c40::32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.13 via Frontend Transport; Thu, 25 Aug 2016 20:57:39 +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 BL2FFO11OLC007.mail.protection.outlook.com (10.173.160.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.587.6 via Frontend Transport; Thu, 25 Aug 2016 20:57:38 +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 E0.F5.26959.7B95FB75; Thu, 25 Aug 2016 13:48:58 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.301.0; Thu, 25 Aug 2016 13:57:35 -0700 X-AuditID: 0ac94369-b97ff7000001694f-69-57bf59b7ab66 Received: from exp-402881.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 84.9B.03606.BBB5FB75; Thu, 25 Aug 2016 13:57:34 -0700 (PDT) From: Bart Van Assche To: Mike Snitzer Message-ID: <1e64fe53-ed57-ef97-a077-19a153506e63@sandisk.com> Date: Thu, 25 Aug 2016 13:57:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKLMWRmVeSWpSXmKPExsXCddJ5ke6uyP3hBscb5S32vpvNanFw9mQ2 i7aNXxkdmD1ePVzF6vF+31W2AKYoLpuU1JzMstQifbsErox9HfwFb3krFq/az9zA2MDdxcjJ ISFgIrFyWidLFyMXh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p+Z2gtzvlm67T37Mn7u9vVV86bqsfYm Mu9Y8uhstYjoi3YOKZM161fnrvvfJXKGv19nv0oDh9IWx7YfjYpshVn/a5RYijMSDbWYi4oT ARLRQqTPAQAA 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)(979002)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(64126003)(626004)(54356999)(83506001)(11100500001)(5660300001)(86362001)(92566002)(229853001)(77096005)(65806001)(87936001)(23676002)(65956001)(19580395003)(106466001)(50986999)(33646002)(2270400002)(31686004)(31696002)(50466002)(47776003)(53416004)(7696003)(36756003)(68736007)(19580405001)(189998001)(69596002)(305945005)(2906002)(81166006)(4326007)(356003)(7846002)(586003)(110136002)(97736004)(81156014)(8936002)(8676002)(4001350100001)(230700001)(65826006)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR02MB1250; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC007; 1:Fq8wW2Ua4F9pl8szUlsP+DTSfd2DdqALP5ZOsWOL7Lvwd0YQ0LmfwqzbY6f5xkaPqxemND3Z8G+74/mXGAlpwQ2ueEkph2wVLV/dCEbjNyMZxKFHbHI7Jy60vLu+KY4FMAgRxAr3DTh3yfx1Rh5stCeJ03dNtwwA4rpv5AgJVMWNf/om784s8E8y1TE+4EfXVzyiElQYHdVHGAZBDk73uEKHpYVPxYbzEVpHyCQN7e387FtFm2ctIXgQ7xtx1rC22w2FzP3FeWi6eXQlMSm04BzaCPxerNBWkp4SisDHp6j6KqNO9pEfe0ch8PFEuUzDsWP1uwvvyHibxl5cEBh91OKIsR94jzFQD3yPrZEqjemv2k1E49qxqcsEYk/Az8uDvZwo62s6nYN+DOBPoWRRnh04ZQfL8uhezqmyWOOmnWam+Yh2kmhO1aotCD68BERYszToa5rCGfiOCF3mAbK17adDVAzEI2vQd5hYVY+ynrw= X-MS-Office365-Filtering-Correlation-Id: 67657859-eecd-464c-ffa8-08d3cd2a7315 X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1250; 2:3uRU/MiiMAxVcPLrRqsUgGsV/vLrXJBMLKvSnct/IJDa58BUG8azkS3hcAWSo5IYfV3aT/ZemIqDkSbmlNsSb9Pmk/uozJ1/KREtiFM0FCbjhtuBEqxu07CmarszkHKymHLDwlvja/mT9Q1nfQXsh1XnZrWvSI/beEddX6ZfRI/ERCfjm84auYPZkKgAPQW9; 3:o52hizO2yx432twXnK4fpanKS8YdKzGr94vpoJaEuVLh+56Ctls1qkQj0IaavRQTvnvEeszE0ObGB25hkvE3Qxp3njn3I0xccJ2GNlUOlhGMQyh5ErXNibpGtJ4Q2gLSgMdwKEPmFRBb+cEpHgPDd1EgeB9R9OCnO+sPw2mnF5XT9JRl7pK56xobYXeKvhs/YmXs04w51mEm/u0g9FSsx8rlM8fHjdUumtXfOQI1KRA2UGjGNm71Q8M6LxS4Uqow78n1hy/oHCnWPaBWpbaorA==; 25:1RPl8VFi5helrut3qSUmM/u5m5Bmm8I0kIvQEYv2HQ82eUZ7+2SK99sDrrTjL3iDxAzW4fVwDYb6yCZmHNLhEpnvmx5vtajm2IRHe6z6vn5G4kvXc2BLqPSFi1MqZs+w1DOwUzRlE9LG7f7PlX7dUcPMaVU75magRzI2w5iqA961GQxPdQyyrgyWTWGGddnphCp2NkBzXXiOZFPkQOxa5UoFKDoPIsQGKxzv+gkyModpMycvZGVH2gaa+9aj1D4VSt3JShhhrbZfVwZgB56PCERfgpXEGUDDEcGiUkXjcSdWPLCrJfLpDXgL1vkhBJB+bItUQNHVnyxK3PJaS33KRPSr9Ga/mvVOj2tka33VSGlVDERDfqhzUs7FjIolAMXrSpqpsMKYPfhvwJ9Qkn1mViP0YP2qLRqP5znXOpFOm0E= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:BLUPR02MB1250; X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1250; 31:D1buboY2T6xgc6G3/TgTy0V6/CU+gpuKOJ8ZoZv6T2Gz5ug7M+DX6Po+pjhxqPlfbmtDZO2+vbxXYOxgx6/JdNR+G8lPpVYhgR/hXNTLex180bwqR9TxXuKfRN+OGvGChFIlkL8coTP8sNeLx1hKRqfW/Web2Yf2PY/BHPakxNwVOX0nZG2h6DfbLbbEuJMRdEbkhGAGYDne7z/wJxzy8u0Pa77imBqH51O1oEPwFY4=; 20:fP2tOQNFZfImUGY6FK1D6OUTQogqc90Vp/pSrnc2CuBx3INIJii7IiE7y/ubXr+/qxCFpbf+KZOweZ4cSOed9EyAb5RiYeUch5AImdTVoo1uuo4GXlWDtalfuGLWTrR2PM1LPCNoZNcj1kQ1f++ssktn4zzqJBLMu+2lGT142vObBSEO4/rx4JkArWjGtKMedUtCo+oIj1q8Wk/BiwhF/+MwEZeK/CF9wC6hSIN6iW0xfuRHYCmxFbzgOs17WuVm0zwJM6dVJKfcQbBJrvsBPA8ozXNZZ1CardHOZMvRL9NTlSEAp9gg0RDstWYAAx9l90rihGcGAgjjS+/5/cFM9mLWf+W4ZlWXYUXV0oQ0flsrMN5ql/Ijt8WrhO4HUJ5rLCmAmfN+L5ZFFb4UYpDj+cTovxhEZ94m3XWxajjmmW04SliY1cRIYQemrvtjLjQJGZTKSXgUtOKXKrm4GDQ13SwG5goW37ZaB4d4cHx8Lislq/4Bb7g0v0il9QUBwmMF X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:BLUPR02MB1250; BCL:0; PCL:0; RULEID:; SRVR:BLUPR02MB1250; X-Microsoft-Exchange-Diagnostics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W50I7slKvpp/RZIC7zjF6PNbcMmUBp4Oka8hN7oSDOkdJY3Dgg==; 24:Wb4BWQ89fDc7khvU93DrE3s/P0eoP8ImRnIpyadT+d+2aASGE0ILrOYLMA/ws7pSQT6iFh4Z5t4l8BSour7OrB61mdLKDCbUbV0EpaXfNSk=; 7:ydzQo9y+hXnQcRO2UMr1mYzFEdP4VxQJeGW7FBiPmTI/BzfElRrR9IqAgk1Un+oyLYkocyKbBv5ac2/rBYBvF+CjOMW4lv5pcnajNU9j4/QTVvvc6/rRzyEBMMAk3633lmDo9ss1gRdr1kT4QXdeaMc4YY/JvtGAJXU1Dn5V0kw5HDlj95xI0mp86B6TSZjiQcqjMqjPDsW7KliiGNAkJA/19CL4/DLvcOjElJpB4Q00Yv0xSgfwHN3/AAyOY8vq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR02MB1250; 20:xwErzdEX8rUYvJ57DDy+Rq8cCHgusM3Il23mBQQh3p8bquGi2/CCckSU0YQgkbkeZl2Sn/wBCTXhCA6lkXWs5a1WMZ6YAGkFBd/v84LggVEB8dsnQxXGgKy6GO0Zr1vhIQ39ydP18TA9vP9Jx3+BJgrYghRi+wz68Vh1mMXDuUb0DKPHnt+RSJS5MmKjaLwVX1J9N2W6LdyoCXcVU074cwXETK9Q35eBM6GBKapjJ/ZKd4SlBCN8jdDvz6OPB70B X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2016 20:57:38.8925 (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: BLUPR02MB1250 X-Greylist: Sender IP whitelisted by DNSRBL, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 25 Aug 2016 20:57:43 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 25 Aug 2016 20:57:43 +0000 (UTC) for IP:'104.47.38.78' DOMAIN:'mail-bl2nam02on0078.outbound.protection.outlook.com' HELO:'NAM02-BL2-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.38.78 mail-bl2nam02on0078.outbound.protection.outlook.com 104.47.38.78 mail-bl2nam02on0078.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.38 X-loop: dm-devel@redhat.com Cc: Kiyoshi Ueda , device-mapper development Subject: [dm-devel] [PATCH RFC] dm: Fix a bio leak in dec_pending() 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 Ensure that bio_endio() is called if io->error == DM_ENDIO_REQUEUE and __noflush_suspending(md) returns false. Posting this as an RFC since I'm not really familiar with the dm code. Fixes: commit 2e93ccc1933d ("dm: suspend: add noflush pushback") Signed-off-by: Bart Van Assche Cc: Kiyoshi Ueda --- drivers/md/dm.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/md/dm.c b/drivers/md/dm.c index fa9b1cb..6e04357 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -767,6 +767,7 @@ static void dec_pending(struct dm_io *io, int error) int io_error; struct bio *bio; struct mapped_device *md = io->md; + int noflush_suspending; /* Push-back supersedes any I/O errors */ if (unlikely(error)) { @@ -782,12 +783,16 @@ static void dec_pending(struct dm_io *io, int error) * Target requested pushing back the I/O. */ spin_lock_irqsave(&md->deferred_lock, flags); - if (__noflush_suspending(md)) + noflush_suspending = __noflush_suspending(md); + if (noflush_suspending) bio_list_add_head(&md->deferred, io->bio); - else - /* noflush suspend was interrupted. */ - io->error = -EIO; spin_unlock_irqrestore(&md->deferred_lock, flags); + + if (noflush_suspending) + return; + + /* noflush suspend was interrupted. */ + io->error = -EIO; } io_error = io->error; @@ -795,9 +800,6 @@ static void dec_pending(struct dm_io *io, int error) end_io_acct(io); free_io(md, io); - if (io_error == DM_ENDIO_REQUEUE) - return; - if ((bio->bi_opf & REQ_PREFLUSH) && bio->bi_iter.bi_size) { /* * Preflush done for flush with data, reissue