aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/python_api/(public-mirror)
diff options
context:
space:
mode:
authorR. Christian McDonald <rcm@FreeBSD.org>2026-10-07 14:57:40 +0000
committerR. Christian McDonald <rcm@FreeBSD.org>2026-10-07 14:57:40 +0000
commitdece5b05f577fc4c6b89af7ad48dfbdf7cc4945c (patch)
treec5a912be452b8a8f6b93b36d6ff3905ab544f401 /packages/Python/lldbsuite/test/python_api/(public-mirror)
parentfa6fe034a73c8b17320d1e68767ad2aa99eaa8bf (diff)
makefs/zfs: Allow the autotrim pool property to be setHEADmain
Add an "autotrim" option taking "on" or "off". The value is stored in the pool properties object alongside "bootfs", so the imported pool starts trimming freed space automatically without a separate "zpool set" step. When the option is omitted nothing is written and the pool keeps the default ("off"), exactly as before. A string option is used rather than makefs's boolean option type since the latter ignores its value, which would make "autotrim=off" enable the feature. Define the spa_autotrim_t enumeration in the boot zfsimpl.h, copied from OpenZFS's sys/spa.h, so that makefs can refer to SPA_AUTOTRIM_OFF and SPA_AUTOTRIM_ON by name. The loader does not use it. Document the option in makefs(8) and add a regression test. Reviewed by: markj MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D60420
Diffstat (limited to 'packages/Python/lldbsuite/test/python_api/(public-mirror)')
0 files changed, 0 insertions, 0 deletions