From patchwork Thu Oct 1 06:50:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coly Li X-Patchwork-Id: 11810967 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7125D112C for ; Thu, 1 Oct 2020 06:51:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 55A532176B for ; Thu, 1 Oct 2020 06:51:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725975AbgJAGvG (ORCPT ); Thu, 1 Oct 2020 02:51:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:33368 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbgJAGvF (ORCPT ); Thu, 1 Oct 2020 02:51:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 01AF9ABBE; Thu, 1 Oct 2020 06:51:04 +0000 (UTC) From: Coly Li To: axboe@kernel.dk Cc: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org, Coly Li Subject: [PATCH 00/15] bcache patches for Linux v5.10 Date: Thu, 1 Oct 2020 14:50:41 +0800 Message-Id: <20201001065056.24411-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 is the first wave bcache patches for Linux v5.10. In this period most of the changes from Qinglang Miao and me are code cleanup and simplification. And we have a good fix is from our new contributor Dongsheng Yang, - bcache: check c->root with IS_ERR_OR_NULL() in mca_reserve() Please take them for Linux v5.10. Thank you in advance. Coly Li --- Coly Li (13): bcache: share register sysfs with async register bcache: remove 'int n' from parameter list of bch_bucket_alloc_set() bcache: explicitly make cache_set only have single cache bcache: remove for_each_cache() bcache: add set_uuid in struct cache_set bcache: only use block_bytes() on struct cache bcache: remove useless alloc_bucket_pages() bcache: remove useless bucket_pages() bcache: only use bucket_bytes() on struct cache bcache: don't check seq numbers in register_cache_set() bcache: remove can_attach_cache() bcache: check and set sync status on cache's in-memory super block bcache: remove embedded struct cache_sb from struct cache_set Dongsheng Yang (1): bcache: check c->root with IS_ERR_OR_NULL() in mca_reserve() Qinglang Miao (1): bcache: Convert to DEFINE_SHOW_ATTRIBUTE drivers/md/bcache/alloc.c | 60 ++++----- drivers/md/bcache/bcache.h | 29 ++-- drivers/md/bcache/btree.c | 146 ++++++++++---------- drivers/md/bcache/btree.h | 2 +- drivers/md/bcache/closure.c | 16 +-- drivers/md/bcache/debug.c | 10 +- drivers/md/bcache/extents.c | 6 +- drivers/md/bcache/features.c | 4 +- drivers/md/bcache/io.c | 2 +- drivers/md/bcache/journal.c | 246 ++++++++++++++++------------------ drivers/md/bcache/movinggc.c | 58 ++++---- drivers/md/bcache/request.c | 6 +- drivers/md/bcache/super.c | 244 +++++++++++++-------------------- drivers/md/bcache/sysfs.c | 10 +- drivers/md/bcache/writeback.c | 2 +- include/trace/events/bcache.h | 4 +- 16 files changed, 363 insertions(+), 482 deletions(-)