Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2826992pxv; Mon, 12 Jul 2021 02:55:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzm95okhSw84LlMmcxH+JpzIaskcimp+fKl66sWymo0zhRFAAQmevWPwqPLkEEH7POZx+7Z X-Received: by 2002:a5e:8e44:: with SMTP id r4mr10170551ioo.124.1626083740338; Mon, 12 Jul 2021 02:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626083740; cv=none; d=google.com; s=arc-20160816; b=F91AEjuxzFC6bXUwMku5FLoYm23natjrO2O5vmV/6cme0QKDX6iBUTonejRu5HaeRW LXM6F7Ojc41d9HgpWDjZPT8+jXWTwzRSwJPBlZCjqrzSNgmdgIFO0gKCgGAxn6hb2KZV gyeB//AII9UzGmWGV7K5Tz/2YHfM1x8FfqV+ulcxKDfOTMW/meTcAhzASJunvoQp6DhW Vy4vcW+XZ2pNTgPJ3w6HkZSORmkxW1q1F60NhWtcJq46viXVp7Gd9Fejs2sVFeeWpMsW IAHuCVIVfeLQqWj3+U6I6/O+7B0LFctuh6VU30O5LgOBkPM246iiuuhl7nez2iy8DrYa UGjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Vk+y1N0mB2oYuGxMHX1S79MSpW9vUzmxv4lL7trqBSY=; b=xlFFyuzwkxbueCucLdfg17yLHedxxKQdfKLhttr+91NUU+5O7+XKu5cZGnKHK19rVu kRaXc90o5HMk/qNwujEV5mwA6g5bKldlFYZIhwLEpirjX2+juAyDw/KBInwnfj52Ox+J QJzWJuZy+P6T26ZarBgJ7gdHPTq8rS2Y5kkokDGg7IEEkpXvhXldkd6fv4uQaPQMtSd+ psosHe8si9MlF8DvJFkgEWVGdMBn9Ia6yZTAUXc2tFG2WpZAt5u//fCVQSmPNcC2hIPV V1BQpqKEk9dbyKvRU9I9u1yA5a/gzpvIO9b3zNX91aFysiP9nfQEIStcyAoLDwu4tFFJ OICg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RTPnhxcv; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a5si16571990ioq.24.2021.07.12.02.55.29; Mon, 12 Jul 2021 02:55:40 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=RTPnhxcv; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241595AbhGLG6B (ORCPT + 99 others); Mon, 12 Jul 2021 02:58:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:34676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238669AbhGLGlt (ORCPT ); Mon, 12 Jul 2021 02:41:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4D63661166; Mon, 12 Jul 2021 06:38:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626071927; bh=3MAqpF/9SWuEGiSjf2Mm6Jmve9x6pUdqIRnr5vEv3Ow=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RTPnhxcv5LAk5ZiIA28nVoMCsPFWEVpVzZLWkQJbpQ9iWgLumYPDPYHvmjVoTrGgX 5OGctOeyGIRYrNwl1YjUtFojPeRA4/raHt/n/jwQ0A9O24MT1RfFIeU70YpyGFVTMy bE8rBEzSI7z+AuZeai4aEg6824LDF6D0y2OPAC2I= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christoph Hellwig , Jens Axboe , Sasha Levin Subject: [PATCH 5.10 279/593] mark pstore-blk as broken Date: Mon, 12 Jul 2021 08:07:19 +0200 Message-Id: <20210712060914.729174211@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210712060843.180606720@linuxfoundation.org> References: <20210712060843.180606720@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christoph Hellwig [ Upstream commit d07f3b081ee632268786601f55e1334d1f68b997 ] pstore-blk just pokes directly into the pagecache for the block device without going through the file operations for that by faking up it's own file operations that do not match the block device ones. As this breaks the control of the block layer of it's page cache, and even now just works by accident only the best thing is to just disable this driver. Fixes: 17639f67c1d6 ("pstore/blk: Introduce backend for block devices") Signed-off-by: Christoph Hellwig Link: https://lore.kernel.org/r/20210608161327.1537919-1-hch@lst.de Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin --- fs/pstore/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig index e16a49ebfe54..8efe60487b48 100644 --- a/fs/pstore/Kconfig +++ b/fs/pstore/Kconfig @@ -165,6 +165,7 @@ config PSTORE_BLK tristate "Log panic/oops to a block device" depends on PSTORE depends on BLOCK + depends on BROKEN select PSTORE_ZONE default n help -- 2.30.2