Skip to content

second wave bcache fixes for Linux v4.21

Coly Li linux-bcache linux-block stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1bcache: treat stale && dirty keys as bad keysdrivers/md/bcache/extents.c+7 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] second wave bcache fixes for Linux v4.21

Hi Jens,

We have one more patch, which is a fix to avoid unnecessary bogus failure on staled and dirty btree key of bcache.

This bogus failure does not always happen, but when it happens, bcache code will take it as critical failure and call bch_cache_set_error(), which may stop the cache set and bcache device. If bcache is set to panic on error, this bogus failure can panic the kernel too. Indeed a staled and dirty key may exist and we can just report it as a bad key, it is unncessary to panic the whole kernel or stop the cache set.

Therefore IMHO this is an important fix, we should have it in Linux v4.21.

Thanks in advance.

Coly Li
---
Tang Junhui (1):
bcache: treat stale && dirty keys as bad keys

 drivers/md/bcache/extents.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
Signature · 1 line
2.16.4