From patchwork Mon Oct 8 12:41:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coly Li X-Patchwork-Id: 10630613 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 759A113BB for ; Mon, 8 Oct 2018 12:41:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 652FD28E73 for ; Mon, 8 Oct 2018 12:41:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5983E28E7D; Mon, 8 Oct 2018 12:41:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE05B28E73 for ; Mon, 8 Oct 2018 12:41:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726014AbeJHTxG (ORCPT ); Mon, 8 Oct 2018 15:53:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:35090 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725914AbeJHTxF (ORCPT ); Mon, 8 Oct 2018 15:53:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id AEA5DB09C; Mon, 8 Oct 2018 12:41:32 +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 4.20 Date: Mon, 8 Oct 2018 20:41:06 +0800 Message-Id: <20181008124121.20192-1-colyli@suse.de> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Jens, Here are patches for Linux 4.20. In this run we don't have big changes, most of the patches for fixes or code cleanup. Ben Peddell resends a patch which had no response for a while, I pick it for this version. Our new developer Dongbo Cao contributes a bug fix to avoid kernel panic for too small cache set size, with other code cleanup changes. Shenghui and me have several code cleanup and minor fixes, and Junhui again contributes helpful fixes for several real bugs. Please pull them for 4.20 merge window. Thanks in advance. Coly Li --- Ben Peddell (1): bcache: Populate writeback_rate_minimum attribute Coly Li (3): bcache: use REQ_PRIO to indicate bio for metadata bcache: fix typo in code comments of closure_return_with_destructor() bcache: replace hard coded number with BUCKET_GC_GEN_MAX Dongbo Cao (3): bcache: remove useless parameter of bch_debug_init() bcache: split combined if-condition code into separate ones bcache: panic fix for making cache device Shenghui Wang (4): bcache: account size of buckets used in uuid write to ca->meta_sectors_written bcache: recal cached_dev_sectors on detach bcache: remove unused bch_passthrough_cache bcache: use MAX_CACHES_PER_SET instead of magic number 8 in __bch_bucket_alloc_set Tang Junhui (4): bcache: trace missed reading by cache_missed bcache: fix ioctl in flash device bcache: correct dirty data statistics bcache: fix miss key refill->end in writeback drivers/md/bcache/alloc.c | 2 +- drivers/md/bcache/bcache.h | 2 +- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/closure.h | 3 +- drivers/md/bcache/debug.c | 2 +- drivers/md/bcache/extents.c | 2 +- drivers/md/bcache/request.c | 9 ++- drivers/md/bcache/request.h | 2 +- drivers/md/bcache/super.c | 113 +++++++++++++++++++++++++++++------- drivers/md/bcache/sysfs.c | 2 + 10 files changed, 109 insertions(+), 30 deletions(-)