Thread (8 messages) 8 messages, 2 authors, 2021-08-02

Re: [PATCH 3/3] block: rename IOPRIO_BE_NR

From: Bart Van Assche <bvanassche@acm.org>
Date: 2021-08-02 15:56:17

On 8/2/21 2:21 AM, Damien Le Moal wrote:
  /*
- * 8 best effort priority levels are supported
+ * The RT an BE priority classes support up to 8 priority levels.
   */
-#define IOPRIO_BE_NR	(8)
+#define IOPRIO_NR_LEVELS	(8)
Is this kind of change acceptable in a UAPI header? Can this change 
break the build of user space applications?

If this change is acceptable, how about the name IOPRIO_NR_BE_LEVELS? 
Additionally, please leave out the parentheses since these are not 
necessary.

Thanks,

Bart.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help