]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
James Page [Tue, 21 May 2013 08:20:53 +0000 (09:20 +0100)]
Use invoke-rc.d in maintainer scripts
Upstart configurations and sysv init scripts should be started and stopped
using invoke-rc.d in maintainer scripts.
This ensures the correct behaviour across both Debian (sysv) and Ubuntu (upstart)
and in restricted environments such as schroot where start/stop of services from
maintainer scripts is normally disabled.
Signed-off-by: James Page <james.page@ubuntu.com>
Samuel Just [Mon, 20 May 2013 22:44:23 +0000 (15:44 -0700)]
PG: kill some dead IndexedLog methods
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Samuel Just [Mon, 20 May 2013 22:19:35 +0000 (15:19 -0700)]
OSD: kill old split code, it's been dead for a while
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Sage Weil [Mon, 20 May 2013 21:40:22 +0000 (14:40 -0700)]
Merge pull request #260 from ceph/wip-suppress
Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
Sage Weil [Mon, 20 May 2013 20:34:05 +0000 (13:34 -0700)]
mds: better error check on sessionmap load
Would have helped with #5104.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 20 May 2013 19:41:30 +0000 (12:41 -0700)]
mon: be a bit more verbose about osd mark down events
Put these in the cluster log; they are interesting.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 20 May 2013 16:09:25 +0000 (09:09 -0700)]
Makefile: add -Wformat-security
Clean up the formatting a bit here too.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 20 May 2013 19:22:29 +0000 (12:22 -0700)]
Merge remote-tracking branch 'gh/next'
Sage Weil [Mon, 20 May 2013 16:10:04 +0000 (09:10 -0700)]
Merge pull request #301 from javacruft/wip-upstart-tasks
Reviewed-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 20 May 2013 16:07:10 +0000 (09:07 -0700)]
Merge pull request #300 from javacruft/wip-format-security
Fix -Werror=format-security errors
Mike Kelly [Thu, 16 May 2013 16:29:50 +0000 (12:29 -0400)]
ceph df: fix si units for 'global' stats
si_t expects bytes, but it was being given kilobytes.
Signed-off-by: Mike Kelly <pioto@pioto.org>
(cherry picked from commit
0c2b738d8d07994fee4c73dd076ac9364a64bdb2 )
Sage Weil [Mon, 20 May 2013 16:05:25 +0000 (09:05 -0700)]
Merge pull request #302 from pioto/ceph-df-unit-fix
Reviewed-by: Sage Weil <sage@inktank.com>
Mike Kelly [Thu, 16 May 2013 16:29:50 +0000 (12:29 -0400)]
ceph df: fix si units for 'global' stats
si_t expects bytes, but it was being given kilobytes.
Signed-off-by: Mike Kelly <pioto@pioto.org>
James Page [Mon, 20 May 2013 09:26:06 +0000 (10:26 +0100)]
Remove stop on from upstart tasks
Upstart tasks don't have to concept of 'stop on' as they
are not long running.
James Page [Mon, 20 May 2013 09:21:16 +0000 (10:21 +0100)]
Fix -Werror=format-security errors
Fixup a couple of errors when compilng with -Werror=format-security.
Sage Weil [Sat, 18 May 2013 00:06:36 +0000 (17:06 -0700)]
libcephfs: add ceph_get_pool_name()
Convert an int pool id to a pool name. Useful for making sense of the
output from ceph_get_*_layout()'s poolid output argument.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 17 May 2013 23:59:18 +0000 (16:59 -0700)]
Merge pull request #253 from Elbandi/wip-getlayout
Reviewed-by: Sage Weil <sage@inktank.com>
John Wilkins [Fri, 17 May 2013 22:59:02 +0000 (15:59 -0700)]
doc: Added more glossary-compliant terms and indexing.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Fri, 17 May 2013 22:58:25 +0000 (15:58 -0700)]
doc: Added another instance term to the glossary.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Fri, 17 May 2013 22:56:59 +0000 (15:56 -0700)]
doc: Minor improvements to Ceph FS landing page.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Andras Elso [Fri, 17 May 2013 19:15:35 +0000 (21:15 +0200)]
libcephfs: get the pool name of a file path
Signed-off-by: Andras Elso <elso.andras@gmail.com>
Andras Elso [Mon, 6 May 2013 23:28:12 +0000 (01:28 +0200)]
libcephfs: get replication factor of a file handle/path
Signed-off-by: Andras Elso <elso.andras@gmail.com>
Andras Elso [Fri, 17 May 2013 19:40:03 +0000 (21:40 +0200)]
libcephfs: get file handle/path layout info
Signed-off-by: Andras Elso <elso.andras@gmail.com>
Andras Elso [Mon, 6 May 2013 23:24:29 +0000 (01:24 +0200)]
libcephfs: get stripe_unit/stripe_count/object_size/pool_id by file handle/path
Signed-off-by: Andras Elso <elso.andras@gmail.com>
Andras Elso [Mon, 6 May 2013 23:23:33 +0000 (01:23 +0200)]
libcephfs: fix typos
Signed-off-by: Andras Elso <elso.andras@gmail.com>
Andras Elso [Mon, 6 May 2013 23:20:37 +0000 (01:20 +0200)]
Client: get describe_layout by file handle/path
Signed-off-by: Andras Elso <elso.andras@gmail.com>
Sage Weil [Fri, 17 May 2013 16:26:25 +0000 (09:26 -0700)]
Merge pull request #295 from ceph/wip-5077
Reviewed-by: Joao Luis <joao.luis@inktank.com>
Sage Weil [Fri, 17 May 2013 16:17:18 +0000 (09:17 -0700)]
mon: add 'compact' command
As in, 'ceph mon tell \* compact'
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Luis <joao.luis@inktank.com>
Josh Durgin [Fri, 17 May 2013 15:35:10 +0000 (08:35 -0700)]
Merge pull request #296 from dalgaaf/wip-da-CID-
1021213
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Danny Al-Gaaf [Thu, 16 May 2013 13:56:12 +0000 (15:56 +0200)]
librbd/internal.cc: fix resource leak
Call release() on librados::AioCompletion to free storage before
leave the loop or call new again.
CID
1021213 (#1 of 1): Resource leak (RESOURCE_LEAK)
leaked_storage: Variable "rados_completion" going out of scope leaks
the storage it points to.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
John Wilkins [Fri, 17 May 2013 06:10:54 +0000 (23:10 -0700)]
doc: Omitted literal syntax from toc.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Fri, 17 May 2013 06:10:32 +0000 (23:10 -0700)]
doc: Added fuse syntax to the fstab doc.
fixes: #3672
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Sage Weil [Fri, 17 May 2013 03:39:56 +0000 (20:39 -0700)]
Merge branch 'next'
Sage Weil [Fri, 17 May 2013 03:37:05 +0000 (20:37 -0700)]
sysvinit: fix enumeration of local daemons when specifying type only
- prepend $local to the $allconf list at the top
- remove $local special case for all case
- fix the type prefix checks to explicitly check for prefixes
Fugly bash, but works!
Backport: cuttlefish, bobtail
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
Sage Weil [Fri, 17 May 2013 01:40:29 +0000 (18:40 -0700)]
udev: install disk/by-partuuid rules
Wheezy's udev (175-7.2) has broken rules for the /dev/disk/by-partuuid/
symlinks that ceph-disk relies on. Install parallel rules that work. On
new udev, this is harmless; old older udev, this will make life better.
Fixes: #4865
Backport: cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 17 May 2013 00:58:48 +0000 (17:58 -0700)]
mon: clear pg delta after some period
If we have not pg_map updates, the delta doesn't update, and can get stuck
with the velocity right before activity stopped. This is confusing, and
can cause incorrect health warnings about in-progress recovery.
To fix this, zero the delta if there is no activity for
'mon delta reset interval' seconds.
Fixes: #5077
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 16 May 2013 23:06:25 +0000 (16:06 -0700)]
os/FileStore: fix replay guard error msgs (again)
Signed-off-by: Sage Weil <sage@inktank.com>
Samuel Just [Thu, 16 May 2013 20:00:32 +0000 (13:00 -0700)]
test_filestore_idempotent_sequence: unmount prior to deleting store
FileStoreDiff umounts the stores in its destructor.
Also, DeterministicOpSequence handles deletes its passed
object store.
Fixes: #5076
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Samuel Just [Thu, 16 May 2013 19:49:35 +0000 (12:49 -0700)]
Revert "test_filejournal.cc: cleanup memory in destructor"
The finish() method for Contexts calls delete this.
This reverts commit
36028916c4630ea66007760efed8fc6c441e7af5 .
Fixes: #5075
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: David Zafman <david.zafman@inktank.com>
Sage Weil [Thu, 16 May 2013 22:28:17 +0000 (15:28 -0700)]
os/FileStore: print error code to log on replay guard failure
Signed-off-by: Sage Weil <sage@inktank.com>
John Wilkins [Thu, 16 May 2013 20:59:49 +0000 (13:59 -0700)]
doc: Added index reference.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 16 May 2013 20:59:29 +0000 (13:59 -0700)]
doc: Added glossary references and index references.
fixes: #3321
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 16 May 2013 20:57:53 +0000 (13:57 -0700)]
doc: Added cluster map and CRUSH definitions.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 16 May 2013 20:57:23 +0000 (13:57 -0700)]
doc: Fixing index references.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Thu, 16 May 2013 20:56:06 +0000 (13:56 -0700)]
doc: Added latency comment.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Sage Weil [Thu, 16 May 2013 20:17:45 +0000 (13:17 -0700)]
debian: make radosgw require matching version of librados2
...indirectly via ceph-common. We get bad behavior when they diverge, I
think because of libcommon.la being linked both statically and dynamically.
Fixes: #4997
Backport: cuttlefish, bobtail
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
Sage Weil [Thu, 16 May 2013 20:10:50 +0000 (13:10 -0700)]
Merge pull request #291 from dalgaaf/wip-da-CID-
1019548
client/Client.cc: fix/silence "logically dead code" CID-Error
Even money that this satisfies the coverity gods...
Reviewed-by: Sage Weil <sage@inktank.com>
Samuel Just [Tue, 14 May 2013 23:35:48 +0000 (16:35 -0700)]
FileJournal: adjust write_pos prior to unlocking write_lock
In committed_thru, we use write_pos to reset the header.start value in cases
where seq is past the end of our journalq. It is therefore important that the
journalq be updated atomically with write_pos (that is, under the write_lock).
The call to align_bl() is moved into do_write in order to ensure that write_pos
is adjusted correctly prior to write_bl().
Also, we adjust pos at the end of write_bl() such that pos \in [get_top(),
header.max_size) after write_bl().
Fixes: #5020
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Danny Al-Gaaf [Thu, 16 May 2013 17:49:06 +0000 (19:49 +0200)]
client/Client.cc: fix/silence "logically dead code" CID-Error
Fix handling of 'safe' and the conditions after calling file_flush().
CID
1019548 (#1 of 1): Logically dead code (DEADCODE)
dead_error_begin: Execution cannot reach this statement "flock.Unlock();"
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Sage Weil [Thu, 16 May 2013 16:42:11 +0000 (09:42 -0700)]
mds: avoid assert after suicide()
Fixes: #5079
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 16 May 2013 16:14:19 +0000 (09:14 -0700)]
Merge pull request #290 from dalgaaf/wip-da-SCA-cppcheck-v2
Reviewed-by: Sage Weil <sage@inktank.com>
rgw bits Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Danny Al-Gaaf [Wed, 15 May 2013 13:38:43 +0000 (15:38 +0200)]
objclass/class_debug.cc: reduce scope of 'n' in cls_log()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 13:01:24 +0000 (15:01 +0200)]
tools/ceph-filestore-dump.cc: reduce scope of 'r' in export_files()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 13:00:53 +0000 (15:00 +0200)]
test/system/systest_runnable.cc: reduce scope of 'ret' in join()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 13:00:19 +0000 (15:00 +0200)]
test/system/st_rados_list_objects.cc: reduce scope of 'ret' in run()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:59:34 +0000 (14:59 +0200)]
test/system/st_rados_create_pool.cc_ reduce scope of 'ret' in run()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:59:11 +0000 (14:59 +0200)]
test/system/rados_list_parallel.cc: reduce scope of 'ret'
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:58:46 +0000 (14:58 +0200)]
test/librbd/test_librbd.cc: reduce scope of several variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:57:10 +0000 (14:57 +0200)]
rgw/rgw_tools.cc: reduce scope of 'ret' in rgw_get_obj()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:56:27 +0000 (14:56 +0200)]
rgw/rgw_common.cc: reduce scope of 'end' in two cases
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:21:34 +0000 (14:21 +0200)]
rgw/rgw_bucket.cc: reduce scope of 'max' in rgw_remove_bucket()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:20:58 +0000 (14:20 +0200)]
rgw/rgw_admin.cc: reduce scope of 'ret'
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:16:51 +0000 (14:16 +0200)]
rgw/rgw_acl_s3.cc: remove local variable 'ret' from create_from_headers()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:15:23 +0000 (14:15 +0200)]
rbd_fuse/rbd-fuse.c: reduce scope of some variables in open_rbd_image()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:07:52 +0000 (14:07 +0200)]
osdc/Objecter.cc: reduce scope of skipped_map
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:06:42 +0000 (14:06 +0200)]
os/chain_xattr.cc: reduce scope of local variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:06:16 +0000 (14:06 +0200)]
src/os/LFNIndex.cc: reduce scope of suffix_len
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:05:40 +0000 (14:05 +0200)]
os/HashIndex.cc: reduce scope of a local variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 15 May 2013 12:05:10 +0000 (14:05 +0200)]
os/FileStore.cc: reduce scope of a local variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 14 May 2013 18:13:54 +0000 (20:13 +0200)]
src/os/FlatIndex.cc: reduce scope of suffix_len
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 14 May 2013 18:12:31 +0000 (20:12 +0200)]
src/os/DBObjectMap.cc: reduce scope of some variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 14 May 2013 18:07:04 +0000 (20:07 +0200)]
mount/mount.ceph.c: reduce scope of 'skip' in parse_options()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 14 May 2013 18:04:22 +0000 (20:04 +0200)]
src/mds/flock.cc: reduce scope of old_lock_to_end in two cases
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 14 May 2013 18:02:06 +0000 (20:02 +0200)]
mds/Locker.cc: reduce scope of forced_change_max
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 16 May 2013 12:15:13 +0000 (14:15 +0200)]
src/crush/mapper.c: reduce scope of some local variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Tue, 14 May 2013 17:54:21 +0000 (19:54 +0200)]
auth/Crypto.cc: reduce scope of local variable in_buf
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Mon, 13 May 2013 17:50:43 +0000 (19:50 +0200)]
rgw/rgw_rados.cc: remove not needed code
Fix for cppcheck warning:
[src/rgw/rgw_rados.cc:2390]: (warning) Assignment of function
parameter has no effect outside the function.
Assignment of if_nomatch_str.c_str() to if_nomatch has no
effect outside the function and the functions isn't used
inside the function after the assignment.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 16 May 2013 12:10:42 +0000 (14:10 +0200)]
rgw/rgw_gc.cc: fix possible NULL pointer dereference
Fix/silence cppcheck warning:
[src/rgw/rgw_gc.cc:185] -> [src/rgw/rgw_gc.cc:181]: (error) Possible
null pointer dereference: ctx - otherwise it is redundant to check
it against null.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Sat, 11 May 2013 19:54:54 +0000 (21:54 +0200)]
osd/OSD.cc: remove unused variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Li Wang [Wed, 15 May 2013 14:56:04 +0000 (22:56 +0800)]
Fix some little/big endian issues
Ceph uses little endian, this patch fixes some endian issues
while Ceph running on big endian machine.
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
Sage Weil [Thu, 16 May 2013 06:02:10 +0000 (23:02 -0700)]
Makefle: force char to be signed
On an armv7l build, we see errors like
warning: rgw/rgw_common.cc:626:16: comparison is always false due to limited range of data type [-Wtype-limits]
from code
char c1 = hex_to_num(*src++);
...
if (c1 < 0)
Force char to be signed (regardless of any weird architecture's default)
to avoid risk of this leading to misbehavior.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
David Zafman [Thu, 16 May 2013 00:18:41 +0000 (17:18 -0700)]
Merge branch 'wip-4783'
Reviewed-by: Sam Just <sam.just@inktank.com>
David Zafman [Wed, 15 May 2013 02:22:18 +0000 (19:22 -0700)]
OSD: After repairs finish a new deep-scrub should be avoided
When errors fixed, clear them so pg not inconsistent and no deep-scrub needed
In the rare case of incomplete repair, still do deep-scrub to get new error counts
fixes: #4783
Signed-off-by: David Zafman <david.zafman@inktank.com>
David Zafman [Wed, 15 May 2013 20:22:29 +0000 (13:22 -0700)]
OSD: Repair with 0 fixed doesn't complete properly
Queue DoRecovery() event on any repair
Signed-off-by: David Zafman <david.zafman@inktank.com>
Sage Weil [Wed, 15 May 2013 15:46:20 +0000 (08:46 -0700)]
doc: fix mkcephfs production use, deprecated note
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 15 May 2013 00:06:53 +0000 (17:06 -0700)]
Merge pull request #279 from ceph/wip-libcephfs-env
Reviewed-by: Greg Farnum <greg@inktank.com>
John Wilkins [Wed, 15 May 2013 00:06:12 +0000 (17:06 -0700)]
Added OSD to glossary, removed parenthetical.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
John Wilkins [Wed, 15 May 2013 00:05:43 +0000 (17:05 -0700)]
doc: Updated architecture document.
fixes: #2968
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
David Zafman [Tue, 14 May 2013 23:38:50 +0000 (16:38 -0700)]
Merge branch 'wip-5049'
Reviewed-by: Sam Just <sam.just@inktank.com>
David Zafman [Tue, 14 May 2013 07:57:05 +0000 (00:57 -0700)]
OSD: scrub interval checking
Do arithmetic so large intervals don't wrap
Fix log messages to reflect the change and improve output
Add message when skipping scrub due to load
fixes: #5049
Signed-off-by: David Zafman <david.zafman@inktank.com>
David Zafman [Tue, 14 May 2013 06:26:54 +0000 (23:26 -0700)]
OSD: Don't scrub newly created PGs until min interval
Set initial values for last_scrub_stamp, last_deep_scrub_stamp
fixes: #5050, #5051
Signed-off-by: David Zafman <david.zafman@inktank.com>
Sage Weil [Tue, 14 May 2013 23:02:20 +0000 (16:02 -0700)]
doc/release-notes: v0.62
Signed-off-by: Sage Weil <sage@inktank.com>
Gary Lowell [Tue, 14 May 2013 22:38:24 +0000 (15:38 -0700)]
Merge branch 'next'
athanatos [Tue, 14 May 2013 22:28:45 +0000 (15:28 -0700)]
Merge pull request #283 from dachary/wip-5058
internal documentation proofreading
Reviewed-by: Sam Just <sam.just@inktank.com>
Sage Weil [Tue, 14 May 2013 21:02:27 +0000 (14:02 -0700)]
doc/rados/configuration: fix [mon] osd min down report* config docs
Fix other osd -> mon section name, and note the old config value name prior
to v0.62.
Fixes: #5044.
Signed-off-by: Sage Weil <sage@inktank.com>
Loic Dachary [Tue, 14 May 2013 13:29:03 +0000 (15:29 +0200)]
reflect recent changes in the pg deletion logic
No need to wait on DeletingStateRef for flush https://github.com/ceph/ceph/commit/
d3dd99b725afaa026fe6f700ddc14a7f657f2170
Fix typos
http://tracker.ceph.com/issues/5058 refs #5058
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 14 May 2013 10:06:21 +0000 (12:06 +0200)]
fix typos and add hyperlink to peering
s/;/:/
s/up_acting_affected/acting_up_affected/
Add relative link to ../../peering
http://tracker.ceph.com/issues/5058 refs #5058
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 14 May 2013 09:15:11 +0000 (11:15 +0200)]
typo s/come/some/
http://tracker.ceph.com/issues/5058 refs #5058
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 14 May 2013 08:52:40 +0000 (10:52 +0200)]
update op added to a waiting queue or discarded
The decision to discard an op happens either in OSD or in PG.
The operation queue goes to a single OpWQ object if waiting_map does not impose a delay op_queue.
The decision to add an op to a waiting queue regardless of its type is updated.
The decision to add a CEPH_MSG_OSD_OP to a waiting queue is described in full.
http://tracker.ceph.com/issues/5058 refs #5058
Signed-off-by: Loic Dachary <loic@dachary.org>
Sage Weil [Tue, 14 May 2013 17:31:27 +0000 (10:31 -0700)]
md/Sever.cc: fix straydn assert
From
fb222a0a1c98a4141b6d0e79eac7a41c208f7147 , we only know straydn is
non-null if oldin is non-null.
Signed-off-by: Sage Weil <sage@inktank.com>