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

scst_sysfs: Add support for cluster_name #129

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

bmeagherix
Copy link
Contributor

When dlm_new_lockspace is called with a NULL cluster_name the kernel will emit an error message "dlm cluster name '%s' is being used without an application provided cluster name" on each call.

Therefore, provide a mechanism to set a cluster_name and use it when calling dlm_new_lockspace.

Since dlm will only have one cluster active on a particular host, make this new scst parameter global.

scst/src/scst_sysfs.c Outdated Show resolved Hide resolved
scst/src/scst_sysfs.c Outdated Show resolved Hide resolved
scst/src/scst_sysfs.c Outdated Show resolved Hide resolved
When dlm_new_lockspace is called with a NULL cluster_name the
kernel will emit an error message "dlm cluster name '%s' is being
used without an application provided cluster name".

Therefore, provide a mechanism to set a cluster_name and use it
when calling dlm_new_lockspace.
@lnocturno lnocturno merged commit 00f3100 into SCST-project:master Feb 14, 2023
@lnocturno
Copy link
Contributor

Thank you for the patch!

Gleb.

@bmeagherix bmeagherix deleted the dlm_cluster_name_error branch February 14, 2023 15:09
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.

None yet

2 participants