diff options
| author | Tao Cui <cuitao@kylinos.cn> | 2026-09-22 12:38:54 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-10-16 08:21:06 -0600 |
| commit | febdbf5682fa7e8f325b07a2c115e7632c4252bd (patch) | |
| tree | c285126cf4d29a5a561278f973919525d6c10059 /tools/lib/python | |
| parent | f8bc5c74d9eccc87d2e27767f92b8c11b3315d72 (diff) | |
blk-iocost: charge zone appends as writes
Zone append is a primary write operation for zoned devices; zoned xfs
and btrfs use it for data writes. It is priced at zero, so the zone
append portion of zoned workloads runs outside the controller: a
1%-weight cgroup issued 16000 appends at zero cost on a zoned null_blk.
Treat REQ_OP_ZONE_APPEND the same as REQ_OP_WRITE so it goes through
the existing seq/rand classification and charging.
Fixes: 0512a75b98f8 ("block: Introduce REQ_OP_ZONE_APPEND")
Signed-off-by: Tao Cui <cuitao@kylinos.cn>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://patch.msgid.link/20260922043856.2020116-3-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
