-
Notifications
You must be signed in to change notification settings - Fork 30
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
feat(readonly): Adding test cases for uzfs pool readonly support #289
Conversation
Signed-off-by: mayank <mayank.patel@mayadata.io>
Signed-off-by: mayank <mayank.patel@mayadata.io>
@@ -297,6 +297,9 @@ struct spa { | |||
taskq_t *spa_prefetch_taskq; /* Taskq for prefetch threads */ | |||
uint64_t spa_multihost; /* multihost aware (mmp) */ | |||
mmp_thread_t spa_mmp; /* multihost mmp thread */ | |||
#ifdef _UZFS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we hadn't touched spa till now.. may be we never got that need.. can we also explore different way? if not possible, this is fine
Signed-off-by: mayank <mayank.patel@mayadata.io>
Signed-off-by: mayank <mayank.patel@mayadata.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
Signed-off-by: mayank <mayank.patel@mayadata.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes are good
Signed-off-by: mayank <mayank.patel@mayadata.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes are good
changes:
To set pool readonly:
To unset pool readonly:
Test cases added for following scenarios:
Fixes: openebs/openebs#2937
Signed-off-by: mayank mayank.patel@mayadata.io