Skip to content

bcache-next 20231120

Coly Li linux-bcache linux-block stable 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10bcache: avoid oversize memory allocation by small stripe_sizedrivers/md/bcache/bcache.h drivers/md/bcache/super.c+3 -00 replies
2/10bcache: check return value from btree_node_alloc_replacement()drivers/md/bcache/btree.c+2 -00 replies
3/10bcache: remove redundant assignment to variable cur_idxdrivers/md/bcache/writeback.c+1 -10 replies
4/10bcache: prevent potential division by zero errordrivers/md/bcache/sysfs.c+1 -10 replies
5/10bcache: fixup init dirty data errorsdrivers/md/bcache/writeback.c+4 -10 replies
6/10bcache: fixup lock c->root errordrivers/md/bcache/writeback.c+11 -30 replies
7/10bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up racedrivers/md/bcache/writeback.c+2 -10 replies
8/10bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()drivers/md/bcache/btree.c+1 -10 replies
9/10bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()drivers/md/bcache/btree.c+7 -00 replies
10/10bcache: avoid NULL checking to c->root in run_cache_set()drivers/md/bcache/super.c+1 -10 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchEric WheelerColy Li
1/10R-b
2/10
3/10R-b
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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/10] bcache-next 20231120

Hi Jens,

Here are recent bcache patches tested by me on Linux v6.7-rc1 and can be applied on branch block-6.7 of linux-block tree.

In this series, Colin provids useful code cleanup, some small and still important fixes are contributed from Mingzhe, Rand. Also there are some fixes and a code comments patch from me.

When I fixed the issue found during testing, 6.7-rc1 was released. IMHO it still makes sense to have most of the fixes into 6.7. Please consider to take them in block-6.7 if it is possible.

Thanks in advance.

Coly Li
---

Colin Ian King (1):
bcache: remove redundant assignment to variable cur_idx

Coly Li (5):
bcache: avoid oversize memory allocation by small stripe_size
bcache: check return value from btree_node_alloc_replacement()
bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in
btree_gc_coalesce()
bcache: add code comments for bch_btree_node_get() and

    __bch_btree_node_alloc()

bcache: avoid NULL checking to c->root in run_cache_set()

Mingzhe Zou (3):
bcache: fixup init dirty data errors
bcache: fixup lock c->root error
bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race

Rand Deeb (1):
bcache: prevent potential division by zero error

 drivers/md/bcache/bcache.h    |  1 +
 drivers/md/bcache/btree.c     | 11 ++++++++++-
 drivers/md/bcache/super.c     |  4 +++-
 drivers/md/bcache/sysfs.c     |  2 +-
 drivers/md/bcache/writeback.c | 24 ++++++++++++++++++------
 5 files changed, 33 insertions(+), 9 deletions(-)
Signature · 1 line
2.35.3