Skip to content

bcache patches for Linux v5.7-rc1

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 Latest7 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7bcache: move macro btree() and btree_root() into btree.hdrivers/md/bcache/btree.c drivers/md/bcache/btree.h+67 -591 reply
2/7bcache: add bcache_ prefix to btree_root() and btree() macrosdrivers/md/bcache/btree.c drivers/md/bcache/btree.h+10 -91 reply
3/7bcache: make bch_btree_check() to be multithreadeddrivers/md/bcache/btree.c drivers/md/bcache/btree.h+188 -31 reply
4/7bcache: make bch_sectors_dirty_init() to be multithreadeddrivers/md/bcache/writeback.c drivers/md/bcache/writeback.h+174 -32 replies
5/7bcache: Use scnprintf() for avoiding potential buffer overflowdrivers/md/bcache/sysfs.c+1 -12 replies
6/7bcache: optimize barrier usage for Rmw atomic bitopsdrivers/md/bcache/writeback.c+3 -32 replies
7/7bcache: optimize barrier usage for atomic operationsdrivers/md/bcache/btree.c drivers/md/bcache/writeback.c+6 -61 reply

Reviews trailers per patch

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

PatchHannes Reinecke
1/7R-b
2/7
3/7
4/7
5/7
6/7
7/7R-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 0/7] bcache patches for Linux v5.7-rc1

Hi Jens,

These are bcache patches for Linux v5.7-rc1.

The major change is to make bcache btree check and dirty secrtors counting being multithreaded, then the registration time can be much less. My first four patches are for this purpose.

Davidlohr Bueso contributes a patch to optimize barrier usage for atomic operations. By his inspiration I also compose a patch for the rested locations to change.

Takashi Iwai contributes a helpful patch to avoid potential buffer overflow in bcache sysfs code path.

Please take them, and thank you in advance.

Coly Li
---

Coly Li (5):
bcache: move macro btree() and btree_root() into btree.h
bcache: add bcache_ prefix to btree_root() and btree() macros
bcache: make bch_btree_check() to be multithreaded
bcache: make bch_sectors_dirty_init() to be multithreaded
bcache: optimize barrier usage for atomic operations

Davidlohr Bueso (1):
bcache: optimize barrier usage for Rmw atomic bitops

Takashi Iwai (1):
bcache: Use scnprintf() for avoiding potential buffer overflow

 drivers/md/bcache/btree.c     | 242 ++++++++++++++++++++++++----------
 drivers/md/bcache/btree.h     |  88 +++++++++++++
 drivers/md/bcache/sysfs.c     |   2 +-
 drivers/md/bcache/writeback.c | 164 ++++++++++++++++++++++-
 drivers/md/bcache/writeback.h |  19 +++
 5 files changed, 440 insertions(+), 75 deletions(-)
Signature · 1 line
2.25.0