bcache patches for Linux v5.2
Status from this message: Applied, thanks Coly.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
Reviews trailers per patch
10 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Hannes Reinecke | Nathan Chancellor | Chaitanya Kulkarni | Dennis Schridde |
|---|---|---|---|---|
| 1/18 | ||||
| 2/18 | ||||
| 3/18 | R-b | |||
| 4/18 | ||||
| 5/18 | ||||
| 6/18 | ||||
| 7/18 | R-b | |||
| 8/18 | R-b | |||
| 9/18 | R-b | |||
| 10/18 | R-b | R-b | ||
| 11/18 | R-b | |||
| 12/18 | R-b | |||
| 13/18 | R-b | R-b | ||
| 14/18 | R-b | R-b | ||
| 15/18 | R-b | |||
| 16/18 | T-b | |||
| 17/18 | ||||
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 00/18] bcache patches for Linux v5.2
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(-)
Signature · 1 line
2.16.4