Skip to content

Conversation

@ygerlach
Copy link
Contributor

@ygerlach ygerlach commented Dec 22, 2025

related to #295

i implemented ioprio_set for rsync tasks triggered in the background. I verified it with htop (i configured it to show the io prio).
Starting a gui snapshot, still uses the normal "Best-effort 4" (B4) prio.

I directly used the syscall by providing vala with the correct vapi description. So no external "ionice" binary required, even though its probably present on basically any distro.
For that i closely looked at https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/schedutils/ionice.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant