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

ZFS agent: check status without locks when possible #1247

Merged
merged 1 commit into from
Oct 17, 2018

Conversation

gmelikov
Copy link
Contributor

zpool list -H -o health "$OCF_RESKEY_pool" may hang on heavy load (e.g. snapshot send, please see openzfs/zfs#7331).
Since ZFS version 0.7.10 status can be obtained without locks (openzfs/zfs#7563), use it when possible.

Signed-off-by: George Melikov mail@gmelikov.ru

@knet-ci-bot
Copy link

Can one of the admins verify this patch?

Signed-off-by: George Melikov <mail@gmelikov.ru>
@oalbrigt
Copy link
Contributor

ok to test

@oalbrigt
Copy link
Contributor

LGTM.

@krig
Copy link
Contributor

krig commented Oct 17, 2018

Looks good to me too.

@krig krig merged commit 90d193c into ClusterLabs:master Oct 17, 2018
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.

4 participants