Skip to content

bcache candidate patches for Linux v5.3

Coly Li linux-bcache linux-block stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest29 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/29bcache: Revert "bcache: fix high CPU occupancy during journal"drivers/md/bcache/bcache.h drivers/md/bcache/journal.c drivers/md/bcache/util.h+15 -360 replies
2/29bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"drivers/md/bcache/journal.c+0 -10 replies
3/29bcache: add code comments for journal_read_bucket()drivers/md/bcache/journal.c+24 -00 replies
4/29bcache: set largest seq to ja->seq[bucket_index] in journal_read_bucket()drivers/md/bcache/journal.c+2 -10 replies
5/29bcache: remove retry_flush_write from struct cache_setdrivers/md/bcache/bcache.h drivers/md/bcache/sysfs.c+0 -60 replies
6/29bcache: fix race in btree_flush_write()drivers/md/bcache/btree.c drivers/md/bcache/btree.h drivers/md/bcache/journal.c +1 more+90 -243 replies
7/29bcache: add reclaimed_journal_buckets to struct cache_setdrivers/md/bcache/bcache.h drivers/md/bcache/journal.c drivers/md/bcache/sysfs.c+7 -00 replies
8/29bcache: fix return value error in bch_journal_read()drivers/md/bcache/journal.c+1 -10 replies
9/29Revert "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()"drivers/md/bcache/super.c+0 -170 replies
10/29bcache: avoid flushing btree node in cache_set_flush() if io disableddrivers/md/bcache/super.c+11 -70 replies
11/29bcache: ignore read-ahead request failure on backing devicedrivers/md/bcache/io.c+12 -00 replies
12/29bcache: add io error counting in write_bdev_super_endio()drivers/md/bcache/super.c+3 -10 replies
13/29bcache: remove "XXX:" comment line from run_cache_set()drivers/md/bcache/super.c+1 -10 replies
14/29bcache: remove unnecessary prefetch() in bset_search_tree()drivers/md/bcache/bset.c+2 -140 replies
15/29bcache: use sysfs_match_string() instead of __sysfs_match_string()drivers/md/bcache/sysfs.c+8 -120 replies
16/29bcache: add return value check to bch_cached_dev_run()drivers/md/bcache/bcache.h drivers/md/bcache/super.c drivers/md/bcache/sysfs.c+32 -100 replies
17/29bcache: remove unncessary code in bch_btree_keys_init()drivers/md/bcache/bset.c drivers/md/bcache/btree.c+10 -90 replies
18/29bcache: check CACHE_SET_IO_DISABLE in allocator codedrivers/md/bcache/alloc.c+9 -00 replies
19/29bcache: check CACHE_SET_IO_DISABLE bit in bch_journal()drivers/md/bcache/journal.c+4 -00 replies
20/29bcache: more detailed error message to bcache_device_link()drivers/md/bcache/super.c+8 -30 replies
21/29bcache: add more error message in bch_cached_dev_attach()drivers/md/bcache/super.c+4 -00 replies
22/29bcache: shrink btree node cache after bch_btree_check()drivers/md/bcache/super.c+18 -00 replies
23/29bcache: improve error message in bch_cached_dev_run()drivers/md/bcache/super.c+7 -20 replies
24/29bcache: make bset_search_tree() be more understandabledrivers/md/bcache/bset.c+11 -190 replies
25/29bcache: add pendings_cleanup to stop pending bcache devicedrivers/md/bcache/super.c+55 -00 replies
26/29bcache: avoid a deadlock in bcache_reboot()drivers/md/bcache/super.c drivers/md/bcache/sysfs.c+65 -10 replies
27/29bcache: acquire bch_register_lock later in cached_dev_detach_finish()drivers/md/bcache/super.c+2 -10 replies
28/29bcache: acquire bch_register_lock later in cached_dev_free()drivers/md/bcache/super.c+2 -20 replies
29/29bcache: fix potential deadlock in cached_def_free()drivers/md/bcache/super.c drivers/md/bcache/writeback.c+4 -20 replies

Reviews trailers per patch

None of the 29 patches has a Reviewed-by or Acked-by.

PatchThorsten Knabe
1/29
2/29
3/29
4/29
5/29
6/29
7/29
8/29
9/29
10/29
11/29Suggested-and-tested-by
12/29
13/29
14/29
15/29
16/29
17/29
18/29
19/29
20/29
21/29
22/29
23/29
24/29
25/29
26/29
27/29
28/29
29/29

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/29] bcache candidate patches for Linux v5.3

Hi folks,

Now I am testing the bcache patches for Linux v5.3, here I collect all previously posted patches for your information. Any code review and comment is welcome.

Thanks in advance.

Coly Li
---

Alexandru Ardelean (1):
bcache: use sysfs_match_string() instead of __sysfs_match_string()

Coly Li (28):
bcache: Revert "bcache: fix high CPU occupancy during journal"
bcache: Revert "bcache: free heap cache_set->flush_btree in
bch_journal_free"
bcache: add code comments for journal_read_bucket()
bcache: set largest seq to ja->seq[bucket_index] in
journal_read_bucket()
bcache: remove retry_flush_write from struct cache_set
bcache: fix race in btree_flush_write()
bcache: add reclaimed_journal_buckets to struct cache_set
bcache: fix return value error in bch_journal_read() Revert "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()"
bcache: avoid flushing btree node in cache_set_flush() if io disabled
bcache: ignore read-ahead request failure on backing device
bcache: add io error counting in write_bdev_super_endio()
bcache: remove "XXX:" comment line from run_cache_set()
bcache: remove unnecessary prefetch() in bset_search_tree()
bcache: add return value check to bch_cached_dev_run()
bcache: remove unncessary code in bch_btree_keys_init()
bcache: check CACHE_SET_IO_DISABLE in allocator code
bcache: check CACHE_SET_IO_DISABLE bit in bch_journal()
bcache: more detailed error message to bcache_device_link()
bcache: add more error message in bch_cached_dev_attach()
bcache: shrink btree node cache after bch_btree_check()
bcache: improve error message in bch_cached_dev_run()
bcache: make bset_search_tree() be more understandable
bcache: add pendings_cleanup to stop pending bcache device
bcache: avoid a deadlock in bcache_reboot()
bcache: acquire bch_register_lock later in cached_dev_detach_finish()
bcache: acquire bch_register_lock later in cached_dev_free()
bcache: fix potential deadlock in cached_def_free()

 drivers/md/bcache/alloc.c     |   9 ++
 drivers/md/bcache/bcache.h    |   6 +-
 drivers/md/bcache/bset.c      |  61 ++++--------
 drivers/md/bcache/btree.c     |  19 +++-
 drivers/md/bcache/btree.h     |   2 +
 drivers/md/bcache/io.c        |  12 +++
 drivers/md/bcache/journal.c   | 141 +++++++++++++++++++--------
 drivers/md/bcache/journal.h   |   4 +
 drivers/md/bcache/super.c     | 218 +++++++++++++++++++++++++++++++++---------
 drivers/md/bcache/sysfs.c     |  63 ++++++++----
 drivers/md/bcache/util.h      |   2 -
 drivers/md/bcache/writeback.c |   4 +
 12 files changed, 389 insertions(+), 152 deletions(-)
Signature · 1 line
2.16.4