[PATCH 0/3] bcache: Fix the tail IO latency regression due to the use of lib min_heap
Robert Pang <[email protected]>
| Newsgroups | org.kernel.vger.linux-bcache |
|---|---|
| Message-ID | <[email protected]> |
This patch series reverts bcache to its original top-down heap sifting strategy
for LRG cache replacement, which fixes a tail I/O latency regression.
Discussion: https://lore.kernel.org/linux-bcache/wtfuhfntbi6yorxqtpcs4vg5w67mvyckp2a6jmxuzt2hvbw65t@gznwsae5653d/T/#me50a9ddd0386ce602b2f17415e02d33b8e29f533
Robert Pang (3):
lib min_heap: refactor min_heap to allow the alternative sift-down
function to be used
lib min_heap: add alternative APIs that use the conventional top-down
strategy to sift down elements
bcache: Fix the tail IO latency regression due to the use of lib
min_heap
drivers/md/bcache/alloc.c | 14 ++--
include/linux/min_heap.h | 135 ++++++++++++++++++++++++++++++++------
lib/min_heap.c | 31 ++++++---
3 files changed, 145 insertions(+), 35 deletions(-)
--
2.50.0.rc1.591.g9c95f17f64-goog