summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ReplicatedPG.h: remove temp_coll stubwip-5857-7Samuel Just2013-09-191-5/+0
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* OSD,ReplicatedPG: queue pushes in a op_tp workqueueSamuel Just2013-09-193-4/+11
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG: don't proceed to backfill until recovering is emptySamuel Just2013-09-191-2/+5
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG: correctly handle backfillSamuel Just2013-09-193-18/+18
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: fix up recalc_subsetsSamuel Just2013-09-193-35/+16
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedBackend: wire in start_pushesSamuel Just2013-09-193-10/+71
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedBackend: handle stats properlySamuel Just2013-09-194-24/+38
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedBackend: track object contexts in Push/PullInfoSamuel Just2013-09-192-15/+7
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedBackend: remove priority from Pull/PushInfoSamuel Just2013-09-192-3/+1
| | | | | | Instead, we'll just nab the priority from the messages. Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: move prep_push and friends to ReplicatedBackendSamuel Just2013-09-194-110/+115
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG: remove pushing/pullingSamuel Just2013-09-192-73/+19
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: handle down pull sourcesSamuel Just2013-09-195-18/+39
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: split recover_missing out of prepare_pullSamuel Just2013-09-194-108/+180
| | | | | | Also, move prepare_pull to PGBackend. Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: shuffle over submit_push_*/build_push_opSamuel Just2013-09-193-20/+20
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: move over send_pushes/send_pulls/prep_push_op_blankSamuel Just2013-09-193-32/+27
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: move over _failed_pushSamuel Just2013-09-193-4/+10
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: move handle_*Samuel Just2013-09-193-32/+25
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: shuffle do_pull/do_push_replySamuel Just2013-09-193-6/+4
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: move _do_push,_do_pull_response,do_pushSamuel Just2013-09-193-21/+17
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: convert sub_op_pullSamuel Just2013-09-193-3/+2
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG: make log_subop_stats staticSamuel Just2013-09-192-25/+22
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: shuffle sub_op_push_replySamuel Just2013-09-193-3/+2
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG/Backend: shuffle sub_op_push over to ReplicatedBackendSamuel Just2013-09-194-17/+19
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* osd/: allow dout for ReplicatedBackend methods to work in ReplicatedPG.ccSamuel Just2013-09-191-2/+3
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG: extract PGBackend::Listener recovery callbacksSamuel Just2013-09-194-109/+159
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* PG,ReplicatedPG: handle do_request in ReplicatedPG,PGBackendSamuel Just2013-09-195-89/+68
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG: pass on dump_recovery_info to PGBackendSamuel Just2013-09-191-43/+6
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* OSD,ReplicatedPG: let PGBackend handle the temp collectionSamuel Just2013-09-197-77/+69
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* osd/: add PGBackend interfaces and stubsSamuel Just2013-09-198-2/+726
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG: Allow get_object_context caller to provide attributesSamuel Just2013-09-193-32/+65
| | | | | | | This will be used by PGBackend implementers to get the SnapSet and ObjectInfo for newly recovered objects on the primary. Signed-off-by: Samuel Just <sam.just@inktank.com>
* ReplicatedPG: send_push is unusedSamuel Just2013-09-192-16/+0
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* FileStore: ping tphandle between each operation within a transactionSamuel Just2013-09-192-3/+13
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* WorkQueue: add a workqueue which simply runs queued GenContextsSamuel Just2013-09-191-0/+43
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* Context: add GenContext templated on the callback argumentSamuel Just2013-09-191-0/+20
| | | | Signed-off-by: Samuel Just <sam.just@inktank.com>
* FileStore: only remove the omap entries if nlink == 1Samuel Just2013-09-191-1/+2
| | | | | | Introduced in 17c5d765d7c7573f875f6b3ba66e3b6813110a06 Signed-off-by: Samuel Just <sam.just@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
* Merge pull request #609 from dmick/wip-6293David Zafman2013-09-191-1/+1
|\ | | | | | | | | mon: fix wrong arg to "instructed to" status message Reviewed-by: David Zafman <david.zafman@inktank.com>
| * mon: fix wrong arg to "instructed to" status messageDan Mick2013-09-191-1/+1
|/ | | | | Fixes: #6293 Signed-off-by: Dan Mick <dan.mick@inktank.com>
* Merge pull request #604 from ceph/wip-buck-centos-coreGary Lowell2013-09-193-27/+13
|\ | | | | | | Wip buck centos core Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
| * Remove unneeded junit4 checkwip-buck-centos-coreJoe Buck2013-09-161-4/+0
| | | | | | | | | | | | | | | | We refactored the java tests to not use the ExternalResource class, so this test is no longer necessary. Signed-off-by: Joe Buck <jbbuck@gmail.com>
| * Removing extraneous codeJoe Buck2013-09-162-15/+1
| | | | | | | | | | | | | | | | | | | | The ExternalResource code was unnecessary and caused issues on CentOS. Removing it. Update Makefile.am to reflect the fact that an anonymous class was removed and its $1.class file is no longer generated. Signed-off-by: Joe Buck <jbbuck@gmail.com>
| * Use a loop for testing jdk pathsJoe Buck2013-09-161-8/+12
| | | | | | | | | | | | | | | | | | | | Loop through a list of sensible default locations for a JDK, stopping if a workable JDK is found. Also, add support for CentOS' default java location. Signed-off-by: Joe Buck <jbbuck@gmail.com>
* | Makefile: fix unittest_archSage Weil2013-09-191-0/+5
| | | | | | | | | | | | Also broken by makefile refactor. Signed-off-by: Sage Weil <sage@inktank.com>
* | Makefile: fix unittest_crc32cSage Weil2013-09-191-0/+5
| | | | | | | | | | | | This got dropped during the makefile refactor. Signed-off-by: Sage Weil <sage@inktank.com>
* | os/FileStore: fix uninitialized varSage Weil2013-09-181-1/+1
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | doc/release-notes: v0.69Sage Weil2013-09-181-0/+50
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | Merge branch 'next'Gary Lowell2013-09-1811-6/+36
|\ \
| * | v0.69v0.69Gary Lowell2013-09-182-1/+7
| | |
| * | rgw: try to create log pool if doesn't existYehuda Sadeh2013-09-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | When using replica log, if the log pool doesn't exist all operations are going to fail. Try to create it if doesn't exist. Reviewed-by: Josh Durgin <josh.durgin@inktank.com> Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * | rgw: NULL terminate buffer before parsing itYehuda Sadeh2013-09-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #6175 Backport: dumpling We get a buffer off the remote gateway which might not be NULL terminated. The JSON parser needs the buffer to be NULL terminated even though we provide a buffer length as it calls strlen(). Reviewed-by: Josh Durgin <josh.durgin@inktank.com> Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
| * | rgw: don't call list::size() in ObjectCacheYehuda Sadeh2013-09-112-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #6286 Use an external counter instead of calling list::size() Reviewed-by: Sage Weil <sage@inktank.com> Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>