summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorTao Cui <cuitao@kylinos.cn>2026-09-22 12:38:55 +0800
committerJens Axboe <axboe@kernel.dk>2026-10-16 08:21:06 -0600
commitc38975c427cc3d3f6eb66a36143893be5cdf4ebd (patch)
tree4c32e3fb1d64c20da458acc75755f2bdbbe03980 /tools/lib/python
parentfebdbf5682fa7e8f325b07a2c115e7632c4252bd (diff)
blk-iocost: account zone append completions in latency stats
ioc_rqos_done() only accounts READ and WRITE completions, so zone append completions are excluded from the latency window: the vrate feedback loop cannot see ZA-induced latency, leaving it unable to respond to device saturation caused by zone appends. Similarly, calc_size_vtime_cost_builtin() does not classify zone append as a write operation. Charging (the cost model) and feedback (the latency window) are separate mechanisms, so this is not covered by the previous patch that prices zone appends. Treat zone append as WRITE for both latency accounting and cost classification. Fixes: 0512a75b98f8 ("block: Introduce REQ_OP_ZONE_APPEND") Signed-off-by: Tao Cui <cuitao@kylinos.cn> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Tejun Heo <tj@kernel.org> Link: https://patch.msgid.link/20260922043856.2020116-4-cui.tao@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions