WSL2-Linux-Kernel/drivers
Coly Li 697e23495c bcache: explicitly make cache_set only have single cache
Currently although the bcache code has a framework for multiple caches
in a cache set, but indeed the multiple caches never completed and users
use md raid1 for multiple copies of the cached data.

This patch does the following change in struct cache_set, to explicitly
make a cache_set only have single cache,
- Change pointer array "*cache[MAX_CACHES_PER_SET]" to a single pointer
  "*cache".
- Remove pointer array "*cache_by_alloc[MAX_CACHES_PER_SET]".
- Remove "caches_loaded".

Now the code looks as exactly what it does in practic: only one cache is
used in the cache set.

Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-10-02 14:25:29 -06:00
..
accessibility
acpi
amba
android
ata
atm
auxdisplay
base
bcma
block null_blk: add support for max open/active zone limit for zoned devices 2020-09-29 08:12:48 -06:00
bluetooth
bus
cdrom
char raw: don't keep unopened block device around 2020-09-23 10:43:19 -06:00
clk
clocksource
connector
counter
cpufreq
cpuidle
crypto
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fpga
fsi
gnss
gpio
gpu
greybus
hid
hsi
hv
hwmon
hwspinlock
hwtracing
i2c
i3c
ide block: move the NEED_PART_SCAN flag to struct gendisk 2020-09-23 10:43:18 -06:00
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb
md bcache: explicitly make cache_set only have single cache 2020-10-02 14:25:29 -06:00
media
memory
memstick
message
mfd
misc
mmc Merge branch 'for-5.10/block' into for-5.10/drivers 2020-09-24 13:44:39 -06:00
most
mtd Merge branch 'for-5.10/block' into for-5.10/drivers 2020-09-24 13:44:39 -06:00
mux
net net: mscc: ocelot: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries 2020-09-21 17:40:52 -07:00
nfc
ntb
nubus
nvdimm bdi: remove BDI_CAP_SYNCHRONOUS_IO 2020-09-24 13:43:39 -06:00
nvme nvme-pci: allocate separate interrupt for the reserved non-polled I/O queue 2020-09-27 09:14:19 +02:00
nvmem
of
opp
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 Merge branch 'for-5.10/block' into for-5.10/drivers 2020-09-24 13:44:39 -06:00
sbus
scsi Merge branch 'for-5.10/block' into for-5.10/drivers 2020-09-24 13:44:39 -06:00
sfi
sh
siox
slimbus
soc
soundwire
spi
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty
uio
usb
vdpa
vfio
vhost
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile