This series is bcache backport up to Linux v5.19. The referenced bug is, https://gitee.com/openeuler/kernel/issues/I59A5L#note_10515416
All the patches are tested on Intel x86-64 platform, but not tested on ARM64 plantform yet.
Coly Li ---
Arnd Bergmann (1): md: bcache: avoid -Wempty-body warnings
Bhaskar Chowdhury (1): md: bcache: Trivial typo fixes in the file journal.c
Chao Yu (1): bcache: fix error info in register_bcache()
Christoph Hellwig (1): bcache: remove PTR_CACHE
Coly Li (10): bcache: fix a regression of code compiling failure in debug.c bcache: remove bcache device self-defined readahead bcache: avoid oversized read request in cache missing code path bcache: move uapi header bcache.h to bcache code directory bcache: improve multithreaded bch_btree_check() bcache: improve multithreaded bch_sectors_dirty_init() bcache: remove incremental dirty sector counting for bch_sectors_dirty_init() bcache: avoid journal no-space deadlock by reserving 1 journal bucket bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init() bcache: avoid unnecessary soft lockup in kworker update_writeback_rate()
Ding Senjie (1): md: bcache: Fix spelling of 'acquire'
Dongsheng Yang (1): bcache: fix race between setting bdev state to none and new write request direct to backing
Greg Kroah-Hartman (1): bcache: use default_groups in kobj_type
Gustavo A. R. Silva (1): bcache: Use 64-bit arithmetic instead of 32-bit
Jia-Ju Bai (1): md: bcache: check the return value of kzalloc() in detached_dev_do_request()
Joe Perches (1): bcache: Avoid comma separated statements
Kai Krakow (1): bcache: Fix register_device_aync typo
Lin Feng (2): bcache: move calc_cached_dev_sectors to proper place on backing device detach bcache: fix NULL pointer reference in cached_dev_detach_finish
Ming Lei (1): bcache: don't pass BIOSET_NEED_BVECS for the 'bio_set' embedded in 'cache_set'
Mingzhe Zou (2): bcache: fixup bcache_dev_sectors_dirty_add() multithreaded CPU false sharing bcache: fixup multiple threads crash
Qing Wang (1): bcache: replace snprintf in show functions with sysfs_emit
Yang Li (1): bcache: use NULL instead of using plain integer as pointer
Yi Li (2): bcache:remove a superfluous check in register_bcache bcache: set pdev_set_uuid before scond loop iteration
YueHaibing (1): lib: crc64: fix kernel-doc warning
Zheng Yongjun (1): md/bcache: convert comma to semicolon
Zhiqiang Liu (1): bcache: reduce redundant code in bch_cached_dev_run()
dongdong tao (1): bcache: consider the fragmentation when update the writeback rate
drivers/md/bcache/alloc.c | 5 +- drivers/md/bcache/bcache.h | 25 ++- .../md/bcache/bcache_ondisk.h | 0 drivers/md/bcache/bset.c | 12 +- drivers/md/bcache/bset.h | 2 +- drivers/md/bcache/btree.c | 67 +++--- drivers/md/bcache/btree.h | 2 +- drivers/md/bcache/debug.c | 2 +- drivers/md/bcache/extents.c | 4 +- drivers/md/bcache/features.c | 4 +- drivers/md/bcache/features.h | 3 +- drivers/md/bcache/io.c | 4 +- drivers/md/bcache/journal.c | 37 +++- drivers/md/bcache/journal.h | 2 + drivers/md/bcache/request.c | 25 +-- drivers/md/bcache/stats.c | 17 +- drivers/md/bcache/stats.h | 1 - drivers/md/bcache/super.c | 63 +++--- drivers/md/bcache/sysfs.c | 50 +++-- drivers/md/bcache/sysfs.h | 20 +- drivers/md/bcache/util.h | 19 +- drivers/md/bcache/writeback.c | 198 +++++++++++------- drivers/md/bcache/writeback.h | 6 +- lib/crc64.c | 2 +- 24 files changed, 324 insertions(+), 246 deletions(-) rename include/uapi/linux/bcache.h => drivers/md/bcache/bcache_ondisk.h (100%)