Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA-92675: Change ISCSI SR scheduler to NOOP #253

Closed
wants to merge 1 commit into from

Conversation

franciozzy
Copy link
Contributor

The ISCSI SR works on a LUNperVDI model, attaching a single LUN to a guest
directly via blkback (or tapdisk, in the Rackspace case). Given that a single
task will be issuing requests at any time, it does not make sense to use the
CFQ scheduler for the underlying block devices.

This patch changes the block device (or all block devices, for the multipath
cases, including the device mapper) scheduler(s) to "noop" for the LUNs
related to the SR.

Signed-off-by: Felipe Franciosi felipe@paradoxo.org

The ISCSI SR works on a LUNperVDI model, attaching a single LUN to a guest
directly via blkback (or tapdisk, in the Rackspace case). Given that a single
task will be issuing requests at any time, it does not make sense to use the
CFQ scheduler for the underlying block devices.

This patch changes the block device (or all block devices, for the multipath
cases, including the device mapper) scheduler(s) to "noop" for the LUNs
related to the SR.

Signed-off-by: Felipe Franciosi <felipe@paradoxo.org>
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0%) to 31.66% when pulling 793b979 on franciozzy:ca-92675 into 6b2d6df on xapi-project:master.

@franciozzy franciozzy closed this in 45037f7 Sep 7, 2015
andrey-podko pushed a commit to andrey-podko/sm that referenced this pull request Aug 16, 2022
The ISCSI SR works on a LUNperVDI model, attaching a single LUN to a guest
directly via blkback (or tapdisk, in the Rackspace case). Given that a single
task will be issuing requests at any time, it does not make sense to use the
CFQ scheduler for the underlying block devices.

This patch changes the block device (or all block devices, for the multipath
cases, including the device mapper) scheduler(s) to "noop" for the LUNs
related to the SR.

Reviewed-by: Stefano Panella <stefano.panella@citrix.com>

GitHub: closes xapi-project#253
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants