]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Danny Al-Gaaf [Tue, 7 May 2013 15:06:29 +0000 (17:06 +0200)]
cls/rbd/cls_rbd.cc: reduce scope of variable rc
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 7 May 2013 14:59:18 +0000 (16:59 +0200)]
rgw/rgw_op.cc: use empty() instead of size()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 7 May 2013 14:58:33 +0000 (16:58 +0200)]
ceph-filestore-dump.cc: use empty() instead of size()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Samuel Just [Fri, 10 May 2013 05:24:25 +0000 (22:24 -0700)]
Merge branch 'wip_pg_res'
Reviewed-by: Sage Weil <sage@inktank.com>
Samuel Just [Fri, 10 May 2013 00:25:57 +0000 (17:25 -0700)]
OSD: rename clear_temp to recursive_remove_collection()
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Fri, 10 May 2013 00:17:35 +0000 (17:17 -0700)]
osd: remove_dir use collection_list_partial
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Thu, 9 May 2013 23:49:46 +0000 (16:49 -0700)]
PG: no need to wait on DeletingStateRef for flush
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Thu, 9 May 2013 19:13:46 +0000 (12:13 -0700)]
osd_internals/pg_removal.rst: update for pg resurrection
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Tue, 7 May 2013 18:12:43 +0000 (11:12 -0700)]
OSD: add pg deletion cancelation
DeletingState now allows _create_lock_pg() to attempt to cancel
pg deletion.
PG::init() must mark the PG as backfill iff we stopped a deletion.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Thu, 9 May 2013 23:29:28 +0000 (16:29 -0700)]
common/sharedptr_registry.hpp: add remove
remove() can be used to clear an entry before all of its
references are removed.
Signed-off-by: Samuel Just <sam.just@inktank.com>
John Wilkins [Thu, 9 May 2013 19:49:59 +0000 (12:49 -0700)]
Merge branch 'master' of https://github.com/ceph/ceph
John Wilkins [Thu, 9 May 2013 19:48:59 +0000 (12:48 -0700)]
doc: Updated doc for connectivity. Updated text with glossary terms.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 9 May 2013 19:48:14 +0000 (12:48 -0700)]
doc: Updated disk syntax. Updated text with glossary terms.
fixes: #4933
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Sage Weil [Thu, 9 May 2013 19:47:47 +0000 (12:47 -0700)]
Merge pull request #267 from ceph/wip-coverity
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
John Wilkins [Thu, 9 May 2013 19:46:03 +0000 (12:46 -0700)]
doc: Added connectivity section. Updated doc with glossary terms.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 9 May 2013 19:22:21 +0000 (12:22 -0700)]
doc: Added the non-implemented bit for the gateway to the dev/radosgw TOC.
fixes: #4978
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Samuel Just [Thu, 9 May 2013 19:20:24 +0000 (12:20 -0700)]
OSD: don't rename pg collections, handle PGs in RemoveWQ
Signed-off-by: Samuel Just <sam.just@inktank.com>
John Wilkins [Thu, 9 May 2013 19:09:00 +0000 (12:09 -0700)]
Merge branch 'master' of https://github.com/ceph/ceph
John Wilkins [Thu, 9 May 2013 19:08:28 +0000 (12:08 -0700)]
doc: Republishing the admin operations API for the gateway.
fixes: #4978
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 9 May 2013 19:07:05 +0000 (12:07 -0700)]
doc: Republishing the admin operations API for the gateway.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
caleb miles [Fri, 5 Apr 2013 18:38:00 +0000 (14:38 -0400)]
doc: Document admin api web interface.
Signed-off-by: caleb miles <caleb.miles@inktank.com>
Sage Weil [Thu, 9 May 2013 16:45:51 +0000 (09:45 -0700)]
osd: initialize OSDService::next_notif_id
CID
1019627 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member "next_notif_id" is not initialized in this constructor nor in any functions that it calls.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 16:44:20 +0000 (09:44 -0700)]
osd: init test_ops_hook
CID
1019628 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member "test_ops_hook" is not initialized in this constructor nor in any functions that it calls.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 16:42:27 +0000 (09:42 -0700)]
rbd: fix buffer leak in do_import
CID
1019580 (#2 of 2): Resource leak (RESOURCE_LEAK)
10. leaked_storage: Variable "p" going out of scope leaks the storage it points to.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 16:40:00 +0000 (09:40 -0700)]
librbd: fix possible use-after-free
(of the pointer)
CID 966634 (#1 of 1): Use after free (USE_AFTER_FREE)
2. use_after_free: Using freed pointer "ictx".
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 15:50:33 +0000 (08:50 -0700)]
ceph-filestore-dump: fix uninit fields in ctor
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 15:50:18 +0000 (08:50 -0700)]
rgw: fix various uninit class fields
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 15:50:05 +0000 (08:50 -0700)]
radosgw-admin: fix fd leak in read_input()
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 15:49:51 +0000 (08:49 -0700)]
rados: fix fd leak
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 15:49:40 +0000 (08:49 -0700)]
rados: fix buffer leak
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 15:49:25 +0000 (08:49 -0700)]
os/Filestore: fix fd leak in error path
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 15:49:14 +0000 (08:49 -0700)]
mon: fix Formatter leak
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 15:49:07 +0000 (08:49 -0700)]
mds: fix fd leak
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 17:04:05 +0000 (10:04 -0700)]
doc/release-notes: v0.61.1 release notes
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 9 May 2013 00:45:03 +0000 (17:45 -0700)]
Merge remote-tracking branch 'gh/next'
Conflicts:
src/mon/MonitorDBStore.h
Samuel Just [Thu, 2 May 2013 21:13:07 +0000 (14:13 -0700)]
mon: dump MonitorDBStore transactions to file
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit
797089ef082b99910eebfd9454c03d1f027c93bb )
Sage Weil [Mon, 6 May 2013 21:21:28 +0000 (14:21 -0700)]
osd: optionally enable leveldb logging
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit
0b4c5c1a3349670d11cc3c4fb3c4b3c1a80b2502 )
Sage Weil [Mon, 6 May 2013 21:13:50 +0000 (14:13 -0700)]
mon: allow leveldb logging
'mon leveldb log = filename'
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit
c1d5f815546b731e10bfcb81cbcd48b7d432e9c4 )
Sage Weil [Wed, 8 May 2013 23:42:24 +0000 (16:42 -0700)]
common/Preforker: fix warnings
Signed-off-by: Sage Weil <sage@inktank.com>
Gary Lowell [Wed, 8 May 2013 23:33:05 +0000 (16:33 -0700)]
debian/control: squeeze requres cryptsetup package
Squeeze requires the cryptsetup package which has been renamed
cryptsetup-bin in later versions. Allow either package to
satisfy the dependency.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
(cherry picked from commit
83bbae415de16f708ca1cb24861ddbb0bd514a7f )
Gary Lowell [Wed, 8 May 2013 23:33:05 +0000 (16:33 -0700)]
debian/control: squeeze requres cryptsetup package
Squeeze requires the cryptsetup package which has been renamed
cryptsetup-bin in later versions. Allow either package to
satisfy the dependency.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Sage Weil [Wed, 8 May 2013 21:54:33 +0000 (14:54 -0700)]
ceph-create-keys: gracefully handle no data from admin socket
Old ceph-mon (prior to
393c9372f82ef37fc6497dd46fc453507a463d42 ) would
return an empty string and success if the command was not registered yet.
Gracefully handle that case by retrying.
If we still fail to parse, exit entirely with EINVAL.
Fixes: #4952
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@intank.com>
Sage Weil [Wed, 8 May 2013 21:35:54 +0000 (14:35 -0700)]
init-ceph: fix osd_data location when checking df utilization
Do not assume default osd data location.
Fixes: #4951
Backport: cuttlefish, bobtail
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Gary Lowelll <gary.lowell@inktank.com>
athanatos [Wed, 8 May 2013 19:15:30 +0000 (12:15 -0700)]
Merge pull request #266 from ceph/wip-4949
osd: don't assert if get_omap_iterator() returns NULL
Reviewed-by: Sam Just <sam.just@inktank.com>
Yehuda Sadeh [Wed, 8 May 2013 19:18:49 +0000 (12:18 -0700)]
osd: don't assert if get_omap_iterator() returns NULL
Fixes: #4949
This can happen if the object does not exist and it's
a write operation. Just return -ENOENT.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Sage Weil [Wed, 8 May 2013 18:44:24 +0000 (11:44 -0700)]
Merge pull request #165 from dachary/wip-4321
unit tests for FileStore::_detect_fs when running on ext4
Yehuda Sadeh [Fri, 3 May 2013 04:05:21 +0000 (21:05 -0700)]
rgw: user operation mask
Fixes: #4716
add user operation mask for controlling user permissions.
Also add admin controls for it.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Josh Durgin [Wed, 8 May 2013 18:26:04 +0000 (11:26 -0700)]
Merge pull request #180 from ceph/wip-rados-clone
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Samuel Just [Wed, 8 May 2013 18:14:11 +0000 (11:14 -0700)]
Merge branch 'wip_split_upgrade' into next
Fixes: #4927
Samuel Just [Tue, 7 May 2013 23:41:22 +0000 (16:41 -0700)]
OSD: handle stray snap collections from upgrade bug
Previously, we failed to clear snap_collections, which causes split to
spawn a bunch of snap collections. In load_pgs, we now clear any such
snap collections and then snap_collections field on the PG itself.
Related: #4927
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Samuel Just [Tue, 7 May 2013 23:35:57 +0000 (16:35 -0700)]
PG: clear snap_collections on upgrade
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Samuel Just [Tue, 7 May 2013 23:34:57 +0000 (16:34 -0700)]
OSD: snap collections can be ignored on split
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 8 May 2013 18:08:48 +0000 (11:08 -0700)]
Merge pull request #265 from ceph/wip-mon-trace
Sage Weil [Wed, 8 May 2013 18:08:16 +0000 (11:08 -0700)]
mon: set MonitorDBStore options on open
So both ctors set the options.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 8 May 2013 18:06:18 +0000 (11:06 -0700)]
Merge pull request #254 from ceph/wip-crush-rules
Reviewed-by: Joao Luis <joao.luis@inktank.com>
Sage Weil [Wed, 8 May 2013 18:05:29 +0000 (11:05 -0700)]
ceph: return error code when failing to get result from admin socket
Make sure we return a non-zero result code when we fail to read something
from the admin socket.
Backport: cuttlefish, bobtail
Signed-off-by: Sage Weil <sage@inktank.com>
Samuel Just [Thu, 2 May 2013 22:23:48 +0000 (15:23 -0700)]
ceph-monstore-tool: added replay
Samuel Just [Thu, 2 May 2013 22:19:06 +0000 (15:19 -0700)]
ceph-monstore-tool: add MonitorDBStore trace dumper
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Thu, 2 May 2013 21:13:07 +0000 (14:13 -0700)]
mon: dump MonitorDBStore transactions to file
Signed-off-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Wed, 8 May 2013 18:01:51 +0000 (11:01 -0700)]
Merge pull request #261 from ceph/wip-leveldb
Reviewed-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Wed, 8 May 2013 01:26:40 +0000 (18:26 -0700)]
doc/install/os-recs: reverse order of releases
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 8 May 2013 01:17:01 +0000 (18:17 -0700)]
Merge pull request #263 from wido/config-get
Add "config get <var>" to the admin
Reviewed-by: Sage Weil <sage@inktank.com>
John Wilkins [Wed, 8 May 2013 01:05:28 +0000 (18:05 -0700)]
doc: Fixed typos.
fixes: #4932
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 7 May 2013 23:11:29 +0000 (16:11 -0700)]
doc: Fixed typo.
fixes: #4422
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 7 May 2013 23:08:11 +0000 (16:08 -0700)]
doc: Removed "and" as suggested.
fixes: #3686
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 7 May 2013 20:48:55 +0000 (13:48 -0700)]
doc: Fixed hyperlink.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 7 May 2013 20:43:32 +0000 (13:43 -0700)]
doc: Fixed path typo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 7 May 2013 18:49:30 +0000 (11:49 -0700)]
doc: Updated OS support for Cuttlefish.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 7 May 2013 17:09:15 +0000 (10:09 -0700)]
doc: Minor tweak to the definition list style.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Samuel Just [Mon, 29 Apr 2013 18:26:26 +0000 (11:26 -0700)]
WorkQueue: Allow WorkQueueVal to be specified with 1 type
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Mon, 29 Apr 2013 18:29:30 +0000 (11:29 -0700)]
OSD: removal collections will be removed inline and not queued
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Mon, 29 Apr 2013 18:29:04 +0000 (11:29 -0700)]
OSD::clear_temp should clear snap mapper entries as well
Signed-off-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Mon, 29 Apr 2013 16:07:19 +0000 (09:07 -0700)]
PG,OSD: mark info as backfilling in _remove_pg()
Signed-off-by: Samuel Just <sam.just@inktank.com>
John Wilkins [Tue, 7 May 2013 14:58:04 +0000 (07:58 -0700)]
doc: Added glossary to TOC.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 7 May 2013 14:57:40 +0000 (07:57 -0700)]
doc: Added glossary.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Tue, 7 May 2013 14:57:16 +0000 (07:57 -0700)]
doc: Fixed usage typo.
fixes: #4923
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Sage Weil [Tue, 7 May 2013 14:30:44 +0000 (07:30 -0700)]
Merge pull request #262 from gollub/typos
fixed common typo in error messages
Wido den Hollander [Tue, 7 May 2013 12:26:15 +0000 (14:26 +0200)]
Fix whitespace indentation
Signed-off-by: Wido den Hollander <wido@42on.com>
Wido den Hollander [Tue, 7 May 2013 11:56:17 +0000 (13:56 +0200)]
Implement 'config get <var>' for the admin socket
Signed-off-by: Wido den Hollander <wido@42on.com>
Daniel Gollub [Tue, 7 May 2013 09:55:46 +0000 (11:55 +0200)]
fixed common typo in error messages
Signed-off-by: Daniel Gollub <d.gollub@telekom.de>
Sage Weil [Tue, 7 May 2013 03:16:23 +0000 (20:16 -0700)]
doc/install/{debian,rpm}: update for cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 7 May 2013 03:11:29 +0000 (20:11 -0700)]
doc/start/get-involved: fix links
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/start/get-involved.rst:33: Unknown target name: "tracker".
ERROR: /srv/autobuild-ceph/gitbuilder.git/build/doc/start/get-involved.rst:43: Unknown target name: "support".
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 7 May 2013 03:07:53 +0000 (20:07 -0700)]
doc/release-notes: I missed rgw rest api in the release notes
Mostly from here
dd19d693e6528c70167958ebc57e075200a08803
Signed-off-by: Sage Weil <sage@inktank.com>
Gary Lowell [Tue, 7 May 2013 02:51:47 +0000 (19:51 -0700)]
Merge branch 'next'
Sage Weil [Tue, 7 May 2013 00:13:15 +0000 (17:13 -0700)]
os/ObjectStore: add missing break in dump()
CID 751331 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: This case (value 35) is not terminated by a 'break' statement.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 6 May 2013 23:45:12 +0000 (16:45 -0700)]
rados: add whole-object 'clonedata' command
Clone the data stream from one object to another.
Signed-off-by: Sage Weil <sage@inktank.com>
John Wilkins [Mon, 6 May 2013 23:41:08 +0000 (16:41 -0700)]
doc: Deleted redundant "so that" phrase.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Mon, 6 May 2013 23:38:41 +0000 (16:38 -0700)]
doc: Corrected typo.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Mon, 6 May 2013 23:38:21 +0000 (16:38 -0700)]
doc: Corrected typo.
John Wilkins [Mon, 6 May 2013 23:37:50 +0000 (16:37 -0700)]
Removed comment out of header, and added "coming soon."
John Wilkins [Mon, 6 May 2013 23:37:12 +0000 (16:37 -0700)]
doc: Updated usage for push | pull.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Sage Weil [Mon, 6 May 2013 21:34:37 +0000 (14:34 -0700)]
osd: make class load errors louder
Fixes: #4639
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 6 May 2013 21:21:28 +0000 (14:21 -0700)]
osd: optionally enable leveldb logging
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 6 May 2013 21:13:50 +0000 (14:13 -0700)]
mon: allow leveldb logging
'mon leveldb log = filename'
Signed-off-by: Sage Weil <sage@inktank.com>
Gary Lowell [Mon, 6 May 2013 20:18:56 +0000 (13:18 -0700)]
v0.61
Samuel Just [Mon, 6 May 2013 17:56:50 +0000 (10:56 -0700)]
os/: default to dio for non-block journals
Workaround: #4910
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 6 May 2013 18:40:52 +0000 (11:40 -0700)]
ceph-disk: use separate lock files for prepare, activate
Use a separate lock file for prepare and activate to avoid deadlock. This
didn't seem to trigger on all machines, but in many cases, the prepare
process would take the file lock and later trigger a udev event and the
activate would then block on the same lock, either when we explicitly call
'udevadm settle --timeout=10' or when partprobe does it on our behalf
(without a timeout!). Avoid this by using separate locks for prepare
and activate. We only care if multiple activates race; it is
okay for a prepare to be in progress and for an activate to be kicked
off.
Signed-off-by: Sage Weil <sage@inktank.com>
Danny Al-Gaaf [Mon, 6 May 2013 13:42:57 +0000 (15:42 +0200)]
ceph-test.install: add ceph-monstore-tool and ceph-osdomap-tool
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Mon, 6 May 2013 13:21:56 +0000 (15:21 +0200)]
ceph.spec.in: remove twice listed ceph-coverage
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Mon, 6 May 2013 13:09:32 +0000 (15:09 +0200)]
ceph.spec: add some files to ceph
Add installed, but not packaged files to ceph-test (ceph-monstore-tool,
ceph-osdomap-tool) rpm file section.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>