public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* ioprio_set can take 8 as the PROCESS CLASS_BE ioprio value
@ 2023-05-26  7:27 Murphy Zhou
  2023-05-26  7:42 ` Damien Le Moal
  0 siblings, 1 reply; 6+ messages in thread
From: Murphy Zhou @ 2023-05-26  7:27 UTC (permalink / raw)
  To: Damien Le Moal, linux-block, Linux-Next

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-29 13:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-26  7:27 ioprio_set can take 8 as the PROCESS CLASS_BE ioprio value Murphy Zhou
2023-05-26  7:42 ` Damien Le Moal
2023-05-27  0:02   ` Murphy Zhou
2023-05-29  2:28     ` Damien Le Moal
2023-05-29  5:46       ` Murphy Zhou
2023-05-29 13:15         ` Murphy Zhou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox