Noah Watkins
e8da4bf9b5
client: expose extent/osd mapping
...
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-03-05 16:04:55 -08:00
Sage Weil
8550e5c6ab
doc/release-notes: v0.58
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-05 11:03:08 -08:00
carsonoid
b244b87f28
Update doc/radosgw/s3/python.rst
...
Note about creating conn object for non-ssl implementations.
2013-03-05 11:03:08 -08:00
David Zafman
3bd48cbbad
Merge branch 'wip-4207'
...
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>
2013-03-05 10:26:29 -08:00
Gary Lowell
af6b6eddae
Merge branch 'master' of https://github.com/ceph/ceph
2013-03-05 09:06:24 -08:00
Gary Lowell
66cadbe515
Merge branch 'next'
2013-03-05 09:05:21 -08:00
David Zafman
7cd1cb2f9e
Add list_snaps() calls to snapshots test cases
...
Signed-off-by: David Zafman <david.zafman@inktank.com>
2013-03-04 23:16:50 -08:00
David Zafman
818f3d298e
Add rados listsnaps command
...
Signed-off-by: David Zafman <david.zafman@inktank.com>
2013-03-04 23:16:50 -08:00
David Zafman
db4ccc0827
osd/librados: add op to list clones/snaps for an object
...
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>
2013-03-04 23:16:43 -08:00
David Zafman
3b5933e0a0
Remove unused SnapContext in librados.hpp
...
Signed-off-by: David Zafman <david.zafman@inktank.com>
2013-03-04 21:35:00 -08:00
David Zafman
1ebfb41455
osd: Improve snapshot test
...
In SelfManagedSnapRollbackPP add some overlapping writes
New SelfManagedSnapOverlap creates overlapping writes
Signed-off-by: David Zafman <david.zafman@inktank.com>
2013-03-04 21:35:00 -08:00
David Zafman
84183303a6
osd: correct comment
...
SnapSet snaps are in descending order
Signed-off-by: David Zafman <david.zafman@inktank.com>
2013-03-04 21:35:00 -08:00
Josh Durgin
867586c674
debian: require >= python2.6 for ceph as well
...
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>
2013-03-04 16:49:14 -08:00
Gary Lowell
ba3f91e750
v0.58
2013-03-04 15:18:24 -08:00
Filippos Giannakos
66df847e00
Add X-Python-Version >=2.6 to debian control file.
...
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>
2013-03-04 15:10:00 -08:00
Samuel Just
a06ea30f84
PG,ReplicatedPG: use pg_has_reset_since to discard old async events
...
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 62999ea2d3
)
2013-03-04 13:54:06 -08:00
Samuel Just
83e9aa5038
PG::build_scrub_map: detect race with peering via last_peering_reset
...
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit 67225339dc
)
2013-03-04 13:54:04 -08:00
Samuel Just
9e4722595c
ReplicatedPG::C_OSD_CommittedPushedObject: use intrusive_ptr for pg
...
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit 04ee8f478b
)
2013-03-04 13:53:59 -08:00
Samuel Just
3e596678fd
ReplicatedPG::C_OSD_CommittedPushedObject take epoch submitted
...
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 a01dea6af9
)
2013-03-04 13:53:55 -08:00
Sage Weil
2a7e802d69
init-ceph: fix --restart option
...
Reported-by: Bryan K. Wright <bkw1a@ayesha.phys.virginia.edu>
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-04 12:34:58 -08:00
John Wilkins
007c83db1b
doc: Updated year in footer.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-03-04 11:48:14 -08:00
John Wilkins
0167d2ae74
Merge branch 'master' of https://github.com/ceph/ceph
2013-03-04 10:59:50 -08:00
John Wilkins
1d33436043
doc: Added instructions for ensuring ceph config file and keyring prior to mounting ceph fuse.
...
fixes : #3796
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-03-04 10:59:18 -08:00
Sage Weil
872753bd29
Merge pull request #89 from Elbandi/master
...
remove unused variable from makefile
2013-03-04 10:33:15 -08:00
Sage Weil
1cfc3ae0d4
jounal: disable aio
...
There is a deadlock issue in the aio code, see #4079 . Disable for the time
being.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-03-04 10:08:49 -08:00
Sage Weil
a3f50267ae
Merge remote-tracking branch 'gh/wip-3484'
...
Reviewed-by: Sage Weil <sage@inktank.com>
2013-03-04 09:18:28 -08:00
Andras Elso
7e2785a33c
Build: no longer need to use LEVELDB_INCLUDE
...
Signed-off-by: Andras Elso <elso.andras@gmail.com>
2013-03-04 13:36:10 +01:00
Joao Eduardo Luis
d5a453f06b
tools: ceph: add 'ceph df' usage
...
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-03-04 11:37:17 +00:00
Joao Eduardo Luis
de6d0a222b
mon: Monitor: 'ceph df'
...
Fixes : #3484
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2013-03-04 11:37:17 +00:00
Gary Lowell
e3847986cf
README: Add libsnappy-dev to build requirements.
...
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
2013-03-01 23:32:54 -08:00
Dan Mick
14daccc1fb
doc: missing blank line in radosgw/config-ref
2013-03-01 19:53:33 -08:00
Gary Lowell
83705e6497
Merge pull request #85 from dalgaaf/wip-da-spec-1
...
Fix package requirements to get sgdisk and merge some changes back from SUSE spec file.
Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
2013-03-01 19:09:04 -08:00
Sage Weil
f8f2cb2da0
Merge pull request #88 from nmtadam/master
...
librados.hpp typo
2013-03-01 17:50:00 -08:00
Adam Manzanares
e01c15b23c
librados.hpp: replace paris with pairs
...
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.
2013-03-01 15:49:26 -08:00
John Wilkins
d5ec9cad4a
doc: Instruction should have been noout, not nodown.
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-03-01 15:09:31 -08:00
John Wilkins
d54ded4991
doc: Fixed OSD pool config settings. Should be in [global], not [osd].
...
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2013-03-01 11:35:47 -08:00
Gary Lowell
ded94add32
ceph.spec.in: Require gptfdisk for Suse, gdisk for otherwise
...
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
2013-03-01 10:38:49 -08:00
Sage Weil
84f48c3a8d
Merge pull request #87 from dalgaaf/wip-da-sca-style-2
...
Fix more issues found via cppcheck
Reviewed-by: Sage Weil <sage@inktank.com>
2013-03-01 10:18:57 -08:00
Danny Al-Gaaf
1de23b5d9d
osd/Watch.cc: init NotifyTimeoutCB::canceled in constructor with false
...
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>
2013-03-01 18:52:27 +01:00
Danny Al-Gaaf
7ee047c64e
osd/ReplicatedPG.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 18:44:59 +01:00
Danny Al-Gaaf
169552540c
ReplicatedPG.cc: remove unused variables
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 17:58:19 +01:00
Danny Al-Gaaf
91e24b8216
ReplicatedPG.cc: remove consecutive return/break statement
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 17:55:55 +01:00
Danny Al-Gaaf
79569f7d3b
osd/PG.cc: reduce scope of listed_collection in read_log_old()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 17:14:53 +01:00
Danny Al-Gaaf
75a265f2df
osd/PG.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 17:11:31 +01:00
Danny Al-Gaaf
b4276cbccb
osd/OSD.cc: remove unused variable 'map<int64_t, int> pool_resize'
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 17:05:03 +01:00
Danny Al-Gaaf
e0308f34e4
osd/OSD.cc: reduce scope of "PG *pg" in OSD::handle_pg_query()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:57:13 +01:00
Danny Al-Gaaf
054424bade
osd/OSD.cc: use static_cast instead of C-Style cast
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:54:26 +01:00
Danny Al-Gaaf
3c96faa41a
os/IndexManager.cc: reduce scope of 'int r' in IndexManager::build_index()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:37:36 +01:00
Danny Al-Gaaf
b8711633e9
os/LevelDBStore.h: pass const string by reference to past_prefix()
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:33:40 +01:00
Danny Al-Gaaf
ea7907fc2b
os/FileStore.cc: fix warning about comparing int with bool
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-03-01 16:27:38 +01:00