aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/dmu_zfetch.h
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2023-07-21 14:51:47 -0400
committerGitHub <[email protected]>2023-07-21 11:51:47 -0700
commit34b3d498a965451f2c21e9652a99952ed6e93c59 (patch)
tree47dfb2e7d6e3ddb436bf60d82a4a10c1b24fffbf /include/sys/dmu_zfetch.h
parent28430b51e3e2387e6f36d5b4ee5b30ef33095993 (diff)
Adjust prefetch parameters.
- Reduce maximum prefetch distance for 32bit platforms to 8MB as it was previously. Those systems didn't grow much probably, so better stay conservative there. - Retire array_rd_sz tunable, blocking prefetch for large requests. We should not penalize applications trying to be more efficient. The speculative prefetcher by itself has reasonable distance limits, and 1MB is not much at all these days. Reviewed-by: Allan Jude <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc. Closes #15072
Diffstat (limited to 'include/sys/dmu_zfetch.h')
-rw-r--r--include/sys/dmu_zfetch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sys/dmu_zfetch.h b/include/sys/dmu_zfetch.h
index 0fbc3bacf..f00e13cf0 100644
--- a/include/sys/dmu_zfetch.h
+++ b/include/sys/dmu_zfetch.h
@@ -36,8 +36,6 @@
extern "C" {
#endif
-extern uint64_t zfetch_array_rd_sz;
-
struct dnode; /* so we can reference dnode */
typedef struct zfetch {