summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rgw: don't iteraste through all objects when in namespacewip-4363-nextYehuda Sadeh2013-03-071-1/+21
| | | | | | | | | | Fixes: #4363 Backport: argnaut, bobtail When listing objects in namespace don't iterate through all the objects, only go though the ones that starts with the namespace prefix Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* Merge branch 'master' of https://github.com/ceph/cephGary Lowell2013-03-051-0/+2
|\
| * debian: require >= python2.6 for ceph as wellJosh Durgin2013-03-041-0/+1
| | | | | | | | | | | | | | ceph-disk-prepare and ceph-disk-activate use the with statement, str.format, and possibly other new features from python 2.6. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
| * Add X-Python-Version >=2.6 to debian control file.Filippos Giannakos2013-03-041-0/+1
| | | | | | | | | | | | | | | | python-ceph complains when installed to debian squeeze about the 'with' statement. Apparently installation tries to install the python-ceph package for python 2.5, which does not support the 'with' statement natively. Signed-off-by: Filippos Giannakos <philipgian@grnet.gr>
* | Merge branch 'next'Gary Lowell2013-03-053-2/+8
|\ \ | |/ |/|
| * v0.58v0.58Gary Lowell2013-03-042-1/+7
| |
| * PG,ReplicatedPG: use pg_has_reset_since to discard old async eventsSamuel Just2013-03-044-6/+10
| | | | | | | | | | | | | | | | Local async events are obsolete if the pg is deleting or if the epoch at which they were created is prior to last_peering_reset. Signed-off-by: Samuel Just <sam.just@inktank.com> (cherry picked from commit 62999ea2d362b32dfc86a15dcb03b06fb5cb0572)
| * PG::build_scrub_map: detect race with peering via last_peering_resetSamuel Just2013-03-041-2/+2
| | | | | | | | | | Signed-off-by: Samuel Just <sam.just@inktank.com> (cherry picked from commit 67225339dc3d62d7fe5a32eec65d51e53e8d35bb)
| * ReplicatedPG::C_OSD_CommittedPushedObject: use intrusive_ptr for pgSamuel Just2013-03-041-3/+1
| | | | | | | | | | Signed-off-by: Samuel Just <sam.just@inktank.com> (cherry picked from commit 04ee8f478bbd587a711d0668c471cfc5c1cab06c)
| * ReplicatedPG::C_OSD_CommittedPushedObject take epoch submittedSamuel Just2013-03-042-13/+18
| | | | | | | | | | | | | | | | What we really care about is that the epoch in which the Context was submitted is at complete() time >= last_peering_reset. Signed-off-by: Samuel Just <sam.just@inktank.com> (cherry picked from commit a01dea6af9aacf0614570ebb5fa161d9dde9b6b6)
| * jounal: disable aioSage Weil2013-03-041-1/+1
| | | | | | | | | | | | | | There is a deadlock issue in the aio code, see #4079. Disable for the time being. Signed-off-by: Sage Weil <sage@inktank.com>
* | init-ceph: fix --restart optionSage Weil2013-03-041-2/+2
| | | | | | | | | | Reported-by: Bryan K. Wright <bkw1a@ayesha.phys.virginia.edu> Signed-off-by: Sage Weil <sage@inktank.com>
* | doc: Updated year in footer.John Wilkins2013-03-041-2/+2
| | | | | | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* | Merge branch 'master' of https://github.com/ceph/cephJohn Wilkins2013-03-041-16/+15
|\ \
| * \ Merge pull request #89 from Elbandi/masterSage Weil2013-03-041-16/+15
| |\ \ | | | | | | | | remove unused variable from makefile
| | * | Build: no longer need to use LEVELDB_INCLUDEAndras Elso2013-03-041-16/+15
| | | | | | | | | | | | | | | | Signed-off-by: Andras Elso <elso.andras@gmail.com>
* | | | doc: Added instructions for ensuring ceph config file and keyring prior to ↵John Wilkins2013-03-041-7/+28
|/ / / | | | | | | | | | | | | | | | | | | | | | mounting ceph fuse. fixes: #3796 Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* | | Merge remote-tracking branch 'gh/wip-3484'Sage Weil2013-03-046-2/+188
|\ \ \ | |/ / |/| | | | | Reviewed-by: Sage Weil <sage@inktank.com>
| * | tools: ceph: add 'ceph df' usageJoao Eduardo Luis2013-03-042-0/+2
| | | | | | | | | | | | Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
| * | mon: Monitor: 'ceph df'Joao Eduardo Luis2013-03-044-2/+186
| | | | | | | | | | | | | | | | | | Fixes: #3484 Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
* | | README: Add libsnappy-dev to build requirements.Gary Lowell2013-03-011-0/+1
| | | | | | | | | | | | Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
* | | doc: missing blank line in radosgw/config-refDan Mick2013-03-011-0/+1
| | |
* | | Merge pull request #85 from dalgaaf/wip-da-spec-1Gary Lowell2013-03-011-2/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | Fix package requirements to get sgdisk and merge some changes back from SUSE spec file. Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
| * | | ceph.spec.in: merge fdupes support from SUSE packagesDanny Al-Gaaf2013-03-011-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use fdupes to avoid duplicated files as done in the SUSE packages. Since it doesn't work as expected on Fedora/RHEL do this only on SUSE based distros. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | ceph.spec.in: add on non-RHEL sharutils to 'BuildRequires:'Danny Al-Gaaf2013-03-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Add sharutils to 'BuildRequires:', needed for configure. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | ceph.spec.in: fix 'Requires:' to get sgdisk into the systemDanny Al-Gaaf2013-03-011-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix package Requirements to get sgdisk. On RHEL/CentOS/Fedora the package is gdisk. On SUSE/openSUSE < 12.2 it's scsirastools on openSUSE >= 12.2 it's in gptfdisk. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* | | | Merge pull request #88 from nmtadam/masterSage Weil2013-03-011-2/+2
|\ \ \ \ | | | | | | | | | | librados.hpp typo
| * | | | librados.hpp: replace paris with pairsAdam Manzanares2013-03-011-2/+2
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Adam Manzanares <nmtadam@gmail.com> Working on a lua-rados library I noticed that paris was used in the place of pairs in some comments.
* | | | doc: Instruction should have been noout, not nodown.John Wilkins2013-03-011-8/+8
| | | | | | | | | | | | | | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* | | | doc: Fixed OSD pool config settings. Should be in [global], not [osd].John Wilkins2013-03-012-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: John Wilkins <john.wilkins@inktank.com>
* | | | ceph.spec.in: Require gptfdisk for Suse, gdisk for otherwiseGary Lowell2013-03-011-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
* | | | Merge pull request #87 from dalgaaf/wip-da-sca-style-2Sage Weil2013-03-0131-277/+260
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Fix more issues found via cppcheck Reviewed-by: Sage Weil <sage@inktank.com>
| * | | osd/Watch.cc: init NotifyTimeoutCB::canceled in constructor with falseDanny Al-Gaaf2013-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize NotifyTimeoutCB::canceled in the constructor with false as already done in onter cases. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | osd/ReplicatedPG.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-21/+21
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | ReplicatedPG.cc: remove unused variablesDanny Al-Gaaf2013-03-011-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | ReplicatedPG.cc: remove consecutive return/break statementDanny Al-Gaaf2013-03-011-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | osd/PG.cc: reduce scope of listed_collection in read_log_old()Danny Al-Gaaf2013-03-011-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | osd/PG.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-8/+8
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | osd/OSD.cc: remove unused variable 'map<int64_t, int> pool_resize'Danny Al-Gaaf2013-03-011-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | osd/OSD.cc: reduce scope of "PG *pg" in OSD::handle_pg_query()Danny Al-Gaaf2013-03-011-2/+1
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | osd/OSD.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-24/+24
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | os/IndexManager.cc: reduce scope of 'int r' in IndexManager::build_index()Danny Al-Gaaf2013-03-011-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | os/LevelDBStore.h: pass const string by reference to past_prefix()Danny Al-Gaaf2013-03-011-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | os/FileStore.cc: fix warning about comparing int with boolDanny Al-Gaaf2013-03-011-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | os/FileStore.cc: remove identical else branchDanny Al-Gaaf2013-03-011-3/+1
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | os/FileStore.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | SimpleMessenger.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | msg/Pipe.cc: reduce scope of some variablesDanny Al-Gaaf2013-03-011-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | mon/Paxos.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
| * | | mon/PGMonitor.cc: use static_cast instead of C-Style castDanny Al-Gaaf2013-03-011-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>