summaryrefslogtreecommitdiffstats
path: root/cmd/ztest/ztest.c
diff options
context:
space:
mode:
authorCyril Plisko <[email protected]>2013-06-04 12:25:22 +0300
committerBrian Behlendorf <[email protected]>2013-07-02 09:34:18 -0700
commit29dee3ee9ac68d8a75c0d518b1342f447cd2ddc0 (patch)
tree98ae7fc264af2afe68cb8e730ed9914f2146216b /cmd/ztest/ztest.c
parent802e7b5feb0135483de119eac1da192404eb5bb7 (diff)
Add zfs_sync_pass_* tunable parameters
Commit 55d85d5a8c45c4559a4a0e675c37b0c3afb19c2f (backport of the upstream changes) replaced three hardcoded constants: #define SYNC_PASS_DEFERRED_FREE 2 /* defer frees after this pass */ #define SYNC_PASS_DONT_COMPRESS 4 /* don't compress after this pass */ #define SYNC_PASS_REWRITE 1 /* rewrite new bps after this pass */ with a tunable parameters: int zfs_sync_pass_deferred_free = 2; /* defer frees starting in this pass */ int zfs_sync_pass_dont_compress = 5; /* don't compress starting in this pass */ int zfs_sync_pass_rewrite = 2; /* rewrite new bps starting in this pass */ This commit makes these tunables available as module parameters in Linux. They should only be used for performance analysis because changing them can result in subtle and pathological performance problems. Signed-off-by: Brian Behlendorf <[email protected]> Closes #1562
Diffstat (limited to 'cmd/ztest/ztest.c')
0 files changed, 0 insertions, 0 deletions