linux-kernelorg-stable/drivers
Shida Zhang 3ef825dfd4 bcache: use bio cloning for detached device requests
Previously, bcache hijacked the bi_end_io and bi_private fields of
the incoming bio when the backing device was in a detached state.
This is fragile and breaks if the bio is needed to be processed by
other layers.

This patch transitions to using a cloned bio embedded within a private
structure. This ensures the original bio's metadata remains untouched.

Fixes: 53280e3984 ("bcache: fix improper use of bi_end_io")
Co-developed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Shida Zhang <zhangshida@kylinos.cn>
Acked-by: Coly Li <colyli@fnnas.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2026-01-22 07:24:50 -07:00
..
accel
accessibility
acpi Thermal control updates for 6.19-rc1 2025-12-02 17:49:12 -08:00
amba
android Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
ata
atm
auxdisplay
base Power management updates for 6.19-rc1 2025-12-02 17:31:22 -08:00
bcma
block ublk: fix ublksrv pid handling for pid namespaces 2026-01-21 07:46:14 -07:00
bluetooth Bluetooth: btusb: Add new VID/PID 13d3/3533 for RTL8821CE 2025-12-01 16:21:16 -05:00
bus
cache
cdrom
cdx
char printk changes for 6.19 2025-12-03 12:42:36 -08:00
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
cxl
dax
dca
devfreq
dibs
dio
dma
dma-buf printk changes for 6.19 2025-12-03 12:42:36 -08:00
dpll
edac - imh_edac: Add a new EDAC driver for Intel Diamond Rapids and 2025-12-02 10:45:50 -08:00
eisa
extcon
firewire
firmware arm64 updates for 6.19: 2025-12-02 17:03:55 -08:00
fpga
fsi
fwctl
gnss
gpio vfs-6.19-rc1.fd_prepare.fs 2025-12-01 17:32:07 -08:00
gpu Kbuild updates for v6.19 2025-12-03 14:42:21 -08:00
greybus
hid
hsi
hte
hv A large overhaul of the restartable sequences and CID management: 2025-12-02 08:48:53 -08:00
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
input
interconnect
iommu
ipack
irqchip Updates for [PCI] MSI related code: 2025-12-02 09:35:59 -08:00
isdn
leds
macintosh
mailbox
mcb
md bcache: use bio cloning for detached device requests 2026-01-22 07:24:50 -07:00
media Random number generator updates for Linux 6.19-rc1. 2025-12-02 19:00:26 -08:00
memory
memstick
message
mfd
misc vfs-6.19-rc1.fd_prepare.fs 2025-12-01 17:32:07 -08:00
mmc printk changes for 6.19 2025-12-03 12:42:36 -08:00
most
mtd
mux
net Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
nfc
ntb
nubus
nvdimm
nvme nvme: fix PCIe subsystem reset controller state transition 2026-01-14 07:21:31 -08:00
nvmem
of Updates for the interrupt core and treewide cleanups: 2025-12-02 09:14:26 -08:00
opp
parisc
parport
pci Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
pcmcia
peci
perf arm64 updates for 6.19: 2025-12-02 17:03:55 -08:00
phy
pinctrl
platform
pmdomain Power management updates for 6.19-rc1 2025-12-02 17:31:22 -08:00
pnp
power
powercap
pps printk changes for 6.19 2025-12-03 12:42:36 -08:00
ps3
ptp Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
pwm
rapidio
ras Merge remote-tracking branches 'ras/edac-amd-atl', 'ras/edac-drivers' and 'ras/edac-misc' into edac-updates 2025-12-01 12:06:08 +01:00
regulator
remoteproc
resctrl
reset
rpmsg
rtc
s390 for-6.19/block-20251201 2025-12-03 19:26:18 -08:00
sbus
scsi scsi: sd: reject invalid pr_read_keys() num_keys values 2025-12-04 07:19:26 -07:00
sh
siox
slimbus Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
soc
soundwire
spi
spmi
ssb
staging printk changes for 6.19 2025-12-03 12:42:36 -08:00
target Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
tc
tee
thermal Thermal control updates for 6.19-rc1 2025-12-02 17:49:12 -08:00
thunderbolt
tty printk changes for 6.19 2025-12-03 12:42:36 -08:00
ufs
uio
usb Power management updates for 6.19-rc1 2025-12-02 17:31:22 -08:00
vdpa
vfio vfs-6.19-rc1.fd_prepare.fs 2025-12-01 17:32:07 -08:00
vhost
video
virt
virtio
w1
watchdog
xen Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
zorro
Kconfig
Makefile