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

[DNM]BlueFS: Wip bluefs log compact #10285

Closed
wants to merge 9 commits into from

Conversation

varadakari
Copy link
Contributor

This patch contains sync and async bluefs log compaction and unit test cases to verify them.
Will split them to multiple commits if the approach is okay and correct.

Signed-off-by: Sage Weil sage@redhat.com
Signed-off-by: Varada Kari varada.kari@sandisk.com

@varadakari varadakari changed the title [DNM] Wip bluefs compact [DNM] BlueFS: Wip bluefs compact Jul 13, 2016
@varadakari varadakari changed the title [DNM] BlueFS: Wip bluefs compact BlueFS: Wip bluefs log compact Jul 22, 2016
@varadakari
Copy link
Contributor Author

Added few more commits and it passes make check except ceph-disk.

99% tests passed, 2 tests failed out of 145

Total Test time (real) = 2509.05 sec
The following tests FAILED:
13 - run-tox-ceph-disk (Failed)
14 - run-tox-ceph-detect-init (Failed)

ceph_test_objectstore is in progress.

Signed-off-by: Varada Kari <varada.kari@sandisk.com>
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
@varadakari
Copy link
Contributor Author

2016-07-27 15:46:56.963018 7f7a79336680 1 bluestore(store_test_temp_dir) fsck finish with 0 errors
[ OK ] ObjectStore/StoreTest.TooManyBlobsTest/2 (57769 ms)
[----------] 59 tests from ObjectStore/StoreTest (5161446 ms total)

[----------] Global test environment tear-down
[==========] 59 tests from 1 test case ran. (5161447 ms total)
[ PASSED ] 59 tests.
2016-07-27 15:46:56.996000 7f7a79336680 0 lockdep stop

Passed all tests in ceph_test_objectstore

@varadakari
Copy link
Contributor Author

varadakari commented Jul 27, 2016

Make check also completed sucessfully

@varadakari varadakari changed the title BlueFS: Wip bluefs log compact [DNM]BlueFS: Wip bluefs log compact Jul 27, 2016
Varada Kari added 5 commits August 5, 2016 10:45
Patch contains implementation for sync and async
log compaction, deafulted to async compaction.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
Returns total bytes consumed by BlueFS across devs

Signed-off-by: Varada Kari <varada.kari@sandisk.com>
@liewegas
Copy link
Member

I fixed several small things and rebased. See #10717

@liewegas liewegas closed this Aug 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants