]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
xie xingguo [Tue, 9 Aug 2016 08:34:21 +0000 (16:34 +0800)]
libcephfs: kill compiling warning
As below:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1499:20: warning: ‘struct flock’ declared inside parameter list [enabled by default]
Fh *fh, struct flock *fl, uint64_t owner);
^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1499:20: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1501:20: warning: ‘struct flock’ declared inside parameter list [enabled by default]
Fh *fh, struct flock *fl, uint64_t owner, int sleep);
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Yuri Weinstein [Mon, 8 Aug 2016 23:25:07 +0000 (16:25 -0700)]
Merge pull request #10526 from xiexingguo/xxg-wip-misc-2016-07-30
osd: minor performance improvements and fixes
Reviewed-by: Samuel Just <sjust@redhat.com>
Yuri Weinstein [Mon, 8 Aug 2016 23:24:16 +0000 (16:24 -0700)]
Merge pull request #10548 from xiexingguo/xxg-wip-osd-2016-08-02
osd: more cleanups
Reviewed-by: Samuel Just <sjust@redhat.com>
Yuri Weinstein [Mon, 8 Aug 2016 23:23:46 +0000 (16:23 -0700)]
Merge pull request #10559 from xiexingguo/xxg-wip-osd-2016-08-03
osd: drop unused variables/methods
Reviewed-by: Samuel Just <sjust@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 19:32:31 +0000 (15:32 -0400)]
Merge pull request #10212 from rzarzynski/wip-rgw-cleanup-auth
rgw: clean-up in the authentication infrastructure
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 19:30:22 +0000 (15:30 -0400)]
Merge pull request #10233 from weiqiaomiao/wqm-wip-ver_check
rgw: fix wrong variable definition in cls_version_check func
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Nathan Cutler [Mon, 8 Aug 2016 18:56:10 +0000 (20:56 +0200)]
Merge pull request #10594 from michelmno/forpull2
rpm: ExclusiveArch for suse_version
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Casey Bodley [Mon, 8 Aug 2016 18:51:28 +0000 (14:51 -0400)]
Merge pull request #10122 from Yan-waller/yj-wiph-rgwradoscc-0704
rgw: fix the missing return value
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 18:46:27 +0000 (14:46 -0400)]
Merge pull request #10194 from Yan-waller/yj-wip-rgwrados-0708
rgw: remove unused bufferlist variable
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 18:45:48 +0000 (14:45 -0400)]
Merge pull request #10203 from Yan-waller/yj-wip-rgwcache-0708
rgw: merge setting flags operation together and cleanups
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 18:42:32 +0000 (14:42 -0400)]
Merge pull request #10214 from theanalyst/rgw/multisite-fwd-log-cleanup
rgw: drop create_bucket in fwd_request log message
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 18:41:39 +0000 (14:41 -0400)]
Merge pull request #10226 from Yan-waller/yj-wip-rgwrests3-0709
rgw: use the standard usage of string.find
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 18:35:48 +0000 (14:35 -0400)]
Merge pull request #10299 from Yan-waller/yj-wiph-rgwmetadata-0715
rgw: miscellaneous cleanups
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 18:34:25 +0000 (14:34 -0400)]
Merge pull request #10408 from weiqiaomiao/wqm-wip-rgw-lc-set
rgw: fix wrong variable definition in rgw_cls_lc_set_entry function
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 18:26:29 +0000 (14:26 -0400)]
Merge pull request #10562 from aclamk/wip-rgw-s3-keystone-cache-mutex
rgw: Got rid of recursive mutex.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 18:25:20 +0000 (14:25 -0400)]
Merge pull request #10424 from theanalyst/rgw/mp-complete-error-msg
rgw: log mp upload failures due to parts mismatch
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 18:14:35 +0000 (14:14 -0400)]
Merge pull request #10475 from yonghengdexin735/wip-zzz-rgw
rgw/rgw_main: fix unnecessary variables defined
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 18:08:37 +0000 (14:08 -0400)]
Merge pull request #10589 from Yan-waller/yj-wip-rgwcls-0805
rgw: remove unused variables
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 8 Aug 2016 17:56:27 +0000 (13:56 -0400)]
Merge pull request #10611 from linuxbox2/rgw-nfs-28
Rgw nfs 28
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Matt Benjamin [Sun, 7 Aug 2016 22:39:33 +0000 (18:39 -0400)]
rgw nfs: fix write continuations
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Fri, 5 Aug 2016 14:03:33 +0000 (10:03 -0400)]
rgw nfs: don't leak fh->mtx in lookup_handle()
This change fixes a serious latent locking problem, noticed after
updating the ganesha/rgw driver invalidation after renames.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Mon, 8 Aug 2016 14:18:35 +0000 (10:18 -0400)]
rgw file: refuse to rename directories
The representation of paths as an aggregate involving any
number of objects argues against ever permitting such
operations.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Wed, 3 Aug 2016 17:53:15 +0000 (13:53 -0400)]
rgw_file: refuse ops on deleted targets
Detect these illegal cases, as they are indicate various incorrect
behaviors/bugs.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Kefu Chai [Mon, 8 Aug 2016 04:01:49 +0000 (12:01 +0800)]
Merge pull request #10598 from dillaman/wip-16882
cmake: correct ceph_test_librbd/ceph_test_rbd_mirror linkage
Reviewed-by: Kefu Chai <kchai@redhat.com>
John Spray [Sun, 7 Aug 2016 14:49:20 +0000 (15:49 +0100)]
Merge pull request #9566 from ffilz/master
Add ceph_ll_setlk and ceph_ll_getlk
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 7 Aug 2016 14:48:49 +0000 (15:48 +0100)]
Merge pull request #10452 from jcsp/wip-16556
test: break out librados-using cephfs test
Mykola Golub [Sun, 7 Aug 2016 10:33:45 +0000 (13:33 +0300)]
Merge pull request #10574 from dillaman/wip-16923
librbd: delay acquiring lock if image watch has failed
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Sun, 7 Aug 2016 10:33:01 +0000 (13:33 +0300)]
Merge pull request #10581 from dillaman/wip-16887
librbd: prevent creation of v2 image ids that are too large
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Fri, 5 Aug 2016 19:34:00 +0000 (15:34 -0400)]
cmake: correct ceph_test_librbd/ceph_test_rbd_mirror linkage
This now matches the autotools configuration and fixes the failed
assertion during test execution.
Fixes: http://tracker.ceph.com/issues/16882
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Matt Benjamin [Fri, 5 Aug 2016 19:26:57 +0000 (15:26 -0400)]
Merge pull request #10579 from dreamhost/wip-16928
rgw: Fix civetweb IPv6
verified: autobuild
Matt Benjamin [Fri, 5 Aug 2016 19:02:55 +0000 (15:02 -0400)]
Merge pull request #10597 from pritha-srivastava/wip_ldap_fix
rgw: Fix for incorrect access key id in reworked ldap auth code.
verified non-regression (MS AD)
Pritha Srivastava [Fri, 5 Aug 2016 16:13:33 +0000 (21:43 +0530)]
rgw: Fix for incorrect access key id reworked ldap auth code.
The reworked ldap code does not use the correct access key id in get_policy.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Jason Dillaman [Fri, 5 Aug 2016 15:41:00 +0000 (11:41 -0400)]
Merge pull request #10595 from tchaikov/wip-rocksdb
rocksdb: revert the change introduced by
dc41731
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 5 Aug 2016 15:33:52 +0000 (23:33 +0800)]
rocksdb: revert the change introduced by
dc41731
dc41731 reverts the submodule reference of rocksdb, and point it to an
older version which fails to support ppc64le and AArch64.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 5 Aug 2016 15:22:39 +0000 (08:22 -0700)]
Merge pull request #10262 from dachary/wip-16580-ceph-disk-timeout
ceph-disk: timeout ceph-disk to avoid blocking forever
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Ken Dreyer (Red Hat) <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.cz>
Yuri Weinstein [Fri, 5 Aug 2016 15:14:02 +0000 (08:14 -0700)]
Merge pull request #10491 from xiexingguo/xxg-wip-osdmon-2016-07-28
osd/OSDMonitor: misc. fixes
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 5 Aug 2016 15:12:29 +0000 (08:12 -0700)]
Merge pull request #9259 from xiexingguo/xxg-wip-fix-monclientpinger
mon: MonClient may hang on pinging an unresponsive monitor
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Fri, 5 Aug 2016 15:11:36 +0000 (11:11 -0400)]
Merge pull request #10593 from linuxbox2/ldap-bindv3-again
rgw ldap: enforce simple_bind w/LDAPv3
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Fri, 5 Aug 2016 15:09:58 +0000 (08:09 -0700)]
Merge pull request #9718 from songbaisen/a8
mon: clear list in better way
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 5 Aug 2016 15:09:07 +0000 (08:09 -0700)]
Merge pull request #10392 from stiopaa1/mon_monclient_moveCCancelMonCommand
mon/MonClient: move C_CancelMonCommand to cc file
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 5 Aug 2016 15:08:19 +0000 (08:08 -0700)]
Merge pull request #10470 from xiexingguo/xxg-wip-osd-2016-07-28
osd: minor performance improvements
Reviewed-by: Samuel Just <sjust@redhat.com>
John Spray [Fri, 5 Aug 2016 14:55:56 +0000 (15:55 +0100)]
Merge pull request #10539 from jcsp/wip-mds-counters
mds: add perf counters for MDLog replay and SessionMap
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Matt Benjamin [Fri, 5 Aug 2016 14:02:03 +0000 (10:02 -0400)]
rgw ldap: enforce simple_bind w/LDAPv3
Found by Harald Klein <hklein@redhat.com>.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Michel Normand [Fri, 5 Aug 2016 14:34:48 +0000 (16:34 +0200)]
ExclusiveArch for suse_version
for SLES supports only x86_64 and aarch64 targets
for openSUSE (Tumbleweed and Leap) add ppc64/ppc64le targets.
fixes: http://tracker.ceph.com/issues/16936
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
Jason Dillaman [Fri, 5 Aug 2016 13:52:06 +0000 (09:52 -0400)]
Merge pull request #10542 from ktdreyer/doc-rbd-libvirt-logging
doc: describe libvirt client logging
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 5 Aug 2016 13:20:37 +0000 (09:20 -0400)]
Merge pull request #10488 from lande1234/wip-lan-testing
rbd-mirror: add additional test scenarios
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
John Spray [Fri, 5 Aug 2016 11:26:21 +0000 (12:26 +0100)]
Merge pull request #10573 from renhwztetecs/renhw-wip-doc-cephfs
doc/mds: fixup mds doc
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 2 Aug 2016 12:01:17 +0000 (13:01 +0100)]
mds: add perf counter for rate of replay
Useful for watching the progress of a daemon
in standby-replay or replay.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 31 Jul 2016 22:20:33 +0000 (23:20 +0100)]
mds: expose perf counters for SessionMap
So that we can see how many sessions exist via
the counters rather than only by looking at status.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 5 Aug 2016 11:01:12 +0000 (12:01 +0100)]
Merge pull request #10512 from renhwztetecs/renhw-wip-mds-balancer
mds/MDBalancer: cleanup
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 5 Aug 2016 11:00:05 +0000 (12:00 +0100)]
Merge pull request #10485 from gregsfortytwo/wip-client-dump-complete
client: include COMPLETE and ORDERED states in cache dump
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 5 Aug 2016 10:59:21 +0000 (11:59 +0100)]
Merge pull request #10533 from gregsfortytwo/wip-mds-dispatch-refcount
mds: fix up _dispatch ref-counting semantics
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 5 Aug 2016 10:58:32 +0000 (11:58 +0100)]
Merge pull request #10540 from jcsp/wip-mds-multimds-standby
mds: fix daemon selection when starting ranks
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Yan Jun [Fri, 5 Aug 2016 08:41:00 +0000 (16:41 +0800)]
rgw: remove unused variables
remove the unused bufferlist variables
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
Jason Dillaman [Fri, 5 Aug 2016 00:40:10 +0000 (20:40 -0400)]
librbd: prevent creation of v2 image ids that are too large
The librbd API is capped at 24 characters for expressing the
object prefix for data blocks (including trailing null byte).
Fixes: http://tracker.ceph.com/issues/16887
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Robin H. Johnson [Fri, 5 Aug 2016 00:15:18 +0000 (17:15 -0700)]
rgw: Fix civetweb IPv6
Commit
c38e3cbb6f7c6221209f2b512cba18c564c895a4 introduced a second
compiled version of src/civetweb/src/civetweb.c, but did not pass the
configuration header (civetweb/include/civetweb_conf.h).
As a result, USE_IPV6 was not defined when it was compiled, and that
copy was included into the radosgw binary. This caused breakage for the
civetweb frontend when used with IPv6:
rgw frontends = civetweb port=[::]:7480
Reintroduce the header so that civetweb is compiled correctly again.
Fixes: http://tracker.ceph.com/issues/16928
Backport: jewel
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
David Zafman [Fri, 5 Aug 2016 00:01:12 +0000 (17:01 -0700)]
Merge pull request #10565 from dzafman/wip-16672
OSD crash with Hammer to Jewel Upgrade: void FileStore::init_temp_collections()
Reviewed-by: Samuel Just <sjust@redhat.com>
Jason Dillaman [Thu, 4 Aug 2016 21:01:57 +0000 (17:01 -0400)]
Merge pull request #10545 from trociny/fixup-rbd-mirror-test
qa/workunits/rbd: wait for image deleted before checking health
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Ken Dreyer [Tue, 2 Aug 2016 15:30:10 +0000 (09:30 -0600)]
doc: describe libvirt client logging
Describe how to configure logging and the admin socket for debugging RBD
libvirt clients.
Thanks to Jason Dillman <jdillama@redhat.com> on ceph-devel for this
information.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Jason Dillaman [Thu, 4 Aug 2016 17:24:54 +0000 (13:24 -0400)]
librbd: delay acquiring exclusive lock if watch has failed
Fixes: http://tracker.ceph.com/issues/16923
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 4 Aug 2016 17:47:33 +0000 (13:47 -0400)]
librbd: convert ImageWatcher class to template
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
John Spray [Thu, 4 Aug 2016 13:10:45 +0000 (14:10 +0100)]
Merge pull request #10566 from batrick/mds-daemon-unused
mds: remove unused MDSDaemon::objecter
Reviewed-by: John Spray <john.spray@redhat.com>
huanwen ren [Thu, 4 Aug 2016 11:50:18 +0000 (19:50 +0800)]
doc/mds: add generated files into the /etc/ceph/
Fixes: 16906
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
xie xingguo [Wed, 3 Aug 2016 22:47:42 +0000 (06:47 +0800)]
osd: add a comment for the purpose of pinned_maps
For a better understanding since it can confuse newcommers.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Patrick Donnelly [Thu, 4 Aug 2016 02:03:28 +0000 (22:03 -0400)]
mds: remove unused MDSDaemon::objecter
Leftover from
a2682edb76ceac428c686e0ac21c06511e27693e .
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
xie xingguo [Wed, 3 Aug 2016 22:36:15 +0000 (06:36 +0800)]
osd: use osd_target_transaction_size when batch removing objects
Hard code transaction size to be 300 is not good. Since we already
introduce osd_target_transaction_size for the same purpose, we can
use it directly here.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 3 Aug 2016 08:18:16 +0000 (16:18 +0800)]
osd: fix rare race while looking for a pg
When _have_pg() returns true, we drop the pg_map_lock
and pg->lock() simultaneously. So theoretically the
subsequent call to _lookup_lock_pg() can return NULL,
although the chance is rare.
Also, since we are going to call _lookup_lock_pg() anyway,
we can call it directly, thus the _have_pg() method is
totally unnecessary.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 3 Aug 2016 08:08:03 +0000 (16:08 +0800)]
osd: kill _lookup_pg() method
It is never used and I see no chance it will be used.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 3 Aug 2016 06:56:17 +0000 (14:56 +0800)]
osd: don't get transaction too big during clear_temp_objects()
Basically we don't allow a transaction to get too big, e.g., to
avoid contiguously occupation of CPU.
We break and queue the transaction here whenever we have collected
osd_target_transaction_size temp objects.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Matt Benjamin [Wed, 3 Aug 2016 16:39:26 +0000 (12:39 -0400)]
Merge pull request #10307 from pritha-srivastava/wip_s3_auth_rework
rgw: Rework of s3 LDAP Authentication code.
verified: MS AD
Adam Kupczyk [Wed, 3 Aug 2016 15:56:30 +0000 (17:56 +0200)]
Got rid of recursive mutex.
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
David Zafman [Wed, 3 Aug 2016 05:32:02 +0000 (22:32 -0700)]
os: Fix HashIndex::recursive_remove() to remove everything but original path
Fixes: http://tracker.ceph.com/issues/16672
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 3 Aug 2016 06:26:41 +0000 (23:26 -0700)]
filestore: Clear objects before calling collection_list() again
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 3 Aug 2016 06:24:12 +0000 (23:24 -0700)]
filestore: Improve logging
Signed-off-by: David Zafman <dzafman@redhat.com>
huanwen ren [Sat, 30 Jul 2016 05:50:24 +0000 (13:50 +0800)]
mds/MDBalancer: change OPT_FLOAT to OPT_DOUBLE
utime_t convert double in MDBalancer::tick(),
so g_conf->mds_bal_sample_interval should be set OPT_DOUBLE
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
huanwen ren [Fri, 29 Jul 2016 05:55:57 +0000 (13:55 +0800)]
mds/MDBalancer: redundance cleanup
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
huanwen ren [Fri, 29 Jul 2016 03:31:03 +0000 (11:31 +0800)]
mds/MDBalancer: some types of definitions are cleanup
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
huanwen ren [Thu, 28 Jul 2016 08:05:00 +0000 (16:05 +0800)]
mds/MDBalancer: add err info when ifstream open failure
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
xie xingguo [Tue, 2 Aug 2016 07:02:49 +0000 (15:02 +0800)]
osd: initialize class_handler of OSD properly
The destructor of OSD will delete class_handler arbitrarily
and there are cases we'll fail to start an osd before we
load the class_handler correctly.
So it is safe to initialize class_handler to NULL as to
avoid access violation.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 2 Aug 2016 05:56:44 +0000 (13:56 +0800)]
osd/ReplicatedPG: fix typo(from ECANCELLED to ECANCELED)
According to Linux Man pages:
ECANCELED Operation canceled (POSIX.1)
So ECANCELED is the preferred one.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 2 Aug 2016 05:50:18 +0000 (13:50 +0800)]
osd: add sanity check for scrubs_active counter
To make sure there is no underflow and the scrub logic
works fine.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 2 Aug 2016 05:45:26 +0000 (13:45 +0800)]
osd: kill redundant call of cancel_all_events()
The agent_timer.shutdown() method will call cancel_all_events()
within in a more safe and elegant way, so we don't have to
call it explicitly here.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Patrick Donnelly [Tue, 2 Aug 2016 19:40:49 +0000 (15:40 -0400)]
Merge remote-tracking branch 'upstream/pull/10543/head'
* upstream/pull/10543/head:
vstart.sh: only delete conf if -n
Igor Fedotov [Tue, 2 Aug 2016 18:43:41 +0000 (21:43 +0300)]
Merge pull request #10492 from chhabaramesh/master
os/bluestore: remove cmake warning from extent alloc functions
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Patrick Donnelly [Tue, 2 Aug 2016 18:13:18 +0000 (14:13 -0400)]
vstart.sh: only delete conf if -n
src/test/ceph_objectstore_tool.py depends on an implicit "-k" when not
creating a new cluster. (Deleting the conf file without -n makes no
sense anyway.)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Mykola Golub [Tue, 2 Aug 2016 17:48:07 +0000 (20:48 +0300)]
Merge pull request #10462 from dillaman/wip-16478
rbd-mirror: non-primary image is recording journal events during image sync
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 2 Aug 2016 17:14:54 +0000 (20:14 +0300)]
Merge pull request #10484 from dillaman/wip-16538
rbd-mirror: image deleter should use pool id + global image uuid for key
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 2 Aug 2016 17:06:17 +0000 (20:06 +0300)]
qa/workunits/rbd: wait for image deleted before checking health
This is a fixup to the previous commit.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
John Spray [Tue, 2 Aug 2016 17:04:31 +0000 (18:04 +0100)]
Merge pull request #10458 from gregsfortytwo/wip-doc-troubleshooting
doc: extend the CephFS troubleshooting guide
Reviewed-by: Zack Cerza <zack@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Alfredo Deza [Tue, 2 Aug 2016 15:50:47 +0000 (11:50 -0400)]
Merge pull request #9695 from ktdreyer/doc-tarballs-url
doc: update canonical tarballs URL
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Ramesh Chander [Fri, 29 Jul 2016 09:16:57 +0000 (02:16 -0700)]
os/bluestore: remove cmake warning from extent alloc functions.
link: http://tracker.ceph.com/issues/16766
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
John Spray [Tue, 2 Aug 2016 15:29:45 +0000 (16:29 +0100)]
Merge pull request #10386 from ceph/wip-jlayton-nlink
Fix attribute handling at lookup time
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Tue, 2 Aug 2016 15:10:08 +0000 (23:10 +0800)]
Merge pull request #10541 from tchaikov/wip-cmake
cmake: install ceph_test_rados_striper_api_*
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Tue, 2 Aug 2016 14:37:45 +0000 (22:37 +0800)]
cmake: install ceph_test_rados_striper_api_*
so we can test them in ceph-qa-suite
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Wed, 27 Jul 2016 03:28:43 +0000 (23:28 -0400)]
test: unit test cases for disabling librbd journal by policy
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 27 Jul 2016 14:56:48 +0000 (10:56 -0400)]
librbd: utilize factory methods to create AioObjectRequest objects
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 27 Jul 2016 13:07:00 +0000 (09:07 -0400)]
librbd: convert AioObjectRequest/AioObjectRead classes to templates
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 27 Jul 2016 13:54:44 +0000 (09:54 -0400)]
librbd: move read callback helpers to narrowest scope
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 27 Jul 2016 03:26:08 +0000 (23:26 -0400)]
librbd: convert AioImageRequest derived classes to templates
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 27 Jul 2016 12:49:44 +0000 (08:49 -0400)]
librbd: removed namespace indentation from legacy classes
Better follows the Ceph C++ style guide
Signed-off-by: Jason Dillaman <dillaman@redhat.com>