Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing module_param for zfs_per_txg_dirty_frees_percent #5750

Merged
merged 1 commit into from Feb 7, 2017
Merged

Add missing module_param for zfs_per_txg_dirty_frees_percent #5750

merged 1 commit into from Feb 7, 2017

Conversation

dpquigl
Copy link
Contributor

@dpquigl dpquigl commented Feb 6, 2017

When the code was added this tunable was not exposed via module params. Also it
was not documented. This patch changes the type from a uint32 to a ulong as
done with other percentage tunables and also documents it in the
zfs-module-parameters man page.

@mention-bot
Copy link

@dpquigl, thanks for your PR! By analyzing the history of the files in this pull request, we identified @behlendorf, @ahrens and @FransUrbo to be potential reviewers.

@@ -1441,6 +1441,22 @@ Default value: \fB52,428,800\fR.
.sp
.ne 2
.na
\fBzfs_per_txg_dirty_frees_percent \fR (int)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean ulong here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I'll fix.

module_param(zfs_mdcomp_disable, int, 0644);
MODULE_PARM_DESC(zfs_mdcomp_disable, "Disable meta data compression");

module_param(zfs_nopwrite_enabled, int, 0644);
MODULE_PARM_DESC(zfs_nopwrite_enabled, "Enable NOP writes");

module_param(zfs_per_txg_dirty_frees_percent, ulong, 0644);
MODULE_PARM_DESC(zfs_per_txg_dirty_frees_percent,
"percentage of dirtied blocks from frees in one TXG");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing /* END CSTYLED */.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do

When the code was added this tunable was not exposed via module params. Also it
was not documented. This patch changes the type from a uint32 to a ulong as
done with other percentage tunables and also documents it in the
zfs-module-parameters man page.
@dpquigl
Copy link
Contributor Author

dpquigl commented Feb 6, 2017

Changes made and new branch pushed out.

@behlendorf behlendorf merged commit bef7812 into openzfs:master Feb 7, 2017
wli5 pushed a commit to wli5/zfs that referenced this pull request Feb 28, 2017
When the code was added this tunable was not exposed via module params. Also it
was not documented. This patch changes the type from a uint32 to a ulong as
done with other percentage tunables and also documents it in the
zfs-module-parameters man page.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: David Quigley <david.quigley@intel.com>
Closes openzfs#5750
wli5 pushed a commit to wli5/zfs that referenced this pull request Feb 28, 2017
When the code was added this tunable was not exposed via module params. Also it
was not documented. This patch changes the type from a uint32 to a ulong as
done with other percentage tunables and also documents it in the
zfs-module-parameters man page.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: David Quigley <david.quigley@intel.com>
Closes openzfs#5750
@dpquigl dpquigl deleted the module_param branch June 28, 2017 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants