]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agotools: skip up to expire_pos in journal-tool 2853/head
John Spray [Mon, 3 Nov 2014 19:19:45 +0000 (19:19 +0000)]
tools: skip up to expire_pos in journal-tool

Previously worked for journals starting from an
object boundary (i.e. freshly created filesystems)

Fixes: #9977
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoceph.in: remove '--' from injectargs, if there, as well
Dan Mick [Fri, 31 Oct 2014 23:25:49 +0000 (16:25 -0700)]
ceph.in: remove '--' from injectargs, if there, as well

Fixes: #9976
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Dan Mick <dan.mick@redhat.com>
10 years agomsg/Pipe: discard delay queue before incoming queue
Sage Weil [Wed, 29 Oct 2014 21:45:11 +0000 (14:45 -0700)]
msg/Pipe: discard delay queue before incoming queue

Shutdown the delayed delivery before the incoming queue in case the
DelayedDelivery thread is busy queuing messages.

Fixes: #9910
Signed-off-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
10 years agoMerge tag 'v0.87'
Sage Weil [Wed, 29 Oct 2014 20:50:24 +0000 (13:50 -0700)]
Merge tag 'v0.87'

v0.87

10 years agoMerge pull request #2829 from ceph/wip-doc-fs-quickstart
Sage Weil [Wed, 29 Oct 2014 20:08:52 +0000 (13:08 -0700)]
Merge pull request #2829 from ceph/wip-doc-fs-quickstart

doc: include 'fs new' stuff in cephfs quickstart

10 years agoMerge pull request #2828 from Vicente-Cheng/master
Josh Durgin [Wed, 29 Oct 2014 19:16:08 +0000 (12:16 -0700)]
Merge pull request #2828 from Vicente-Cheng/master

rbd: Fix the rbd export when image size more than 2G

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
10 years ago0.87 v0.87
Jenkins [Wed, 29 Oct 2014 18:03:55 +0000 (11:03 -0700)]
0.87

10 years agodoc: include 'fs new' stuff in cephfs quickstart 2829/head
John Spray [Wed, 29 Oct 2014 10:57:09 +0000 (10:57 +0000)]
doc: include 'fs new' stuff in cephfs quickstart

Not sure how 'quick' this really is now compared with
the full filesystem instructions, but let's not leave
it incomplete.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agorbd: Fix the rbd export when image size more than 2G 2828/head
Vicente Cheng [Wed, 29 Oct 2014 04:21:11 +0000 (12:21 +0800)]
rbd: Fix the rbd export when image size more than 2G

When using export <image-name> <path> and the size of image is more
than 2G, the previous version about finish() could not handle in
seeking the offset in image and return error.

This is caused by the incorrect variable type. Try to use the correct
variable type to fixed it.

I use another variable which type is uint64_t for confirming seeking
and still use the previous r for return error.

uint64_t is more better than type int for handle lseek64().

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
10 years agoMerge pull request #2823 from dachary/wip-9919-injectargs-side-effects
Sage Weil [Wed, 29 Oct 2014 00:03:17 +0000 (17:03 -0700)]
Merge pull request #2823 from dachary/wip-9919-injectargs-side-effects

qa: avoid qa/workunits/cephtool/test.sh unstability

Backport: giant, firefly
Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoqa: avoid qa/workunits/cephtool/test.sh unstability 2823/head
Loic Dachary [Tue, 28 Oct 2014 21:09:58 +0000 (22:09 +0100)]
qa: avoid qa/workunits/cephtool/test.sh unstability

For testing injectargs a configuration option was changed that has side
effects on the cluster. It could introduce random failures later. It is
replaced with a configuration option that cannot have adverse side
effects on the cluster.

http://tracker.ceph.com/issues/9919 Fixes: #9919

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
10 years agoMerge remote-tracking branch 'origin/giant'
Josh Durgin [Tue, 28 Oct 2014 20:10:52 +0000 (13:10 -0700)]
Merge remote-tracking branch 'origin/giant'

10 years agoMerge remote-tracking branch 'origin/wip-9806-giant' into giant
Josh Durgin [Tue, 28 Oct 2014 20:08:05 +0000 (13:08 -0700)]
Merge remote-tracking branch 'origin/wip-9806-giant' into giant

Reviewed-by: Samuel Just <sam.just@inktank.com>
10 years agoMerge pull request #2809 from ceph/wip-9800
John Spray [Tue, 28 Oct 2014 12:29:29 +0000 (12:29 +0000)]
Merge pull request #2809 from ceph/wip-9800

client: allow xattr caps in inject_release_failure

Reviewed-by: Greg Farnum <greg@inktank.com>
10 years agoclient: allow xattr caps in inject_release_failure 2809/head
John Spray [Mon, 27 Oct 2014 12:02:17 +0000 (12:02 +0000)]
client: allow xattr caps in inject_release_failure

Because some test environments generate spurious
rmxattr operations, allow the client to release
'X' caps.  Allows xattr operations to proceed
while still preventing client releasing other caps.

Fixes: #9800
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #2818 from hjwsm1989/master
Loic Dachary [Tue, 28 Oct 2014 07:28:17 +0000 (08:28 +0100)]
Merge pull request #2818 from hjwsm1989/master

  Fix the match error when starting OSD daemons.

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
10 years ago Fix the match error when starting OSD daemons. 2818/head
huangjun [Tue, 28 Oct 2014 07:05:37 +0000 (15:05 +0800)]
  Fix the match error when starting OSD daemons.
  If we have osd.7 and osd.77 on the same host, osd.7 will not be mounted if
  osd.77 is mounted.
Signed-off-by: huangjun <hjwsm1989@gmail.com>
10 years agoMerge pull request #2815 from wonzhq/evict-atime
Sage Weil [Tue, 28 Oct 2014 02:44:37 +0000 (19:44 -0700)]
Merge pull request #2815 from wonzhq/evict-atime

osd: cache tiering: fix the atime logic of the eviction

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoosd: cache tiering: fix the atime logic of the eviction 2815/head
Zhiqiang Wang [Tue, 28 Oct 2014 01:37:11 +0000 (09:37 +0800)]
osd: cache tiering: fix the atime logic of the eviction

Reported-by: Xinze Chi <xmdxcxz@gmail.com>
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
10 years agoMerge pull request #2786 from ceph/wip-9869
Yan, Zheng [Tue, 28 Oct 2014 01:32:14 +0000 (18:32 -0700)]
Merge pull request #2786 from ceph/wip-9869

client: cast m->get_client_tid() to compare to 16-bit Inode::flushing_cap_tid

10 years agoclient: cast m->get_client_tid() to compare to 16-bit Inode::flushing_cap_tid 2786/head
Greg Farnum [Thu, 23 Oct 2014 00:16:31 +0000 (17:16 -0700)]
client: cast m->get_client_tid() to compare to 16-bit Inode::flushing_cap_tid

m->get_client_tid() is 64 bits (as it should be), but Inode::flushing_cap_tid
is only 16 bits. 16 bits should be plenty to let the cap flush updates
pipeline appropriately, but we need to cast in the proper direction when
comparing these differently-sized versions. So downcast the 64-bit one
to 16 bits.

Fixes: #9869
Backport: giant, firefly, dumpling

Signed-off-by: Greg Farnum <greg@inktank.com>
10 years agoMerge pull request #2802 from dachary/wip-mailmap
Danny Al-Gaaf [Mon, 27 Oct 2014 21:53:07 +0000 (22:53 +0100)]
Merge pull request #2802 from dachary/wip-mailmap

mailmap: Federico Gimenez affiliation

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agounittest_shared_cache: fix build line
Sage Weil [Mon, 27 Oct 2014 20:37:45 +0000 (13:37 -0700)]
unittest_shared_cache: fix build line

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge remote-tracking branch 'gh/giant'
Sage Weil [Mon, 27 Oct 2014 20:33:48 +0000 (13:33 -0700)]
Merge remote-tracking branch 'gh/giant'

Conflicts:
src/test/common/test_shared_cache.cc

10 years agodoc/release-notes: giant notes
Sage Weil [Mon, 27 Oct 2014 20:29:12 +0000 (13:29 -0700)]
doc/release-notes: giant notes

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2630 from ceph/wip-9545
Samuel Just [Mon, 27 Oct 2014 20:20:16 +0000 (13:20 -0700)]
Merge pull request #2630 from ceph/wip-9545

os/FileStore: do not loop in sync_entry on shutdown

Reviewed-by: Samuel Just <sam.just@inktank.com>
10 years agorgw_rest_client.cc: remove self assignment of new_info.effective_uri
Danny Al-Gaaf [Thu, 23 Oct 2014 17:52:14 +0000 (19:52 +0200)]
rgw_rest_client.cc: remove self assignment of new_info.effective_uri

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge branch 'wip-da-SCA-20141025'
Sage Weil [Mon, 27 Oct 2014 19:44:34 +0000 (12:44 -0700)]
Merge branch 'wip-da-SCA-20141025'

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agotest/librbd/fsx.c: fix indentation (NESTING_INDENT_MISMATCH)
Danny Al-Gaaf [Mon, 27 Oct 2014 17:24:36 +0000 (18:24 +0100)]
test/librbd/fsx.c: fix indentation (NESTING_INDENT_MISMATCH)

Fix indentation to the same as the original fsx.c .

Fix for Coverity issue:

CID 1219473 (#1-2 of 2): Nesting level does not match indentation
(NESTING_INDENT_MISMATCH)
 uncle: This statement is indented to column 25, as if it were
 nested within the preceding parent statement, but it is not.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agolibradosstriper/striping.cc: fix strdup memory leaks
Danny Al-Gaaf [Mon, 27 Oct 2014 17:08:13 +0000 (18:08 +0100)]
libradosstriper/striping.cc: fix strdup memory leaks

Fix memory leak caused by using std::string to hold result
of strdup call returned from getObjName().

Fix for Coverity issues:

CID 1221525 (#1 of 1): Resource leak (RESOURCE_LEAK)
 leaked_storage: Failing to save or free storage allocated by
 this->getObjName(soid, 0UL) leaks it.

CID 1221526 (1-3 of 3): Resource leak (RESOURCE_LEAK)
 leaked_storage: Failing to save or free storage allocated by
 this->getObjName(soid, *) leaks it.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agotest/libradosstriper/striping.cc: fix wrong indentation
Danny Al-Gaaf [Mon, 27 Oct 2014 12:26:07 +0000 (13:26 +0100)]
test/libradosstriper/striping.cc: fix wrong indentation

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agomsg/async/Event.cc: use static_cast instead of c-style cast
Danny Al-Gaaf [Mon, 27 Oct 2014 11:01:56 +0000 (12:01 +0100)]
msg/async/Event.cc: use static_cast instead of c-style cast

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw/rgw_formats.cc: fix realloc memory leak
Danny Al-Gaaf [Mon, 27 Oct 2014 10:09:01 +0000 (11:09 +0100)]
rgw/rgw_formats.cc: fix realloc memory leak

Fix handling of realloc. If realloc() fails it returns NULL, assigning
the return value of realloc() directly to the pointer without checking
for the result will lead to a memory leak in error case.

Use a temporary pointer to hold the result of realloc(). In error case
print error and exit, otherwise assign it to the pointer we want to realloc.

Fix also error checks for malloc to fail as soon as malloc fails and
don't try to run realloc again after failed malloc.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoarch/neon.c: check result of fread()
Danny Al-Gaaf [Sun, 26 Oct 2014 19:56:25 +0000 (20:56 +0100)]
arch/neon.c: check result of fread()

Fix for:

CID 1128384 (#1 of 1): Ignoring number of bytes read (CHECKED_RETURN)
 check_return: fread(void * restrict, size_t, size_t, FILE * restrict)
 returns the number of bytes read, but it is ignored.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agocls_rgw_client.cc: fix potential null pointer deref
Danny Al-Gaaf [Sun, 26 Oct 2014 17:28:50 +0000 (18:28 +0100)]
cls_rgw_client.cc: fix potential null pointer deref

Fix for:

CID 1054853 (#1 of 1): Dereference before null check (REVERSE_INULL)
 check_after_deref: Null-checking is_truncated suggests that it may
 be null, but it has already been dereferenced on all paths leading
 to the check.

Add vim line to file.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoSyntheticClient.cc: check return value of getdir()
Danny Al-Gaaf [Sun, 26 Oct 2014 17:19:58 +0000 (18:19 +0100)]
SyntheticClient.cc: check return value of getdir()

Check return value as done in all other places. Fix error messages
to print correct function name getdir and not read_dir/readdir since
the error isn't necessarily raised by read_dir().

Fix for:
CID 1219463 (#1 of 1): Unchecked return value (CHECKED_RETURN)
 check_return: Calling getdir without checking return value (as
 is done elsewhere 4 out of 5 times).

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoSyntheticClient.cc: remove empty lines in if/else blocks
Danny Al-Gaaf [Sun, 26 Oct 2014 17:13:59 +0000 (18:13 +0100)]
SyntheticClient.cc: remove empty lines in if/else blocks

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agotest_rbd_replay.cc: fix va_list parameter handling
Danny Al-Gaaf [Sun, 26 Oct 2014 17:07:48 +0000 (18:07 +0100)]
test_rbd_replay.cc: fix va_list parameter handling

Fix for:

[src/test/test_rbd_replay.cc:193]: (portability) Passing NULL after the
last typed argument to a variadic function leads to undefined behaviour.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoAsyncConnection.cc: prefer ++operator for non-primitive iterators
Danny Al-Gaaf [Sat, 25 Oct 2014 08:44:16 +0000 (10:44 +0200)]
AsyncConnection.cc: prefer ++operator for non-primitive iterators

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agomon_store_converter.cc: move convert() call out of assert()
Danny Al-Gaaf [Thu, 23 Oct 2014 17:56:47 +0000 (19:56 +0200)]
mon_store_converter.cc: move convert() call out of assert()

The convert() call is changing data. To prevent Heisenbugs
depending in NDEBUG definition (e.g. if debug is off).

Move convert() call out of the assert call and use assert
only on the result value of the call.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agotest_str_map.cc: remove unused variable
Danny Al-Gaaf [Thu, 23 Oct 2014 17:56:29 +0000 (19:56 +0200)]
test_str_map.cc: remove unused variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw/rgw_rest_user.cc: reduce scope of key_type
Danny Al-Gaaf [Thu, 23 Oct 2014 17:55:55 +0000 (19:55 +0200)]
rgw/rgw_rest_user.cc: reduce scope of key_type

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw/rgw_rest_swift.cc: use empty() instead of size()
Danny Al-Gaaf [Thu, 23 Oct 2014 17:54:02 +0000 (19:54 +0200)]
rgw/rgw_rest_swift.cc: use empty() instead of size()

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw/rgw_rest_s3.cc: use !empty() instead of size() > 0
Danny Al-Gaaf [Thu, 23 Oct 2014 17:53:02 +0000 (19:53 +0200)]
rgw/rgw_rest_s3.cc: use !empty() instead of size() > 0

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoMerge pull request #2805 from xinxinsh/wip-check-trimmed-pg-log
Sage Weil [Mon, 27 Oct 2014 18:04:23 +0000 (11:04 -0700)]
Merge pull request #2805 from xinxinsh/wip-check-trimmed-pg-log

check to_remove before setting transaction

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2808 from ceph/wip-crush-link-id
Sage Weil [Mon, 27 Oct 2014 18:03:53 +0000 (11:03 -0700)]
Merge pull request #2808 from ceph/wip-crush-link-id

mon: fix `osd crush link` id resolution

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2589 from majianpeng/bug-fix
Sage Weil [Mon, 27 Oct 2014 18:02:30 +0000 (11:02 -0700)]
Merge pull request #2589 from majianpeng/bug-fix

Clock: Using clock_gettime instead of gettimeofday in linux os.

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2806 from zhouyuan/lrc_dead_code
Loic Dachary [Mon, 27 Oct 2014 16:06:12 +0000 (17:06 +0100)]
Merge pull request #2806 from zhouyuan/lrc_dead_code

Remove dead code in EC LRC plugin

Reviewed-by: Loic Dachary <loic-201408@dachary.org>
10 years agomon: fix `osd crush link` id resolution 2808/head
John Spray [Mon, 27 Oct 2014 10:50:54 +0000 (10:50 +0000)]
mon: fix `osd crush link` id resolution

A junk value for ID was falling through from
the outer scope.  Rename the outer one to
`osdid` and look up `id` explicitly in crush link.

For a bonus also add an error string for when
link_bucket returns an error (previously
would get plain "Error EINVAL")

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoRemove dead code in EC LRC plugin 2806/head
Yuan Zhou [Mon, 27 Oct 2014 07:08:12 +0000 (15:08 +0800)]
Remove dead code in EC LRC plugin

The layer_minimum_to_decode() seems to be dead.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
10 years agocheck to_remove before setting transaction 2805/head
xinxin shu [Sun, 26 Oct 2014 21:25:54 +0000 (05:25 +0800)]
check to_remove before setting transaction

currently if you dump transaction for a single rbd write, a transaction
of OMAP_RMKEYS will be listed even if to_remove is empty.

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
10 years agoMerge pull request #2800 from ceph/wip-enoent-race
João Eduardo Luís [Sun, 26 Oct 2014 18:58:50 +0000 (18:58 +0000)]
Merge pull request #2800 from ceph/wip-enoent-race

os/LevelDBStore, RocksDBStore: fix race handling for get store size

Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
10 years agorgw/rgw_rados.cc: remove unused variable 'objs'
Danny Al-Gaaf [Thu, 23 Oct 2014 17:51:33 +0000 (19:51 +0200)]
rgw/rgw_rados.cc: remove unused variable 'objs'

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoosd/ReplicatedPG.cc: use !empty() instead of size() > 0
Danny Al-Gaaf [Thu, 23 Oct 2014 17:50:10 +0000 (19:50 +0200)]
osd/ReplicatedPG.cc: use !empty() instead of size() > 0

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoPGLog.cc: reduce scope of variable
Danny Al-Gaaf [Thu, 23 Oct 2014 17:49:30 +0000 (19:49 +0200)]
PGLog.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agocommon/escape.c: add cppcheck-suppress
Danny Al-Gaaf [Thu, 23 Oct 2014 17:48:57 +0000 (19:48 +0200)]
common/escape.c: add cppcheck-suppress

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agofuse_ll.cc: use reinterpret_cast instead of c-style cast
Danny Al-Gaaf [Thu, 23 Oct 2014 17:48:21 +0000 (19:48 +0200)]
fuse_ll.cc: use reinterpret_cast instead of c-style cast

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoJournalScanner.cc: reduce scope of local variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:58:45 +0000 (10:58 +0200)]
JournalScanner.cc: reduce scope of local variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agotest_disk_bw.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:57:43 +0000 (10:57 +0200)]
test_disk_bw.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoobjectstore/store_test.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:56:50 +0000 (10:56 +0200)]
objectstore/store_test.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoTestErasureCodeIsa.cc: reduce scope of 'err' variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:51:30 +0000 (10:51 +0200)]
TestErasureCodeIsa.cc: reduce scope of 'err' variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoTestCrushWrapper.cc: reduce scope of variabele
Danny Al-Gaaf [Wed, 22 Oct 2014 08:50:48 +0000 (10:50 +0200)]
TestCrushWrapper.cc: reduce scope of variabele

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agotest_sharedptr_registry.cc: reduce scope of local variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:50:15 +0000 (10:50 +0200)]
test_sharedptr_registry.cc: reduce scope of local variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agotest_shared_cache.cc: reduce scope of local variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:49:33 +0000 (10:49 +0200)]
test_shared_cache.cc: reduce scope of local variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoTestSignalHandlers.cc: add cppcheck-suppress nullPointer
Danny Al-Gaaf [Wed, 22 Oct 2014 08:49:02 +0000 (10:49 +0200)]
TestSignalHandlers.cc: add cppcheck-suppress nullPointer

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorgw_rest_user.cc: reduce scope of key_type in several places
Danny Al-Gaaf [Wed, 22 Oct 2014 08:48:23 +0000 (10:48 +0200)]
rgw_rest_user.cc: reduce scope of key_type in several places

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agorbd-replay-prep.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:47:29 +0000 (10:47 +0200)]
rbd-replay-prep.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoosd/ReplicatedPG.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:46:43 +0000 (10:46 +0200)]
osd/ReplicatedPG.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoosd/PGLog.cc: reduce scope of variable, remove not needed code
Danny Al-Gaaf [Wed, 22 Oct 2014 08:44:13 +0000 (10:44 +0200)]
osd/PGLog.cc: reduce scope of variable, remove not needed code

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoosd/PG.h: add cppcheck-suppress
Danny Al-Gaaf [Wed, 22 Oct 2014 08:28:24 +0000 (10:28 +0200)]
osd/PG.h: add cppcheck-suppress

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoos/chain_xattr.cc: reduce scope of some variables
Danny Al-Gaaf [Wed, 22 Oct 2014 08:27:51 +0000 (10:27 +0200)]
os/chain_xattr.cc: reduce scope of some variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoos/KeyValueStore.cc: reduce scope of variables
Danny Al-Gaaf [Wed, 22 Oct 2014 08:27:19 +0000 (10:27 +0200)]
os/KeyValueStore.cc: reduce scope of variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoos/HashIndex.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:26:52 +0000 (10:26 +0200)]
os/HashIndex.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agomon/OSDMonitor.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:26:19 +0000 (10:26 +0200)]
mon/OSDMonitor.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agomds/Server.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:25:47 +0000 (10:25 +0200)]
mds/Server.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agomds/MDS.cc: remove unused local variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:25:05 +0000 (10:25 +0200)]
mds/MDS.cc: remove unused local variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoErasureCodeLrc.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:24:17 +0000 (10:24 +0200)]
ErasureCodeLrc.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoErasureCodeIsa.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:23:21 +0000 (10:23 +0200)]
ErasureCodeIsa.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoErasureCodePlugin.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:22:46 +0000 (10:22 +0200)]
ErasureCodePlugin.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agocls_rbd_client.cc: reduce scope of variable
Danny Al-Gaaf [Wed, 22 Oct 2014 08:22:15 +0000 (10:22 +0200)]
cls_rbd_client.cc: reduce scope of variable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agomailmap: Federico Gimenez affiliation 2802/head
Loic Dachary [Sat, 25 Oct 2014 23:50:50 +0000 (16:50 -0700)]
mailmap: Federico Gimenez affiliation

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
10 years agoMerge pull request #2753 from dachary/wip-mailmap
Loic Dachary [Sat, 25 Oct 2014 23:44:31 +0000 (16:44 -0700)]
Merge pull request #2753 from dachary/wip-mailmap

mailmap updates

10 years agoos/LevelDBStore, RocksDBStore: fix race handling for get store size 2800/head
Sage Weil [Sat, 25 Oct 2014 04:23:19 +0000 (21:23 -0700)]
os/LevelDBStore, RocksDBStore: fix race handling for get store size

If we get ENOENT, skip this file, instead of adding in undefined stat
values.

Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agodoc/release-notes: v0.87 giant (draft)
Sage Weil [Fri, 24 Oct 2014 22:22:23 +0000 (15:22 -0700)]
doc/release-notes: v0.87 giant (draft)

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2763 from ceph/wip-da-SCA-20141010
Sage Weil [Fri, 24 Oct 2014 21:53:53 +0000 (14:53 -0700)]
Merge pull request #2763 from ceph/wip-da-SCA-20141010

Some fixes from SCA runs

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoPaxos.cc: use reinterpret_cast instead of c-style cast 2763/head
Danny Al-Gaaf [Tue, 21 Oct 2014 12:39:21 +0000 (14:39 +0200)]
Paxos.cc: use reinterpret_cast instead of c-style cast

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agofuse_ll.cc: use reinterpret_cast instead of c-style cast
Danny Al-Gaaf [Tue, 21 Oct 2014 12:38:59 +0000 (14:38 +0200)]
fuse_ll.cc: use reinterpret_cast instead of c-style cast

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agolibrados.cc: use static_cast instead of c-style cast
Danny Al-Gaaf [Tue, 21 Oct 2014 10:01:06 +0000 (12:01 +0200)]
librados.cc: use static_cast instead of c-style cast

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
10 years agoMerge pull request #2799 from athanatos/wip-9480
Sage Weil [Fri, 24 Oct 2014 20:20:43 +0000 (13:20 -0700)]
Merge pull request #2799 from athanatos/wip-9480

