diff options
author | Adam Manzanares <adam.manzanares@hgst.com> | 2016-10-17 20:27:29 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-10-19 20:34:36 +0200 |
commit | 8e061784b51ec4a4efed0deaafb5bd9725bf5b06 (patch) | |
tree | 30d253d6d6a214f6514484bfe1d2c3b178fdf62e /fs/gfs2/log.c | |
parent | block: Add iocontext priority to request (diff) | |
download | linux-8e061784b51ec4a4efed0deaafb5bd9725bf5b06.tar.xz linux-8e061784b51ec4a4efed0deaafb5bd9725bf5b06.zip |
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: Adam Manzanares <adam.manzanares@hgst.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'fs/gfs2/log.c')
0 files changed, 0 insertions, 0 deletions