HomeFreeBSD

Fix panic on DilOS with kstat per dataset statistics

Description

Fix panic on DilOS with kstat per dataset statistics

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

Details

Provenance
Igor K <igor@dilos.org>Authored on Sep 3 2019, 7:12 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 3 2019, 7:12 PM
Parents
rGa91e4790a60a: zvol_wait script should ignore partially received zvols
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGe242b67cee1d: Fix panic on DilOS with kstat per dataset statistics (authored by Igor K <igor@dilos.org>).Sep 3 2019, 7:12 PM