Re: [PATCH] blk-cgroup: avoid 32-bit overflow in root io.stat byte accounting

From: Bart Van Assche

Date: Thu Jul 16 2026 - 13:36:19 EST


On 7/13/26 11:31 PM, Tao Cui wrote:
Every other sector->byte conversion in the tree casts to a wide type first
((loff_t)sectors << SECTOR_SHIFT in bdev.c, (u64)max_sectors << SECTOR_SHIFT
in blk-settings.c); do the same here.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>