Wip 9480

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2798 from athanatos/wip-9875
Sage Weil [Fri, 24 Oct 2014 19:55:05 +0000 (12:55 -0700)]
Merge pull request #2798 from athanatos/wip-9875

ReplicatedPG: writeout hit_set object with correct prior_version

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2789 from ceph/wip-rgw-explicit-reason
Sage Weil [Fri, 24 Oct 2014 18:35:06 +0000 (11:35 -0700)]
Merge pull request #2789 from ceph/wip-rgw-explicit-reason

rgw: send http status reason explicitly in fastcgi

10 years agoMerge remote-tracking branch 'gh/giant'
Sage Weil [Fri, 24 Oct 2014 18:19:39 +0000 (11:19 -0700)]
Merge remote-tracking branch 'gh/giant'

10 years agoRevert "Enforce cache size on read requests"
Sage Weil [Fri, 24 Oct 2014 18:19:35 +0000 (11:19 -0700)]
Revert "Enforce cache size on read requests"

This reverts commit 4fc9fffc494abedac0a9b1ce44706343f18466f1.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoRevert "osdc: Fix ObjectCounter::_readx perf counters"
Sage Weil [Fri, 24 Oct 2014 18:19:21 +0000 (11:19 -0700)]
Revert "osdc: Fix ObjectCounter::_readx perf counters"

