Thread (5 messages) 5 messages, 4 authors, 2023-06-22

Re: [PATCH RESEND] block: improve ioprio value validity checks

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2023-06-22 01:26:43
Also in: linux-scsi

On Thu, 08 Jun 2023 18:55:56 +0900, Damien Le Moal wrote:
The introduction of the macro IOPRIO_PRIO_LEVEL() in commit
eca2040972b4 ("scsi: block: ioprio: Clean up interface definition")
results in an iopriority level to always be masked using the macro
IOPRIO_LEVEL_MASK, and thus to the kernel always seeing an acceptable
value for an I/O priority level when checked in ioprio_check_cap().
Before this patch, this function would return an error for some (but not
all) invalid values for a level valid range of [0..7].

[...]
Applied to 6.5/scsi-queue, thanks!

[1/1] block: improve ioprio value validity checks
      https://git.kernel.org/mkp/scsi/c/01584c1e2337

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help