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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux