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

[RFC] ceph iscsi config: add max_data_area setting #31

Closed
wants to merge 1 commit into from
Closed

[RFC] ceph iscsi config: add max_data_area setting #31

wants to merge 1 commit into from

Conversation

mikechristie
Copy link
Contributor

Allow users to config the tcmu data area ring size.

This reqiures a updated kernel with the patch:

https://www.spinics.net/lists/target-devel/msg16097.html

and a updated rtslib with this PR merged:

open-iscsi/rtslib-fb#112

This is marked a RFC because we are still waiting on upstream testing/review, so the patch should not be merged yet.

Copy link

@dillaman dillaman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failing to set max_data_area_mb doesn't seem like it should be a fatal error to me since it doesn't impact correctness or safety. It seems like it would just be better to warn if that value cannot be set.

@mikechristie
Copy link
Contributor Author

Ok. Will fix.

@dillaman
Copy link

@mikechristie alternative PR #32

Allow users to config the tcmu data area ring size.

This reqiures a updated kernel with the patch:

://www.spinics.net/lists/target-devel/msg16140.htmlttps://www.spinics.net/lists/target-devel/msg16097.html

and a updated rtslib with this PR merged:

open-iscsi/rtslib-fb#112
Signed-off-by: Mike Christie <mchristi@redhat.com>
@dillaman
Copy link

lgtm -- pending rtslib_fb change

@mikechristie
Copy link
Contributor Author

Dropping this PR. Following the idea here

open-iscsi/targetcli-fb#95

where we do not want to update every tool/lib in the stack to add a setting, we can modify rtslib-fb and our tools/libs to take control settings after the initial object initialization but before enablement, and we can do the same for ceph-iscsi-config/gwcli.

Will make new PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants