Re: [PATCH v2] blk-throttle: Avoid unsequenced accesses to jiffies in throtl_schedule_pending_timer()

From: Jens Axboe

Date: Wed Nov 18 2026 - 11:08:55 EST



On Sun, 15 Nov 2026 20:37:57 -0700, Nathan Chancellor wrote:
> After a recent improvement in clang to warn on unsequenced accesses to
> volatile variables [1], two instances appear in
> throtl_schedule_pending_timer(), which can break the build with
> CONFIG_WERROR=y / W=e:
>
> block/blk-throttle.c:469:25: error: unsequenced accesses to volatile qualified 'jiffies' [-Werror,-Wunsequenced]
> 469 | expires - jiffies, jiffies);
> | ~~~~~~~ ^
> block/blk-throttle.c:469:25: error: unsequenced accesses to volatile qualified 'jiffies' [-Werror,-Wunsequenced]
> 469 | expires - jiffies, jiffies);
> | ~~~~~~~ ^
>
> [...]

Applied, thanks!

[1/1] blk-throttle: Avoid unsequenced accesses to jiffies in throtl_schedule_pending_timer()
commit: ae1171f38098098e88c13c38e462d27babb50038

Best regards,
--
Jens Axboe