summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2026-10-12 16:07:58 +0200
committerMikulas Patocka <mpatocka@redhat.com>2026-10-13 15:35:05 +0200
commit1190dbeaeaa026a4879e675b8556a150c36a7ced (patch)
treed6ca183f42bbf4a816eda3dfca3ce08c6f9d55db /tools/lib/python/kdoc
parentbbd6f974d0386036e560af332b6b8cdd17010a72 (diff)
dm-bufio: fix non-working memory limit
The function evict_old is supposed to loop and evict buffers while the allocated size is above the threshold. However if it hits one bufio client that is empty, it stops and doesn't attempt to scan other clients. This commit fixes it, so that it skips empty clients and retries up to dm_bufio_client_count times. Fixes: 450e8dee51aa ("dm bufio: improve concurrent IO performance") Cc: stable@vger.kernel.org Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Assisted-by: Claude:claude-opus-5
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions