diff options
author | Brian Behlendorf <[email protected]> | 2018-06-19 21:52:45 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2018-06-19 21:52:45 -0700 |
commit | 1c38ac61e1dbc876eb4079a69f965bb51635fef7 (patch) | |
tree | fa0f3df41fdc4a801494bd61f885ecb6ba47d724 /NOTICE | |
parent | 6413c95fbd88dc06ae57e50398b8530a17d0c7d3 (diff) |
Linux 4.14 compat: blk_queue_stackable()
The blk_queue_stackable() function was replaced in the 4.14 kernel
by queue_is_rq_based(), commit torvalds/linux@5fdee212. This change
resulted in the default elevator being used which can negatively
impact performance.
Rather than adding additional compatibility code to detect the
new interface unconditionally attempt to set the elevator. Since
we expect this to fail for block devices without an elevator the
error message has been moved in to zfs_dbgmsg().
Finally, it was observed that the elevator_change() was removed
from the 4.12 kernel, commit torvalds/linux@c033269. Update the
comment to clearly specify which are expected to export the
elevator_change() symbol.
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #7645
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions