2015-07-13 14:31:14

by Ulrich Windl

[permalink] [raw]
Subject: ioprio_set() & IOPRIO_WHO_PROCESS: Rename?

Hi!

I noticed that older Manual pages for ioprio_set(2) say IOPRIO_WHO_PROCESS modified the process, while I think it should be per thread. Newer manual pages say it's per thread, but shouldn't IOPRIO_WHO_PROCESS be declared obsolete then and be replaced with a new IOPRIO_WHO_THREAD? (i.e. #define IOPRIO_WHO_PROCESS IOPRIO_WHO_THREAD /* and #define IOPRIO_WHO_THREAD */)

Regards,
Ulrich