On Fri, Aug 08, 2025 at 09:52:15AM -0600, Caleb Sander Mateos wrote: > Commit ab03a61c6614 ("ublk: have a per-io daemon instead of a per-queue > daemon") allowed each ublk I/O to have an independent daemon task. > However, nr_privileged_daemon is only computed based on whether the last > I/O fetched in each ublk queue has an unprivileged daemon task. > Fix this by checking whether every fetched I/O's daemon is privileged. > Change nr_privileged_daemon from a count of queues to a boolean > indicating whether any I/Os have an unprivileged daemon. > > Signed-off-by: Caleb Sander Mateos <csander@xxxxxxxxxxxxxxx> > Fixes: ab03a61c6614 ("ublk: have a per-io daemon instead of a per-queue daemon") Looks fine, Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx> Thanks, Ming