Return-Path: Received: from schatzi.steelbluetech.co.uk ([92.63.139.240]:48247 "EHLO schatzi.steelbluetech.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752669AbdK0QwR (ORCPT ); Mon, 27 Nov 2017 11:52:17 -0500 Subject: Re: Patch "bcache: only permit to recovery read error when cache device is clean" has been added to the 4.9-stable tree To: gregkh@linuxfoundation.org, colyli@suse.de, mlyle@lyle.org Cc: awolf@lenovo.com, axboe@kernel.dk, bcache@lists.ewheeler.net, hurikhan77@gmail.com, kent.overstreet@gmail.com, nix@esperi.org.uk, tang.junhui@zte.com.cn, stable@vger.kernel.org References: <1511798800229104@kroah.com> From: Eddie Chapman Reply-To: Eddie Chapman Message-ID: <704d1c65-b032-314b-3ad1-e87229dc655a@ehuk.net> Date: Mon, 27 Nov 2017 16:45:22 +0000 MIME-Version: 1.0 In-Reply-To: <1511798800229104@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 27/11/17 16:06, gregkh@linuxfoundation.org wrote: > > This is a note to let you know that I've just added the patch titled > > bcache: only permit to recovery read error when cache device is clean > > to the 4.9-stable tree which can be found at: > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > The filename of the patch is: > bcache-only-permit-to-recovery-read-error-when-cache-device-is-clean.patch > and it can be found in the queue-4.9 subdirectory. > > If you, or anyone else, feels it should not be added to the stable tree, > please let know about it. Hi Greg, This patch is an important fix for a possible data corruption issue, but it also introduces a bug that can produce read errors under certain circumstances. The issue introduced by this patch is not as severe as the issue it fixes, but can lead to e.g. upper layer fs remounting read only. In my environment upper layer handled it badly and indirectly resulted in data loss (not directly bcache's fault of course). Michael Lyle CC'd the stable list with a follow up fix for the issue introduced by this patch, on 24th Nov, subject "bcache: recover data from backing when data is clean". However, the followup fix is not in Linus' tree yet, only in Michael's. I guess that means you can't pick it up yet. Never-the-less I felt it important to point this out here. thanks, Eddie