From patchwork Mon Jun 7 10:35:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coly Li X-Patchwork-Id: 12303093 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C238C47094 for ; Mon, 7 Jun 2021 10:36:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 46E31611AD for ; Mon, 7 Jun 2021 10:36:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230406AbhFGKiA (ORCPT ); Mon, 7 Jun 2021 06:38:00 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:59282 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230313AbhFGKh7 (ORCPT ); Mon, 7 Jun 2021 06:37:59 -0400 Received: from relay2.suse.de (unknown [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id AD51A21A89; Mon, 7 Jun 2021 10:36:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1623062167; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7KRZzIp9SBa+avBj89zyiHunlitU12DocrNCTKIlu3I=; b=PrIkOJZPLdIQ0JNb77pAXCvd+tyCjiZqQ/ItJxknYRs4R/EcTxvDd4+ZOBVwREVpqlZXJN +pFdXemvUFKO6FGANTmJsVFARGQ2Bfvo8kIHfR071ato7XUBQUm4uGek28ZoKR/DZQCOYe a9/dpJunTjQhFKM1deqJTY5xJJK7VGw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1623062167; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7KRZzIp9SBa+avBj89zyiHunlitU12DocrNCTKIlu3I=; b=Z8/i0DHbr/GVdpHhUkFHEwLvcXjmWx5qL8MXeRGBTXyRDRkV0U58eLHeK1KZsga3k1C0o7 S0sgmC+pFGXlpPAQ== Received: from localhost.localdomain (unknown [10.163.16.22]) by relay2.suse.de (Postfix) with ESMTP id 1D824A3B87; Mon, 7 Jun 2021 10:36:05 +0000 (UTC) From: Coly Li To: axboe@kernel.dk Cc: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Coly Li Subject: [PATCH 0/2] bcache fixes for Linux v5.13-rc6 Date: Mon, 7 Jun 2021 18:35:37 +0800 Message-Id: <20210607103539.12823-1-colyli@suse.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Hi Jens, This series is important for recent reported bcache panic partially triggered by recent bio changes since Linux v5.12. Current fix is 5th version since the first effort, it might not be perfect yet, but it survives from different workloads from Rolf, Thorsten and me for more than 1 week in total. Considering many people are waiting for a stable enough fix and it is kind of such fix. Please take them for Linux v5.13-rc6. Thank you in advance for taking care of them. Coly Li --- Coly Li (2): bcache: remove bcache device self-defined readahead bcache: avoid oversized read request in cache missing code path drivers/md/bcache/bcache.h | 1 - drivers/md/bcache/request.c | 19 ++++++------------- drivers/md/bcache/stats.c | 14 -------------- drivers/md/bcache/stats.h | 1 - drivers/md/bcache/sysfs.c | 4 ---- 5 files changed, 6 insertions(+), 33 deletions(-)