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

Support for readahead count when creating new volumes #90

Merged
merged 1 commit into from
Feb 6, 2015
Merged

Support for readahead count when creating new volumes #90

merged 1 commit into from
Feb 6, 2015

Conversation

JamieCressey
Copy link
Contributor

No description provided.

@wallies
Copy link

wallies commented Feb 4, 2015

+1 for getting this merged, as I dont really want to be changing the repo and need this setting for mongo servers

@underscorgan
Copy link
Contributor

@jayc89 thanks for the contribution! In general this looks good, but I have one question which I'll put in an inline comment. If you can respond/fix that as relevant we should be good to merge this.

newparam(:readahead) do
desc "The readahead count to use for the new logical volume."
validate do |value|
unless value =~ /^([0-9]+|Auto|None)/i
Copy link
Contributor

Choose a reason for hiding this comment

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

Does lvcreate care about the casing for auto or none? If it does this parameter should have a munge block to fix the case.

Copy link

Choose a reason for hiding this comment

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

I just tried lvcreate with different casing of nOnE and AuTo, it doesn't care.

@seif
Copy link

seif commented Feb 4, 2015

Would be great if this gets merged indeed! I just needed to set readahead and found this pull request!

underscorgan pushed a commit that referenced this pull request Feb 6, 2015
Support for readahead count when creating new volumes
@underscorgan underscorgan merged commit 863240e into puppetlabs:master Feb 6, 2015
@underscorgan
Copy link
Contributor

Great, thanks for the contribution @jayc89 !

@seif
Copy link

seif commented Feb 9, 2015

@mhaskel sorry to pester, any ETA on when this would get pushed to the forge?

@JamieCressey
Copy link
Contributor Author

Hey @mhaskel, any idea when the next release will be cut? Thanks!

@underscorgan
Copy link
Contributor

Woops, sorry @seif @JamieCressey, I missed these pings. I'm not sure if we can get this out next week, but we should be able to do the following week at the latest. Thanks!

@seif
Copy link

seif commented Apr 26, 2015

@mhaskel no worries, using git ref for now.

cegeka-jenkins pushed a commit to cegeka/puppet-lvm that referenced this pull request Oct 23, 2017
Support for readahead count when creating new volumes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants