ioprio_set can take 8 as the PROCESS CLASS_BE ioprio value

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

 



Hi Damien,

Since these commits:

  scsi: block: Introduce ioprio hints
  scsi: block: ioprio: Clean up interface definition

go into linux-next tree, ioprio_set can take the value of 8
as the PROCESS CLASS_BE ioprio parameter, returning
success but actually it is setting to 0 due to the mask roundup.

The LTP test case ioprio_set03[1] covers this boundary value
testing, which starts to fail since then.

This does not look as expected. Could you help to take a look?

Thanks,
Murphy

[1] https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/syscalls/ioprio/ioprio_set03.c



[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