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

os/bluestore: fix statfs tests #10910

Merged
merged 2 commits into from Aug 30, 2016
Merged

Conversation

liewegas
Copy link
Member

No description provided.

…2 on ssd

Signed-off-by: Sage Weil <sage@redhat.com>
These are too sensitive to other activity, like bluefs
files and bluefs vs bluestore freespace balancing.

Signed-off-by: Sage Weil <sage@redhat.com>
@ifed01
Copy link
Contributor

ifed01 commented Aug 30, 2016

Reviewed-by: Igor Fedotov ifedotov@mirantis.com

@ifed01 ifed01 merged commit 5a7b9ee into ceph:master Aug 30, 2016
@@ -1123,6 +1123,7 @@ TEST_P(StoreTest, BluestoreStatFSTest) {
if(string(GetParam()) != "bluestore")
return;
g_conf->set_val("bluestore_compression", "force");
g_conf->set_val("bluestore_min_alloc_size", "65536");
Copy link
Contributor

Choose a reason for hiding this comment

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

Just realized that this wouldn't work as min_alloc_size is updated from _open_bdev method only.
And I suggest to revert settings to their original values on test case completion.

Copy link
Contributor

Choose a reason for hiding this comment

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

Made PR #10926 to fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants