-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
9151 fix panic on DilOS with kstat per dataset statistics #9254
Conversation
Signed-off-by: Igor Kozhukhov <igor@dilos.org>
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.
This value is ignored in the Linux kstat code, but it seems like a reasonable approach to resolve the issue for other platforms.
Codecov Report
@@ Coverage Diff @@
## master #9254 +/- ##
==========================================
- Coverage 79.08% 79.05% -0.04%
==========================================
Files 400 400
Lines 122034 122035 +1
==========================================
- Hits 96516 96479 -37
- Misses 25518 25556 +38
Continue to review full report at Codecov.
|
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.
Thank you Igor!
Account for ZFS_MAX_DATASET_NAME_LEN in kstat data size. This value is ignored in the Linux kstat code but resolves the issue for other platforms. Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Igor Kozhukhov <igor@dilos.org> Closes openzfs#9254 Closes openzfs#9151
Account for ZFS_MAX_DATASET_NAME_LEN in kstat data size. This value is ignored in the Linux kstat code but resolves the issue for other platforms. Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Igor Kozhukhov <igor@dilos.org> Closes openzfs#9254 Closes openzfs#9151
Account for ZFS_MAX_DATASET_NAME_LEN in kstat data size. This value is ignored in the Linux kstat code but resolves the issue for other platforms. Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Igor Kozhukhov <igor@dilos.org> Closes #9254 Closes #9151
Signed-off-by: Igor Kozhukhov igor@dilos.org
fix issue #9151
Motivation and Context
Description
How Has This Been Tested?
Types of changes
Checklist:
Signed-off-by
.