HomeFreeBSD

Do not print UINT64_MAX value for some of zfs properties

Description

Do not print UINT64_MAX value for some of zfs properties

The values of next properties: filesystem_limit, filesystem_count,
snapshot_limit, snapshot_count were returned to user as UINT64_MAX
integers in case if -p cli option is used, return 'none' value instead.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Fedor Uporov <fuporov.vstack@gmail.com>
Closes #9306
Closes #12690

Details

Provenance
Fedor Uporov <60701163+fuporovvStack@users.noreply.github.com>Authored on Oct 29 2021, 11:18 PM
GitHub <noreply@github.com>Committed on Oct 29 2021, 11:18 PM
Parents
rG1139e170d49a: Add explicit error for device_rebuild being disabled
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG475e41b9f56b: Do not print UINT64_MAX value for some of zfs properties (authored by Fedor Uporov <60701163+fuporovvStack@users.noreply.github.com>).Oct 29 2021, 11:18 PM