summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* rgw: set up curl with CURL_NOSIGNALwip-4425-nextYehuda Sadeh2013-03-131-0/+1
| | | | | | | | | | | Fixes: #4425 Backport: bobtail Apparently, libcurl needs that in order to be thread safe. Side effect is that if libcurl is not compiled with c-ares support, domain name lookups are not going to time out. Issue affected keystone. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* rgw: set attrs on various list bucket xml results (swift)Yehuda Sadeh2013-03-081-4/+4
| | | | | | | | Fixes: #4247 The list buckets operation was missing some attrs on the different xml result entities. This fixes it. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
* formatter: add the ability to dump attrs in xml entitiesYehuda Sadeh2013-03-082-9/+97
| | | | | | | | | | | | | | xml entities may have attrs assigned to them. Add the ability to set them. A usage example: formatter->open_array_section_with_attrs("container", FormatterAttrs("name", "foo", NULL)); This will generate the following xml entity: <container name="foo"> Signed-off-by: Yehuda Sadeh <yehuda@inktank.com> Reviewed-by: Greg Farnum <greg@inktank.com>
* rgw: don't iterate through all objects when in namespaceYehuda Sadeh2013-03-081-1/+21
| | | | | | | | | | Fixes: #4363 Backport: argonaut, 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>
* osd: increate default pg log size from 1000 -> 3000Sage Weil2013-03-071-1/+1
| | | | | | | This reduces the probability that we will fail to detect a dup op. See #4368. Signed-off-by: Sage Weil <sage@inktank.com>
* Merge remote-tracking branch 'gh/wip-log-max' into nextSage Weil2013-03-072-11/+12
|\ | | | | | | Reviewed-by: Sage Weil <sage@inktank.com>
| * config: note which options are overridden by common_preinit()Josh Durgin2013-03-061-10/+10
| | | | | | | | | | | | Defaults for these differ based on the context in which they're used. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
| * common: reduce default in-memory logs for non-daemonsJosh Durgin2013-03-061-1/+2
| | | | | | | | | | | | | | | | | | | | The default of 100000 can result in hundreds of MBs of extra memory used. This was most obvious when using librbd with caching enabled, since there was a dout(0) accidentally left in the ObjectCacher. refs: #4352 backport: bobtail Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
* | init-ceph: fix run dirSage Weil2013-03-061-2/+2
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | osd: add ctor for clone_infoSage Weil2013-03-061-1/+2
|/ | | | | Signed-off-by: Sage Weil <sage@inktank.com> (cherry picked from commit 439d0e334d7d0246806e5b7c6702b8198f9bed71)
* ObjectCacher: fix debug log level in splitJosh Durgin2013-03-061-1/+1
| | | | | | | Level 0 should never be used for this kind of debugging. Signed-off-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Dan Mick <dan.mick@inktank.com>
* Merge pull request #90 from grosskur/fix-debian-libsnappySage Weil2013-03-061-1/+1
|\ | | | | debian: require libsnappy-dev for ceph
| * debian: require libsnappy-dev for cephAlan Grosskurth2013-03-061-1/+1
|/ | | | Debian builds are currently broken without this requirement.
* release-process.rst: Fix typosGary Lowell2013-03-051-2/+2
| | | | Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
* Merge branch 'wip-prepare'Sage Weil2013-03-051-16/+76
|\ | | | | | | | | | | Reviewed-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Alexandre Marangone <alexandre.marangone@inktank.com> Tested-by: Tamil Muthamizhan <tamil.muthamizhan@inktank.com>
| * ceph-disk-prepare: move in-use checks to the top, before zapSage Weil2013-03-051-13/+11
| | | | | | | | | | | | Move the in-use checks to the very top, before we (say) zap! Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph-disk-prepare: verify device is not in use by device-mapperSage Weil2013-03-041-0/+21
| | | | | | | | | | | | | | Be nice and tell the user which devices/mappings are consuming the device, too. Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph-disk-prepare: verify device is not mounted before usingSage Weil2013-03-041-1/+50
| | | | | | | | | | | | | | | | Make sure the data and/or journal device(s) are not in use (mounted) before using them. Make room for additional "in-use" checks in the future. Closes: #3256 Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph-disk-prepare: clean up stupid check for a digitSage Weil2013-03-041-3/+1
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
| * ceph-disk-prepare: use os.path.realpath()Sage Weil2013-03-041-7/+1
| | | | | | | | | | | | My janky symlink resolution is broken in various ways. Signed-off-by: Sage Weil <sage@inktank.com>
* | doc/release-notes: v0.58Sage Weil2013-03-051-0/+37
| | | | | | | | Signed-off-by: Sage Weil <sage@inktank.com>
* | Update doc/radosgw/s3/python.rstcarsonoid2013-03-051-0/+1
| | | | | | | | Note about creating conn object for non-ssl implementations.
* | Merge branch 'wip-4207'David Zafman2013-03-0512-24/+620
|\ \ | | | | | | | | | | | | | | | | | | Feature: #4207: osd/librados: add ops to list snaps for an object Signed-off-by: David Zafman <david.zafman@inktank.com> Reported-by: Sam Just <sam.just@inktank.com>
| * | Add list_snaps() calls to snapshots test casesDavid Zafman2013-03-041-2/+100
| | | | | | | | | | | | Signed-off-by: David Zafman <david.zafman@inktank.com>
| * | Add rados listsnaps commandDavid Zafman2013-03-041-1/+126
| | | | | | | | | | | | Signed-off-by: David Zafman <david.zafman@inktank.com>
| * | osd/librados: add op to list clones/snaps for an objectDavid Zafman2013-03-0410-1/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returning snap_set_t with clone info and snapshots in ascending order Add clones with snapshots to obj_list_snap_response_t New rados_types.hpp with snap_set_t/clone_info_t Move snap_t to rados_types.hpp Add generate_test_instances() and TYPE() to encoding/types.h Feature: #4207 Signed-off-by: David Zafman <david.zafman@inktank.com>
| * | Remove unused SnapContext in librados.hppDavid Zafman2013-03-041-5/+0
| | | | | | | | | | | | Signed-off-by: David Zafman <david.zafman@inktank.com>
| * | osd: Improve snapshot testDavid Zafman2013-03-041-15/+89
| | | | | | | | | | | | | | | | | | | | | In SelfManagedSnapRollbackPP add some overlapping writes New SelfManagedSnapOverlap creates overlapping writes Signed-off-by: David Zafman <david.zafman@inktank.com>
| * | osd: correct commentDavid Zafman2013-03-041-1/+1
| | | | | | | | | | | | | | | | | | SnapSet snaps are in descending order Signed-off-by: David Zafman <david.zafman@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
| | |