On 8/6/21 5:18 AM, Damien Le Moal wrote: > diff --git a/include/uapi/linux/ioprio.h b/include/uapi/linux/ioprio.h > index abc40965aa96..99d37d4807b8 100644 > --- a/include/uapi/linux/ioprio.h > +++ b/include/uapi/linux/ioprio.h > @@ -31,9 +31,9 @@ enum { > }; > > /* > - * 8 best effort priority levels are supported > + * The RT and BE priority classes both support up to 8 priority levels. > */ > -#define IOPRIO_BE_NR 8 > +#define IOPRIO_NR_LEVELS 8 That might not be a good idea, if an application already uses IOPRIO_BE_NR... -- Jens Axboe