Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8e061784 authored by Adam Manzanares's avatar Adam Manzanares Committed by Tejun Heo
Browse files

ata: Enabling ATA Command Priorities



This patch checks to see if an ATA device supports NCQ command priorities.
If so and the user has specified an iocontext that indicates
IO_PRIO_CLASS_RT then we build a tf with a high priority command.

This is done to improve the tail latency of commands that are high
priority by passing priority to the device.

tj: Removed trivial ata_ncq_prio_enabled() and open-coded the test.

Signed-off-by: default avatarAdam Manzanares <adam.manzanares@hgst.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 5dc8b362
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment