Hi Jens, Here are the bcache patches for Linux v5.2. Most of the patches are bug fixes. We don't introduce new feature in this run, people continue to focus on code quality improvement for now. Juhui Tang and I make some fixes related to bcache journal, the changes include, - Fix KEY_PTRS set to 0 error under very heavy small I/O pressure, to avoid potential missing for journal and uuid update to cache device. - Add code comments to make code more understandable. - Minor code cleanup. Liang Chen, Guoju Fang and Shenghui Wang contribute useful and important fixes for, - Avoid a crash in cached_dev_read_done() by adding reference before calling bio_complete() - Improve unused buckets statistic - Fix a race between cache register and unregister - Potential use-after-free and memory leak bugs Arnd Bergmann and George Spelvin also contriubte useful code clean up to fix clang warning and make bch_get_congested() more clear. Please pick them for the 5.2 merge window. Thanks you in advance. Coly Li --- Arnd Bergmann (1): bcache: avoid clang -Wunintialized warning Coly Li (9): bcache: move definition of 'int ret' out of macro read_bucket() bcache: never set KEY_PTRS of jouranl key to 0 in journal_reclaim() bcache: add failure check to run_cache_set() for journal replay bcache: add comments for kobj release callback routine bcache: return error immediately in bch_journal_replay() bcache: add error check for calling register_bdev() bcache: Add comments for blkdev_put() in registration code path bcache: add comments for closure_fn to be called in closure_queue() bcache: improve bcache_reboot() Geliang Tang (1): bcache: use kmemdup_nul for CACHED_LABEL buffer George Spelvin (1): bcache: Clean up bch_get_congested() Guoju Fang (2): bcache: fix crashes stopping bcache device before read miss done bcache: fix inaccurate result of unused buckets Liang Chen (1): bcache: fix a race between cache register and cacheset unregister Shenghui Wang (2): bcache: fix wrong usage use-after-freed on keylist in out_nocoalesce branch of btree_gc_coalesce bcache: avoid potential memleak of list of journal_replay(s) in the CACHE_SYNC branch of run_cache_set Tang Junhui (1): bcache: fix failure in journal relplay drivers/md/bcache/alloc.c | 5 +-- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/journal.c | 42 ++++++++++++++++++----- drivers/md/bcache/request.c | 41 +++++++++++++++------- drivers/md/bcache/request.h | 2 +- drivers/md/bcache/super.c | 83 ++++++++++++++++++++++++++++++++++----------- drivers/md/bcache/sysfs.c | 2 -- drivers/md/bcache/util.h | 26 ++++++++++---- 8 files changed, 149 insertions(+), 54 deletions(-) -- 2.16.4