summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2025-05-06 09:17:55 +0300
committerJens Axboe <axboe@kernel.dk>2025-05-06 16:42:27 +0300
commitd4099f8893b057ad7e8d61df76bdeaf807ebd679 (patch)
tree7014d7430e34ec4fdf4a42206471dfbf27b0a97f /tools/perf/scripts/python
parent0e8acffc1be10d53e909b3aa43831d6c2d25a579 (diff)
downloadlinux-d4099f8893b057ad7e8d61df76bdeaf807ebd679.tar.xz
brd: fix aligned_sector from brd_do_discard()
The calculation is just wrong, fix it by round_up(). Fixes: 9ead7efc6f3f ("brd: implement discard support") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20250506061756.2970934-3-yukuai1@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions