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 leak of result-checking of _fsck_check_extents #11040

Merged
merged 4 commits into from Sep 12, 2016

Conversation

xiexingguo
Copy link
Member

We shall not ignore the result of _fsck_check_extents() durint fsck().

Signed-off-by: xie xingguo xie.xingguo@zte.com.cn

We shall not ignore the result of _fsck_check_extents() durint fsck().

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Otherwise there are potential extent leaks.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
which is not used anymore.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@xiexingguo
Copy link
Member Author

2016-09-12 09:29:09.044920 7f7fe8df6640 1 bluestore(store_test_temp_dir) fsck finish with 0 errors in 0.529927 seconds
[ OK ] ObjectStore/StoreTest.TooManyBlobsTest/2 (27233 ms)
[----------] 61 tests from ObjectStore/StoreTest (2778742 ms total)

[----------] Global test environment tear-down
[==========] 61 tests from 1 test case ran. (2778742 ms total)
[ PASSED ] 61 tests.

@liewegas liewegas merged commit b8c203f into ceph:master Sep 12, 2016
@xiexingguo xiexingguo deleted the xxg-wip-bluestore-0910 branch September 12, 2016 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants