[PATCH 0/2] bcache-6.10 20240509

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.35.3





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux