Re: [PATCH v3] blk-ioprio: check capabilities before promoting a cgroup to RT

From: Hungyu Lin

Date: Fri Dec 04 2026 - 07:13:01 EST


On Fri, Nov 20, 2026 at 7:39 AM Hungyu Lin <dennylin0707@xxxxxxxxx> wrote:
> ioprio_set() and the per-request I/O priority of aio and io_uring only
> hand out IOPRIO_CLASS_RT to tasks that have CAP_SYS_ADMIN or
> CAP_SYS_NICE. The io.prio.class cgroup attribute has no such check.
> Writing "promote-to-rt", or its alias "none-to-rt", to it changes the
> requests of the cgroup to the RT class.

Jens, gentle ping. This has Bart's Reviewed-by, and it still applies
cleanly to block for-next. Could this be picked up?

Thanks,
Hungyu