Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp328972pxb; Wed, 11 Nov 2020 04:57:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJziUdbMzgDQTAIoryr4hMB1/xgmKa6XARmiTa7hvns2qetJP2RUvA2l8lXoyAuZybil//zH X-Received: by 2002:a17:906:491a:: with SMTP id b26mr24846036ejq.385.1605099454364; Wed, 11 Nov 2020 04:57:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605099454; cv=none; d=google.com; s=arc-20160816; b=08zL81f96jgdMe/Sl7xFNIUlA6n2bG71nl1czRCv9QZ9rCrhr0b4cUoPq07Q0EwLGH OLI7ks/nKvhhQl+OHvU4LarEOXPLuONncPERqqn5xPl94SjsYqj1jk/QoKZLObDoy4Oi wxxl1JgP3d+UycFg5Xd306M2db63jA+Z+8ZUdtJnJZXzj6K+CQ4XqDjC3uIhPZ4OSrFE VzApQc4ZYUe8MYZqLufTtl1PGq/IV7joBVAWfCEX7UzcYkWwCesY/mPuRBccEkmmsC21 en2+T0RWQIaFqmluNU3ZLZh2qw3e+E5eWlqdbYjccTO3WTrcQfajxKFkJppqQgZ4BxyN WsBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=BJ878MTKDQbkkEJ1XRYs09vGep0OMAeBuML2LW0vYXM=; b=fShoamTrGaZnucANKoz78BqDPxbETX00mGXDwEO/o6E8gIMVWgaV/wOVtq9AzpX+s3 JL25aV/P6QHQ21WR6AQz/Rx3z8f8vMFDLG3rH4A6Kd/ADtm5CPtjOh2Myfza8Ke28uJj SXV08ppxd49oF1RAUQ9TXRUb7lzA8X2vvb/ZH52CDlaoWcBiIYXvHoCxEpFMJYwXLv1F gpkzuyn1uTsC1BHUUhoJxk3qITdQ9qpBgqAUmnKTe7sdWeAHG49uRfpfqd94x0mItJI4 I8/Qa5HMFyk2HCiXAm/Z2pMc+5iV3hZMcKKvat2T1OfCONp5u5LZ8jADqfeXB7LcOoHS IGhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@veeam.com header.s=mx4 header.b=nXnuBlq3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=veeam.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ml22si1186878ejb.172.2020.11.11.04.57.10; Wed, 11 Nov 2020 04:57:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@veeam.com header.s=mx4 header.b=nXnuBlq3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=veeam.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726157AbgKKMzf (ORCPT + 99 others); Wed, 11 Nov 2020 07:55:35 -0500 Received: from mx4.veeam.com ([104.41.138.86]:58222 "EHLO mx4.veeam.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725909AbgKKMzf (ORCPT ); Wed, 11 Nov 2020 07:55:35 -0500 Received: from mail.veeam.com (prgmbx01.amust.local [172.24.0.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx4.veeam.com (Postfix) with ESMTPS id AFC0D8A762; Wed, 11 Nov 2020 15:55:33 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=veeam.com; s=mx4; t=1605099333; bh=BJ878MTKDQbkkEJ1XRYs09vGep0OMAeBuML2LW0vYXM=; h=From:To:CC:Subject:Date:From; b=nXnuBlq3d7J6a8cbBHc00YRYmL+Y3glUoAUZVAK1AYzaAU5ekp5i8hiElFgDZ2Qa9 K0qtbXMdgpRQvdj6+K5tOUjvPlOl7wipAaAYN9vtd8rc77dc7ZtccHIh3UIdBcR+F9 4HOADBL5Ac0gTfzh0nlYaT6GeK9KUz807m88O6eA= Received: from prgdevlinuxpatch01.amust.local (172.24.14.5) by prgmbx01.amust.local (172.24.0.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.721.2; Wed, 11 Nov 2020 13:55:32 +0100 From: Sergei Shtepa To: , , , CC: Sergei Shtepa Subject: [PATCH 0/1] Bug with RCU locking in dm_blk_report_zones() Date: Wed, 11 Nov 2020 15:55:45 +0300 Message-ID: <1605099346-3199-1-git-send-email-sergei.shtepa@veeam.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.24.14.5] X-ClientProxiedBy: prgmbx01.amust.local (172.24.0.171) To prgmbx01.amust.local (172.24.0.171) X-EsetResult: clean, is OK X-EsetId: 37303A29C604D26A617667 X-Veeam-MMEX: True Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The dm_get_live_table() function makes RCU read lock and dm_put_live_table() should call even when dm_table map was not found. Sergei Shtepa (1): Fix bug with RCU locking in dm_blk_report_zones(). drivers/md/dm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.20.1