Skip to content

bcache-6.10 20240509

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 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bcache: Remove usage of the deprecated ida_simple_xx() APIdrivers/md/bcache/super.c+5 -50 replies
2/2bcache: fix variable length array abuse in btree_iterdrivers/md/bcache/bset.c drivers/md/bcache/bset.h drivers/md/bcache/btree.c +3 more+70 -590 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] bcache-6.10 20240509

Hi Jens,

There are two bcache patches I'd like to submit upstream.

The patch from Christophe uses ida_alloc_max()/ida_free() to replace the deprecated ida_simple_get()/ida_simple_remove().

Patch from Matthew uses similar method which bcachefs code uses, to remove UBSAN warning of out-of-bounds index on dynamic sized bset iteration from the in-memory btree node.

These two patches are quite straightforward and have been tested on my machine for a while and no regression observed.

Please consider take these two patches for bcache-6.10.

Thanks in advance.

Coly Li
---

Christophe JAILLET (1):
bcache: Remove usage of the deprecated ida_simple_xx() API

Matthew Mirvish (1):
bcache: fix variable length array abuse in btree_iter

 drivers/md/bcache/bset.c      | 44 +++++++++++++++++------------------
 drivers/md/bcache/bset.h      | 28 ++++++++++++++--------
 drivers/md/bcache/btree.c     | 40 ++++++++++++++++---------------
 drivers/md/bcache/super.c     | 15 ++++++------
 drivers/md/bcache/sysfs.c     |  2 +-
 drivers/md/bcache/writeback.c | 10 ++++----
 6 files changed, 75 insertions(+), 64 deletions(-)
Signature · 1 line
2.35.3