Skip to content

bcache device failure handling fixes for 4.17-rc4

Coly Li linux-block 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 of 6 patches 4 repliesIn review
  2. v36 patches 0 repliesSuperseded
  3. v26 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches1 replySuperseded

4 of 6 patches are in this archive. The cover letter announces 6.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6bcache: store disk name in struct cache and struct cached_devdrivers/md/bcache/bcache.h drivers/md/bcache/debug.c drivers/md/bcache/io.c +2 more+30 -340 replies
2/6bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()drivers/md/bcache/super.c+17 -00 replies
3/6bcache: count backing device I/O error for writeback I/Odrivers/md/bcache/writeback.c+3 -10 replies
4/6bcache: add wait_for_kthread_stop() in bch_allocator_thread()drivers/md/bcache/alloc.c+4 -10 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHannes Reinecke
SeriesR-b R-b
1/6R-b
2/6R-b
3/6R-b
4/6R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/6] bcache device failure handling fixes for 4.17-rc4

Hi Jens,

I receive bug reports from partners for the bcache cache device failure handling patch set (which is just merged into 4.17-rc1). Fortunately we are still in 4.17 merge window, I suggest to have these fixes to go into 4.17 merge window too.

The patches are well commented IMHO and pass my own regression tests. Fortunately Hannes offers code reveiw to all the patches and offers his Reviewed-by.

Thanks for your help in advance.

Changlog:
v4: Add reviewed-by from Hannnes Reinecke.
v3: Remove an extra "Fixes:" line from patch "bcache: use pr_info() to
inform duplicated CACHE_SET_IO_DISABLE set", and move part of its content into patch "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()".
v2: With more fixes from v1 patch set.
v1: First version for review.

Coly Li
---
Coly Li (6):
bcache: store disk name in struct cache and struct cached_dev
bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()
bcache: count backing device I/O error for writeback I/O
bcache: add wait_for_kthread_stop() in bch_allocator_thread()
bcache: set dc->io_disable to true in conditional_stop_bcache_device()
bcache: use pr_info() to inform duplicated CACHE_SET_IO_DISABLE set

 drivers/md/bcache/alloc.c     |  5 ++-
 drivers/md/bcache/bcache.h    |  4 +++
 drivers/md/bcache/debug.c     |  3 +-
 drivers/md/bcache/io.c        |  8 ++---
 drivers/md/bcache/request.c   |  5 +--
 drivers/md/bcache/super.c     | 75 ++++++++++++++++++++++++++++++-------------
 drivers/md/bcache/writeback.c |  4 ++-
 7 files changed, 68 insertions(+), 36 deletions(-)
Signature · 1 line
2.16.3