13
0

Downgrade warning (about I/O priority)

This commit is contained in:
Robin Gareus 2024-05-20 21:56:24 +02:00
parent 5fdc7c4601
commit 7bfd128a75
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -195,7 +195,7 @@ Butler::thread_work ()
#ifdef HAVE_IOPRIO
// ioprio_set (IOPRIO_WHO_PROCESS, 0 /*calling thread*/, IOPRIO_PRIO_VALUE (IOPRIO_CLASS_RT, 4))
if (0 != syscall (SYS_ioprio_set, 1, 0, (1 << 13) | 4)) {
warning << _("Cannot set I/O Priority for disk read/write thread") << endmsg;
info << _("Cannot set I/O Priority for disk read/write thread") << endmsg;
}
#endif