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

CP-12403: Set backend-kind to vbd for all VDIs in LUNperVDI SRs #252

Closed
wants to merge 1 commit into from

Conversation

franciozzy
Copy link
Contributor

When tapdisk3 was introduced in Creedence, we needed to ensure that VDIs in
LUNperVDI SRs continued to be plugged via blkback. This was done for the
RawHBA SR (which overloads the _query() method) but not for the ISCSI SR.

This patch does it on the LUNperVDI class, fixing it for the ISCSI SR.

The fix consists of adding an sm-config key to all VDIs in such an SR
instructing the toolstack to write in a .../vbd/... path instead of the
default .../vbd3/...

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

When tapdisk3 was introduced in Creedence, we needed to ensure that VDIs in
LUNperVDI SRs continued to be plugged via blkback. This was done for the
RawHBA SR (which overloads the _query() method) but not for the ISCSI SR.

This patch does it on the LUNperVDI class, fixing it for the ISCSI SR.

The fix consists of adding an sm-config key to all VDIs in such an SR
instructing the toolstack to write in a .../vbd/... path instead of the
default .../vbd3/...

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

Coverage Status

Coverage decreased (-0.0%) to 31.66% when pulling 2b550bd on franciozzy:cp-12403 into 6b2d6df on xapi-project:master.

@chandrikas
Copy link
Contributor

Looks good and works. Please merge.

andrey-podko pushed a commit to andrey-podko/sm that referenced this pull request Aug 16, 2022
When tapdisk3 was introduced in Creedence, we needed to ensure that VDIs in
LUNperVDI SRs continued to be plugged via blkback. This was done for the
RawHBA SR (which overloads the _query() method) but not for the ISCSI SR.

This patch does it on the LUNperVDI class, fixing it for the ISCSI SR.

The fix consists of adding an sm-config key to all VDIs in such an SR
instructing the toolstack to write in a .../vbd/... path instead of the
default .../vbd3/...

Reviewed-by: Chandrika Srinivasan <chandrika.srinivasan@citrix.com>

GitHub: closes xapi-project#252
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.

None yet

4 participants