bcache fixes for Linux v5.19 (1st wave)
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bcache: improve multithreaded bch_btree_check()drivers/ drivers/ | +27 | 0 replies | |
| 2/4 | bcache: improve multithreaded bch_sectors_dirty_init()drivers/ drivers/ | +26 | 0 replies | |
| 3/4 | bcache: remove incremental dirty sector counting for bch_sectors_dirty_init()drivers/ | +13 | 0 replies | |
| 4/4 | bcache: avoid journal no-space deadlock by reserving 1 journal bucketdrivers/ drivers/ drivers/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Resend PATCH v2 0/4] bcache fixes for Linux v5.19 (1st wave)
Hi Jens,
Thank you for taking the late arrived series, they are all for bcache fixes when I work on the bcache journal no-space deadlock issue. It spent me quite long time to fix because other issues interfered my debug and analysis. When all the depending issues were fixed and my fix for the journal no-space deadlock is verified, this submission is late for Linux v5.19 submission. But it is still worthy to take them into v5.19 because real issues are fixed by this series.
The bcache has 4 patches for Linux v5.19 merge window, all from me.
- The first 2 patches are code clean up and potential bug fixes for multi- threaded btree nodes check (for cache device) and dirty sectors counting (for backing device), although no report from mailing list for them, it is good to have the fixes.
- The 3rd patch removes incremental dirty sectors counting because it is conflicted with multithreaded dirty sectors counting and the latter one is 10x times faster.
- The last patch fixes a journal no-space deadlock during cache device registration, it always reserves one journal bucket and only uses it in registration time, so the no-spance condition won't happen anymore.
There are still 2 fixes are still under the long time I/O pressure testing, once they are accomplished, I will submit to you in later RC cycles.
The v2 series fixed previously detectd oversize stack frame issue, in my test I don't observed the stack frame oversize warning and normal bcache operations work as expected.
Thank you in advance.
Coly Li
---
Coly Li (4):
bcache: improve multithreaded bch_btree_check()
bcache: improve multithreaded bch_sectors_dirty_init()
bcache: remove incremental dirty sector counting for
bch_sectors_dirty_init()
bcache: avoid journal no-space deadlock by reserving 1 journal bucket
drivers/md/bcache/btree.c | 58 +++++++++---------- drivers/md/bcache/btree.h | 2 +- drivers/md/bcache/journal.c | 31 +++++++++-- drivers/md/bcache/journal.h | 2 + drivers/md/bcache/super.c | 1 + drivers/md/bcache/writeback.c | 101 +++++++++++++--------------------- drivers/md/bcache/writeback.h | 2 +- 7 files changed, 94 insertions(+), 103 deletions(-)
Signature · 1 line
2.35.3