diff options
author | Brian Behlendorf <[email protected]> | 2023-10-24 11:00:07 -0700 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2024-04-30 10:01:15 -0700 |
commit | 61f3638a3463b58168b9c2b0d1f8605fde1349d9 (patch) | |
tree | 30d5c066d74763368c148e76b2a79aa8fe5efc6e /module/zcommon/zpool_prop.c | |
parent | 706307445e66b63f6f4fd828dc331bb0a010c59f (diff) |
Add prefetch property
ZFS prefetch is currently governed by the zfs_prefetch_disable
tunable. However, this is a module-wide settings - if a specific
dataset benefits from prefetch, while others have issue with it,
an optimal solution does not exists.
This commit introduce the "prefetch" tri-state property, which enable
granular control (at dataset/volume level) for prefetching.
This patch does not remove the zfs_prefetch_disable, which remains
a system-wide switch for enable/disable prefetch. However, to avoid
duplication, it would be preferable to deprecate and then remove
the module tunable.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Ameer Hamza <[email protected]>
Signed-off-by: Gionatan Danti <[email protected]>
Co-authored-by: Gionatan Danti <[email protected]>
Closes #15237
Closes #15436
Diffstat (limited to 'module/zcommon/zpool_prop.c')
0 files changed, 0 insertions, 0 deletions