This reverts commit 830373ef018a78c3fe9d1b9ade208249fe8ccc6a.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoRevert "osdc: Fix compiler warning"
Sage Weil [Fri, 24 Oct 2014 18:19:15 +0000 (11:19 -0700)]
Revert "osdc: Fix compiler warning"

This reverts commit cb290a117ae17961c9e43e5fe76bb3edb2ed7efa.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoRevert "rbd: ObjectCacher reads can hang when reading sparse files"
Sage Weil [Fri, 24 Oct 2014 18:16:36 +0000 (11:16 -0700)]
Revert "rbd: ObjectCacher reads can hang when reading sparse files"

This reverts commit cdb7675a21c9107e3596c90c2b1598def3c6899f.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoRevert "Fix read performance regression in ObjectCacher"
Sage Weil [Fri, 24 Oct 2014 18:16:25 +0000 (11:16 -0700)]
Revert "Fix read performance regression in ObjectCacher"

This reverts commit 65be257e9295619b960b49f6aa80ecdf8ea4d16a.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years ago.gitmodules: ignoring changes in rocksdb submodule
Federico Gimenez [Fri, 24 Oct 2014 06:46:50 +0000 (08:46 +0200)]
.gitmodules: ignoring changes in rocksdb submodule

Signed-off-by: Federico Gimenez <fgimenez@coit.es>
(cherry picked from commit 60eaeca4ddccc79b29b17ad433c6569cb2a89500)

10 years agoMerge pull request #2797 from ceph/wip-rbd-revert
Josh Durgin [Fri, 24 Oct 2014 18:12:29 +0000 (11:12 -0700)]
Merge pull request #2797 from ceph/wip-rbd-revert

rbd/objectcacher: revert recent changes for giant

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
10 years agoRevert "Enforce cache size on read requests" 2797/head
Sage Weil [Fri, 24 Oct 2014 18:06:16 +0000 (11:06 -0700)]
Revert "Enforce cache size on read requests"

This reverts commit 4fc9fffc494abedac0a9b1ce44706343f18466f1.

Signed-off-by: Sage Weil <sage@redhat.com>