HomeFreeBSD

Propagate extent_bytes change to autotrim thread

Description

Propagate extent_bytes change to autotrim thread

The autotrim thread only reads zfs_trim_extent_bytes_min and
zfs_trim_extent_bytes_max variable only on thread start. We
should check for parameter changes during thread execution to
allow parameter changes take effect without needing to disable
then restart the autotrim.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Václav Skála <skala@vshosting.cz>
Closes #14077

Details

Provenance
vaclavskala <33496485+vaclavskala@users.noreply.github.com>Authored on Oct 28 2022, 5:16 PM
GitHub <noreply@github.com>Committed on Oct 28 2022, 5:16 PM
Parents
rGdbf6108b4df9: zfs_rename: support RENAME_* flags
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG7822b50f548e: Propagate extent_bytes change to autotrim thread (authored by vaclavskala <33496485+vaclavskala@users.noreply.github.com>).Oct 28 2022, 5:16 PM