Open
Description
Describe the feature would like to see added to OpenZFS
The level at which ZFS reports ENOSPC should be tunable by users: 96% hard-coded wastes a massive amount of space:
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
somepool 3.62T 3.50T 130G - - 45% 96% 1.00x ONLINE -
How will this feature improve OpenZFS?
Reduce amount of money users waste on (especially fast) storage capacity, extend utility of capacity owned/leased.
Additional context
Having a heuristic calculation of min free space required to remove snapshots in order to free more space and unblock operations would be great here but a pool-wide setting along the lines of min_mb_free
would probably suffice.