From patchwork Wed Apr 26 18:37:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9701857 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 2BB016032C for ; Wed, 26 Apr 2017 18:39:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EF2E285F0 for ; Wed, 26 Apr 2017 18:39:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 13AD7285F3; Wed, 26 Apr 2017 18:39:32 +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=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (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 8BE01285F0 for ; Wed, 26 Apr 2017 18:39:31 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8F2C0C00C7DF; Wed, 26 Apr 2017 18:39:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8F2C0C00C7DF Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dm-devel-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 8F2C0C00C7DF Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="aM1odgjn" Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6E82A17151; Wed, 26 Apr 2017 18:39:30 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 33DC518523D4; Wed, 26 Apr 2017 18:39:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v3QIdSas015396 for ; Wed, 26 Apr 2017 14:39:28 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7BDB2189C0; Wed, 26 Apr 2017 18:39:28 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CF8271898E; Wed, 26 Apr 2017 18:39:24 +0000 (UTC) Received: from esa1.hgst.iphmx.com (unknown [68.232.141.245]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7B569FBB4; Wed, 26 Apr 2017 18:38:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7B569FBB4 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=sandisk.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=Bart.VanAssche@sandisk.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 7B569FBB4 X-IronPort-AV: E=Sophos;i="5.37,255,1488816000"; d="scan'208";a="115834984" Received: from mail-by2nam01lp0180.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) ([216.32.181.180]) by ob1.hgst.iphmx.com with ESMTP; 27 Apr 2017 02:37:45 +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=T+5b8sp39Y9ZZaIOC5js7MnHHBvDKReG5H98M64E+J4=; b=aM1odgjndzH828xLWsjC/Lt5V15Dz2xuv5V6WUebGjXUi/FDJOPj7fzv6FfgLTgpsJQXmav4mx6Wxh7W+6auT5sNhx+Y7kVN9OZ/FB5xQlNfvZcrPEHFS9BFoWLH5wCSmJprN66ZivsI05g6Gx9mBTIDCwf05bHpx86oMuPeclo= Received: from BN6PR04CA0021.namprd04.prod.outlook.com (10.172.194.31) by DM2PR04MB893.namprd04.prod.outlook.com (10.141.157.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Wed, 26 Apr 2017 18:37:43 +0000 Received: from BN3NAM04FT042.eop-NAM04.prod.protection.outlook.com (2a01:111:f400:7e4e::205) by BN6PR04CA0021.outlook.office365.com (2603:10b6:404:cb::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12 via Frontend Transport; Wed, 26 Apr 2017 18:37:42 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) 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.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 BN3NAM04FT042.mail.protection.outlook.com (10.152.93.52) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1047.9 via Frontend Transport; Wed, 26 Apr 2017 18:37:41 +0000 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 F8.1E.19026.2F8E0095; Wed, 26 Apr 2017 11:37:38 -0700 (PDT) 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, 26 Apr 2017 11:37:32 -0700 X-AuditID: 0ac94371-41ba798000004a52-be-5900e8f26b1a Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id FA.6C.18148.CE8E0095; Wed, 26 Apr 2017 11:37:32 -0700 (PDT) From: Bart Van Assche To: Mike Snitzer Date: Wed, 26 Apr 2017 11:37:28 -0700 Message-ID: <20170426183728.10821-14-bart.vanassche@sandisk.com> In-Reply-To: <20170426183728.10821-1-bart.vanassche@sandisk.com> References: <20170426183728.10821-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCLMWRmVeSWpSXmKPExsXCddJ5ke6nFwyRBncnaFnsfTeb1WLBm71s Fm0bvzI6MHu833eVzWP9lqssAUxRXDYpqTmZZalF+nYJXBlLlvxkLpgtWbHg3Xe2BsYVIl2M HBwSAiYS3x9JdzFycQgJLGWSmHb0JyuEs41R4lj/JfYuRk6woumfv4HZQgKbGSXW/K8FsdkE jCS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VYmlOCPRUIu5qDgRAOQmwWimAQAA MIME-Version: 1.0 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:(10019020)(6009001)(39450400003)(39840400002)(39860400002)(39410400002)(39400400002)(39850400002)(2980300002)(438002)(189002)(199003)(9170700003)(48376002)(36756003)(6666003)(50466002)(1076002)(50226002)(575784001)(86362001)(110136004)(38730400002)(6916009)(8676002)(8936002)(54906002)(50986999)(76176999)(2950100002)(77096006)(2906002)(189998001)(305945005)(81166006)(356003)(47776003)(33646002)(106466001)(4326008)(53936002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR04MB893; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN3NAM04FT042; 1:D8tsNQMxwSD5GpO86sC6QIbCf+GYVcL0NVSNfqVcK6FAH2xiTPf4vPpti3O73bTqOGPyn8luVFSiWhzoIjP9J5Kbzrpvaxw4nvYNmTTg1k0VBy1J/xKqDDd7PT9do42LCm/Xv8bZDgLCXuDinMnE5ZSEf0Lfg3RB1rRae77p5Dc8ZwyIdbSKeOE9f4LuuQN6r9LtwaukOrEjCqVbWHQYqrpj+zx1Wswy7Zl0TGKTAX+7WKKRnu6jvEMGxHKlMIq2SeANPP+mlSu4CrtiermOBxN1TIU4Mn1PTgOsWc8j8j3by9I/oZ9yEQQ49B1uM8ACRek+s7GkJWPUnFjX8g2dN36wvipsmMnN1XAeWvJ71fVFUjOXF6aMriJhdG/uHuL1q9vF290/U2bzIosIsiKqRs1zN78w9lQK16qws8ImuWDJVBEO0SyoPfzUtcn60uFgtmjy0YoklKhKsmKdWGA4fzcMgp2ANHQbKizPBQagaE+iFBawYL0ic/SYo5V4TMIY X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 70bbb527-6978-4cc7-9319-08d48cd35339 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:DM2PR04MB893; X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB893; 3:usDl+wMB3nl1vPeX2HD2J01cLZkokuwrft8ryglI4upIGs919+j1bYvAEjwcrLzOZEa7jCTlKiMJiQBtRcGI7efYwyBUKS1JvYOaUpwMBJNNftOZvVHVLRa3waCXT9bv5TNXmyvt3m4Mu0Zd1VP8Ux2uvyoZSNBb2uLckJTzoyW/KtG6PB6pJDFd+foK1kcuxcGFeqRH8gYfJg7Ih15x3P36//70dPGECicJoqlXhaAHLt3wrMmyRvsJLAaOMKm5aiPJyVe55UkA1SLeDSpvzxHI2+ALY+ZPXHR5uY7MPpDc7b64rR66BWZebPUCSBjkPOFSXmOPCPvYN6VeB9HlDwmVTZ0IHYweUMw+b2DGlJ/APVhBKqaSXrntOwiLI7DP1YHHYmqgcaAbl7DybIODf51AcbpS8Mo+Sc3WiFs4SS/zCpa9Yebkg4Ass0BIm0HU3gXAwECSr0iC/nw5PdXjC/xiFCmSjJw7ujkYThpHuzlGmod06ErYBvIPx6nTg7At X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB893; 25:oUhP9z2Jq+TlWj1P+AM5q/aCsIm/oR/gIBAK/L+VFCGJ6aXjX93vCDbvnpOJepodF8yQ55wYDxnPfBFbZCsOzlB/Z2VNe1lJdJDLF6eu97ZQmVyU0hoVMLHCip1vmqaHI5IUxMP6SYNKC7bIN5Q8jxltaaUX4st1+J03PoIRZcEisDSWP5D0ppbXovM1yCqtif/LiVIo6dZWwTOU2aiU5Da6BJTpCwgwKIw8VC//5AJCFw7XLzi9Xf1f2bD2OkfzYLCP2Pb9plFrvbjc+6h8LrA+5u0MSUKPwPqE1sXOMQwpTqcCMCyCH1DHBz+E+zXZ9o7HWisbrSs/MYkcEqnz6At55RTws8KzJoZBhl7sBmRC0RXqMQO5wiaPQ2WiL2cfoP37wqFOS0CvWzQcbtMSYx1GnFPED+hk9eQysqHbF+duDw8s3tyoEnKFT1XKWkJM+LCT3LoYbqorNLqYTIqThA==; 31:3DlpTWJzQDwBg8SWXFiLke9RBY1LY3nId80fecWvZ7KEHi6dSxK/2/ySBIos5a0IcPBKCm62Oa5RO3WFlX3P5smEFZWVPCeBPFdYCCXEZKNtTCN2xGzYBl1o1+53hAJCCAGR0SO/zD0ii/zi6CzIicB1dCk9AcNRVfOS1ekQQgZU+8ScJljY5bd5Ubus64GOyW6zcjtYOm8jz/mv4YlL492z+zjsUNJM2hEv2Ps9z/RL2u0vEvj/flZHR6AyhYkDOiXq18XFzEaNCe2ogjIvD5vteZPgzRjaLG0KdNwXIzg= WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB893; 20:eNNIg1N4U+rUTV9gVO8DSYZIR+gjCQHu1B3D+RH5+9suJ60cQJyRmQStXCrrp+hgi4ad5PEW5TZRWz5Ts6QkXL4PK12VMywr9jWPUe0pUgUU+MH9XQaVLTlF2XJL5PSJVYyV+6StmxM+ZQuvABD9ejjvEYbgDjSBgtAXKvNF+Xk+H0SGeMdH6i/Bi8LV/mtA2NVVmBW2AG49TEzg4FJiTn+4xEI0ojb58Iz70GBnyokcpKtUEqvY9EQu0+Tzi4aou0ybvrUX80AZMxCot0i7pPKb6PfpJq7cUj3dYU0TXjulcbrS3aKVRoeRo4FtO2vPPCeBbofJKwhbbUMIaCK4t8iQme2of8fCxRd9iOHTJDPYbhArhiN6LFeIqe6kblFg6S6CZy1t0dMpcZbqoFMLFoA7E6CS97vgtLPErs8W27irr2Q7QT0Hh6xDbKmBbsLcYRIbmsRXaI/+yqzK1YNaBsvrPB3naaxBmOEEm0+Zn7eQvAQTlZT5zAdSldXJNW8v X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(13016025)(5005006)(13018025)(10201501046)(93006095)(93004095)(3002001)(6055026)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123560025)(6072148); SRVR:DM2PR04MB893; BCL:0; PCL:0; RULEID:; SRVR:DM2PR04MB893; X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB893; 4:kjo5QmgJRBC3sgVQadvX0j1hM06zO/52u5wbAybdhmSHukl1OGCZo2yjdvXCVNB24jq35Dcbv38vRzvJyGUY/zb07hMwhr3sawwZS7j+gB0Q/Ri6udXBoOdOj10Q1Zm1xyczYCyy1fCoeqA7oAKgjSKKh6mJr1nMsbbxz7HjHzsH3Bieh+JbwvOdZEpl2QdecmIjD7iwSH3FRIv5WHMpnV3XY3qK6d8MA303iePlIQ1ZloqKnWC0Jj5du7BaJgasZdRLYZtory+t3NpDKMEpLy4+UknFdC0cNNGQBoNbFIMksVO64D0GtZ38GaxzbuOrrjVBlQRKxVQeKcFiDrdkrNO5oHKIyhjmBres7CGwOg7xOkn/42NWDG1kkjZQe4fgLafSUVepTcL7Vq2rCwLJiFOqtUJI1I4/JYa+N/KCQkntoinQN7mJ+t26DIIlt7Ote0dpVIHeMVkW0TRIyMs7OXXvugSzYJyQXCNDoe92tz+b2w+qDExQNhJWE4F5iFk1VDnZ8drIWsg8z5m3XbmZDvFGAbC2aTk/4GrNx5vywF+PwmL55KWtylugCqLUsiP7g1JrI2yMVdLIaQIroG8sGaU2dWnwpORvSPMIuwEZyWprTWqAJ4UUFkqj6xs1rdnMK7ANglooJLUwHXEk7SviK88PVaP/jY2dGp0XTz+JKEFq8jJVsRntRTIcdCsXu8T8VhgzHnQJ1tU33H/+67zkpR94hhQxaQu4l1dk40iBj0zMFdhN6OQKFaTjTljclHZPDYvl2mNhaG3IDxjdP9TzrpM6IhKWhdi1PoSxe4isLPSFOAdofxe073YMRQ7pv29z X-Forefront-PRVS: 0289B6431E X-Microsoft-Exchange-Diagnostics: =?us-ascii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Output: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR04MB893; 7:kSDoSCc0dIJ6V/wboPKiX7lK5tWX9NvhhHwg3YTdGvyNY8mmS9v5UNaWGvHd67H+WIlF/XJpmi+0qUdFjM2lLbJhDu2JoPAT8sxXCTmYSTJtKYI6VaRTSgHBF/WdgoNrTq1qDFBz/Z5edrHp8rDL5ciszDick5eD+J8VZQB83xN0898UJGyHDDkt5rs5rFgDxST5oDw0zuXu2ktA0dmw3t28BR1CnNUHHPIIkX7xURMdIuwmBVCokwVM3ADriEwYUGjOzDagJZyAipWbNe7qydPsEs7c9MOx0ut7VsuORYrm38DkuJVGnCAr+aUfpPO2b5xzsPXqN6AGExuzIZjVHQ==; 20:lB2FoXSB6+pqt8zfQcuVBHpWXm/Z3eqS933OiVVdWRLirWQGWYdHZzV2hSFIYESx1eHX17XNq7eBC+ehbQ52tghcrcL5VHOkJ+1Pc+BucTLinIi5RTczn/syeWerM6Om7p2PBp0yv/AYKy/E/K7uBN4OYNTkFIKB3u6WNgPSjJs= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2017 18:37:41.6946 (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.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR04MB893 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 203 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 26 Apr 2017 18:38:56 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 26 Apr 2017 18:38:56 +0000 (UTC) for IP:'68.232.141.245' DOMAIN:'[68.232.141.245]' HELO:'esa1.hgst.iphmx.com' FROM:'Bart.VanAssche@sandisk.com' RCPT:'' X-RedHat-NoPTR: 68.232.141.245 has sent a message and has no valid PTR record X-RedHat-Spam-Score: 0.492 (BAYES_50, DCC_REPUT_00_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW, RDNS_NONE, SPF_PASS) 68.232.141.245 [68.232.141.245] 68.232.141.245 [68.232.141.245] X-Scanned-By: MIMEDefang 2.78 on 10.5.110.27 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: dm-devel@redhat.com Cc: Bart Van Assche , dm-devel@redhat.com, Hannes Reinecke Subject: [dm-devel] [PATCH 13/13] dm, dm-mpath: Make it easier to detect unintended I/O request flushes 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-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 26 Apr 2017 18:39:31 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP I/O errors triggered by multipathd incorrectly not enabling the no-flush flag for DM_DEVICE_SUSPEND or DM_DEVICE_RESUME are hard to debug. Add more logging to make it easier to debug this. Signed-off-by: Bart Van Assche Cc: Hannes Reinecke Reviewed-by: Hannes Reinecke --- drivers/md/dm-mpath.c | 25 +++++++++++++++++++++---- drivers/md/dm.c | 3 +++ 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 57b467207741..7aebbf4ae7d5 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -442,6 +442,23 @@ static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) } /* + * Note: dm_report_eio() is a macro instead of a function to make pr_debug() + * report the function name and line number of the function from which it has + * been invoked. + */ +#define dm_report_eio(m) \ +({ \ + struct mapped_device *md = dm_table_get_md((m)->ti->table); \ + \ + pr_debug("%s: returning EIO; QIFNP = %d; SQIFNP = %d; DNFS = %d\n", \ + dm_device_name(md), \ + test_bit(MPATHF_QUEUE_IF_NO_PATH, &(m)->flags), \ + test_bit(MPATHF_SAVED_QUEUE_IF_NO_PATH, &(m)->flags), \ + dm_noflush_suspending((m)->ti)); \ + -EIO; \ +}) + +/* * Map cloned requests (request-based multipath) */ static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, @@ -466,7 +483,7 @@ static int multipath_clone_and_map(struct dm_target *ti, struct request *rq, pr_debug("no path - requeueing\n"); return DM_MAPIO_DELAY_REQUEUE; } - return -EIO; /* Failed */ + return dm_report_eio(m); /* Failed */ } else if (test_bit(MPATHF_QUEUE_IO, &m->flags) || test_bit(MPATHF_PG_INIT_REQUIRED, &m->flags)) { return pg_init_all_paths(m) == 0 ? DM_MAPIO_REQUEUE : @@ -542,7 +559,7 @@ static int __multipath_map_bio(struct multipath *m, struct bio *bio, struct dm_m if (!pgpath) { if (test_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags)) return DM_MAPIO_REQUEUE; - return -EIO; + return dm_report_eio(m); } mpio->pgpath = pgpath; @@ -1481,7 +1498,7 @@ static int do_end_io(struct multipath *m, struct request *clone, if (atomic_read(&m->nr_valid_paths) == 0 && !test_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags)) - r = -EIO; + r = dm_report_eio(m); return r; } @@ -1524,7 +1541,7 @@ static int do_end_io_bio(struct multipath *m, struct bio *clone, if (atomic_read(&m->nr_valid_paths) == 0 && !test_bit(MPATHF_QUEUE_IF_NO_PATH, &m->flags)) - return -EIO; + return dm_report_eio(m); /* Queue for the daemon to resubmit */ dm_bio_restore(get_bio_details_from_bio(clone), clone); diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 7161c7804363..9f0aed0e1bf0 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -2158,6 +2158,9 @@ static int __dm_suspend(struct mapped_device *md, struct dm_table *map, */ if (noflush) set_bit(DMF_NOFLUSH_SUSPENDING, &md->flags); + else + pr_debug("%s: suspending without no-flush flag\n", + dm_device_name(md)); /* * This gets reverted if there's an error later and the targets