Skip to content

bcache patches for Linux v5.10

Coly Li linux-bcache linux-block 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/15bcache: share register sysfs with async registerdrivers/md/bcache/super.c+7 -52 replies
2/15bcache: check c->root with IS_ERR_OR_NULL() in mca_reserve()drivers/md/bcache/btree.c+1 -10 replies
3/15bcache: Convert to DEFINE_SHOW_ATTRIBUTEdrivers/md/bcache/closure.c+3 -130 replies
4/15bcache: remove 'int n' from parameter list of bch_bucket_alloc_set()drivers/md/bcache/alloc.c drivers/md/bcache/bcache.h drivers/md/bcache/btree.c +1 more+19 -240 replies
5/15bcache: explicitly make cache_set only have single cachedrivers/md/bcache/alloc.c drivers/md/bcache/bcache.h drivers/md/bcache/super.c+12 -170 replies
6/15bcache: remove for_each_cache()drivers/md/bcache/alloc.c drivers/md/bcache/bcache.h drivers/md/bcache/btree.c +3 more+237 -2940 replies
7/15bcache: add set_uuid in struct cache_setdrivers/md/bcache/bcache.h drivers/md/bcache/debug.c drivers/md/bcache/super.c +1 more+16 -150 replies
8/15bcache: only use block_bytes() on struct cachedrivers/md/bcache/bcache.h drivers/md/bcache/btree.c drivers/md/bcache/debug.c +4 more+24 -240 replies
9/15bcache: remove useless alloc_bucket_pages()drivers/md/bcache/super.c+0 -30 replies
10/15bcache: remove useless bucket_pages()drivers/md/bcache/bcache.h+0 -10 replies
11/15bcache: only use bucket_bytes() on struct cachedrivers/md/bcache/bcache.h drivers/md/bcache/sysfs.c+2 -20 replies
12/15bcache: don't check seq numbers in register_cache_set()drivers/md/bcache/super.c+0 -150 replies
13/15bcache: remove can_attach_cache()drivers/md/bcache/super.c+0 -100 replies
14/15bcache: check and set sync status on cache's in-memory super blockdrivers/md/bcache/alloc.c drivers/md/bcache/journal.c drivers/md/bcache/super.c +1 more+7 -100 replies
15/15bcache: remove embedded struct cache_sb from struct cache_setdrivers/md/bcache/alloc.c drivers/md/bcache/bcache.h drivers/md/bcache/btree.c +8 more+46 -590 replies

Reviews trailers per patch

11 of 15 patches have a Reviewed-by or Acked-by.

PatchHannes Reinecke
1/15
2/15
3/15
4/15R-b
5/15
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15R-b
12/15R-b
13/15R-b
14/15R-b
15/15R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] bcache patches for Linux v5.10

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(-)
Signature · 1 line
2.26.2