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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.16.4




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux