]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Matt Benjamin [Wed, 21 Jun 2017 13:20:40 +0000 (09:20 -0400)]
Merge pull request #15789 from linuxbox2/wip-nfs-doc
RGW NFS: add nfs.rst to doc/radosgw
(override because make check fail [missing selinux policy help file] unrelated)
Matt Benjamin [Tue, 20 Jun 2017 19:46:42 +0000 (15:46 -0400)]
RGW NFS: add nfs.rst to doc/radosgw
This document contains sections by John Wilkins <jowilkin@redhat.com>.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
John Spray [Wed, 21 Jun 2017 11:46:02 +0000 (07:46 -0400)]
Merge pull request #15255 from david-z/wip-mgr-fsstatus
pybind/mgr/fsstatus: use mds_mem.dn as dentry counter
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 21 Jun 2017 11:32:09 +0000 (07:32 -0400)]
Merge pull request #15621 from mingshuaiwang/master
mds: mds perf item 'l_mdl_expos' always behind journaler
Reviewed-by: Yan, Zheng <zyan@redhat.com>
John Spray [Wed, 21 Jun 2017 11:31:27 +0000 (07:31 -0400)]
Merge pull request #15662 from renhwztetecs/renhw-wip-client-trim_cache
client: call the lru_remove() twice,when trim cache
Reviewed-by: Yan, Zheng <zyan@redhat.com>
John Spray [Wed, 21 Jun 2017 11:30:53 +0000 (07:30 -0400)]
Merge pull request #15715 from jcsp/wip-jt-rmapply
tools/cephfs: remove `apply` mode of cephfs-journal-tool
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
John Spray [Wed, 21 Jun 2017 11:30:34 +0000 (07:30 -0400)]
Merge pull request #15779 from renhwztetecs/renhw-wip-client-dentry
client: fix Dentry::dump
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Tue, 20 Jun 2017 21:53:45 +0000 (16:53 -0500)]
Merge pull request #15728 from majianpeng/bluefs-remove-memcopy-for-continue-memory
os/bluestore/BlueFS: Rebuild memcopy for bufferlist::page_aligned_app…
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 20 Jun 2017 03:24:36 +0000 (23:24 -0400)]
unittest_bufferlist: test page_aligned_appender
Signed-off-by: Sage Weil <sage@redhat.com>
Jianpeng Ma [Tue, 20 Jun 2017 20:42:02 +0000 (04:42 +0800)]
os/bluestore/BlueFS: replace claim_append with claim_append_piecewise to reduce memory copy.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Jianpeng Ma [Tue, 20 Jun 2017 23:04:51 +0000 (07:04 +0800)]
common/buffer: add function bufferlist::claim_append_piecewise(list& bl).
This only useful for bl is bufferlist::page_aligned_appender. Using
this function can remove memcopy for continue ptrs.
Because page_aligned_appender::flush will split a ptr into two or
more ptrs. For this case, rebuild_aligned_size_and_memory can't handle,
it will rebuild.
For example
a=bl.get_page_aligned_appender(1);
a.append(3K)
a.flush();
t.claim_append(bl);
a.append(1K);
a.flush();
t.claim_append(bl);
dst.claim_append(t);
//3K and 1K ptr are continue in memory. But they are two ptrs..
dst.is_aligned_size_and_memory(4096,4096) is false.
We add new function claim_append_piecewise() to specially
handle this case.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Casey Bodley [Tue, 20 Jun 2017 20:54:08 +0000 (16:54 -0400)]
Merge pull request #15260 from shashalu/fix-secondary-zonegroup-cors
rgw: update bucket cors in secondary zonegroup should forward to master
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Tue, 20 Jun 2017 20:25:30 +0000 (15:25 -0500)]
Merge pull request #15709 from jcsp/wip-dashboard-loglast
mgr/dashboard: load log lines on startup, split out audit log
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 20 Jun 2017 20:25:03 +0000 (15:25 -0500)]
Merge pull request #15750 from xiexingguo/wip-bluestore-
20170619
os/bluestore: refactor BlueStore::_do_write; kill dead ExtentMap::find_lextent() method
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Tue, 20 Jun 2017 20:24:30 +0000 (15:24 -0500)]
Merge pull request #15766 from liewegas/wip-20227-fix
os/bluestore: fix unsharing blob dirty_range args
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Casey Bodley [Tue, 20 Jun 2017 20:07:46 +0000 (16:07 -0400)]
Merge pull request #15014 from zhangsw/fix-rgw-versionIdMarker-bug
rgw: VersionIdMarker and NextVersionIdMarker should be returned when listing object versions
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yehuda Sadeh [Tue, 20 Jun 2017 19:44:37 +0000 (12:44 -0700)]
Merge pull request #14500 from zhangsw/fix-rgw-multipart-index-bug
rgw: fix the bug that part's index can't be removed after completing multipart upload
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Tue, 20 Jun 2017 18:16:10 +0000 (14:16 -0400)]
Merge pull request #15771 from fangyuxiangGL/cleanup_rgw_admin
rgw: cleanup unused codes in rgw_admin.cc
Reviewed-by: Casey Bodley <cbodley@redhat.com>
John Spray [Tue, 20 Jun 2017 18:13:40 +0000 (14:13 -0400)]
Merge pull request #15768 from ukernel/wip-objecter-inflight-ops
osdc/Objecter: fix inflight_ops update
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 20 Jun 2017 18:02:49 +0000 (14:02 -0400)]
Merge pull request #15737 from wjwithagen/wip-wjw-test_rgw_string
rgw/rgw_string.h: FreeBSD would like errno.h included
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yehuda Sadeh [Tue, 20 Jun 2017 18:02:28 +0000 (11:02 -0700)]
Merge pull request #15782 from cbodley/wip-rgw-vstart-s3tests
vstart: add rgw configuration needed to pass all s3tests
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Tue, 20 Jun 2017 15:36:42 +0000 (11:36 -0400)]
vstart: add rgw configuration needed to pass all s3tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Tue, 20 Jun 2017 16:16:29 +0000 (11:16 -0500)]
Merge pull request #15751 from xiexingguo/wip-add-state-name
src/common/ceph_string: stringify new osd states
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 20 Jun 2017 15:30:38 +0000 (11:30 -0400)]
Merge pull request #14703 from zhangsw/feature-lifecycle-deletemarker
rgw: add support for delete marker expiration in s3 lifecycle.
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Sage Weil [Tue, 20 Jun 2017 15:22:37 +0000 (10:22 -0500)]
Merge pull request #15540 from joscollin/wip-cleanup-test-commented-code-2
test/osd: Removed Commented Code - 2
Kefu Chai [Tue, 20 Jun 2017 15:01:16 +0000 (23:01 +0800)]
Merge pull request #15770 from tchaikov/wip-test-test_mon_crush
qa/workunits/cephtool/test.sh: only include last line for epoch
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Tue, 20 Jun 2017 14:44:18 +0000 (22:44 +0800)]
Merge pull request #15733 from wjwithagen/wip-wjw-freebsd-ceph-disk-service
ceph-disk: command invocation needs all fields separate
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jos Collin [Wed, 7 Jun 2017 05:54:59 +0000 (11:24 +0530)]
test/osd: Removed Commented Code - 2
Removed commented code found in test/osd/.
Fixes: http://tracker.ceph.com/issues/20207 (Partially)
Signed-off-by: Jos Collin <jcollin@redhat.com>
Willem Jan Withagen [Fri, 16 Jun 2017 15:59:12 +0000 (17:59 +0200)]
ceph-disk: command invocation needs all fields separate
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
John Spray [Tue, 20 Jun 2017 10:47:13 +0000 (06:47 -0400)]
Merge pull request #15592 from david-z/wip-fix-dump-cache
mds: explicitly output error msg for dump cache asok command
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Tue, 20 Jun 2017 08:07:52 +0000 (16:07 +0800)]
qa/workunits/cephtool/test.sh: only include last line for epoch
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/qa/workunits/cephtool/test.sh:1606: test_mon_crush: epoch='2017-06-20 04:44:52.862459
ffffad4d0200 -1 asok(0xffffa8000b10) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The UNIX domain socket path /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/src/test/td/t-7202/out/client.admin.48876.asok is too long! The maximum length on this system is 107
12'
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/qa/workunits/cephtool/test.sh:1607: test_mon_crush: '[' '2017-06-20 04:44:52.862459
ffffad4d0200 -1 asok(0xffffa8000b10) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The UNIX domain socket path /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/src/test/td/t-7202/out/client.admin.48876.asok is too long! The maximum length on this system is 107
12' -gt 1 ']'
/home/jenkins-build/build/workspace/ceph-pull-requests-arm64/qa/workunits/cephtool/test.sh: line 1607: [: 2017-06-20 04:44:52.862459
ffffad4d0200 -1 asok(0xffffa8000b10) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: The UNIX domain socket path /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/src/test/td/t-7202/out/client.admin.48876.asok is too long! The maximum length on this system is 107
12: integer expression expected
Signed-off-by: Kefu Chai <kchai@redhat.com>
fang.yuxiang [Tue, 20 Jun 2017 08:12:19 +0000 (16:12 +0800)]
rgw: cleanup unused codes in rgw_admin.cc
Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
Kefu Chai [Tue, 20 Jun 2017 07:36:54 +0000 (15:36 +0800)]
Merge pull request #15742 from wjwithagen/wip-wjw-freebsd-host-errno-3
common/freebsd_errno.cc: fixed again a stupid typo
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yan, Zheng [Tue, 20 Jun 2017 03:55:03 +0000 (11:55 +0800)]
osdc/Objecter: fix inflight_ops update
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Sage Weil [Tue, 20 Jun 2017 03:39:55 +0000 (22:39 -0500)]
Merge pull request #15651 from zealoussnow/wip-0613
config_opt: use bool instead of int for the default value of filestore_debug_omap_check
Sage Weil [Tue, 20 Jun 2017 03:37:59 +0000 (22:37 -0500)]
Merge pull request #15676 from Linbing/wip-mon-delete-unused-config
mon: delete unused config opts of mon_sync_fs_threshold
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 20 Jun 2017 03:34:35 +0000 (22:34 -0500)]
Merge pull request #15697 from gregsfortytwo/wip-mgr-eaccss-20296
mgr: print a more helpful error message for when users lack mgr ceph caps
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Tue, 20 Jun 2017 03:11:56 +0000 (22:11 -0500)]
Merge pull request #15744 from badone/wip-CID-
1412579
ceph-dencoder: Silence coverity CID
1412579
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 20 Jun 2017 02:59:30 +0000 (21:59 -0500)]
Merge pull request #15637 from liewegas/wip-point-to-point
qa/upgrade/jewel-x/point-to-point: add a mgr during final upgrade
Sage Weil [Tue, 20 Jun 2017 02:57:43 +0000 (22:57 -0400)]
os/bluestore: fix unsharing blob dirty_range args
Fixes: http://tracker.ceph.com/issues/20227
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Jun 2017 23:06:32 +0000 (18:06 -0500)]
Merge pull request #15365 from ShiqiCooperation/newshiqi
test/unittest_bluefs: When fsync ret is less than 0, fsync can not be…
Reviewed-by: Varada Kari <varada.kari@gmail.com>
Sage Weil [Mon, 19 Jun 2017 23:06:07 +0000 (18:06 -0500)]
Merge pull request #15533 from liewegas/wip-crush-version
mon,osd: add crush_version to OSDMap, and allow crush map updates to gate on crush_version
Reviewed-by: Loic Dachary <loic@dachary.org>
Sage Weil [Mon, 19 Jun 2017 23:05:25 +0000 (18:05 -0500)]
Merge pull request #15685 from wjwithagen/wip-wjw-freebsd-ENODATA-2
core/common: Fix ENODATA for FreeBSD with compat.h
Reviewed-by: Jos Collin <jcollin@redhat.com>
Sage Weil [Mon, 19 Jun 2017 23:04:50 +0000 (18:04 -0500)]
Merge pull request #15710 from liewegas/wip-20273
osd: bail from _committed_osd_maps inside osd_lock
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Willem Jan Withagen [Fri, 16 Jun 2017 20:14:15 +0000 (22:14 +0200)]
rgw_string.h: FreeBSD would like errno.h included
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Casey Bodley [Mon, 19 Jun 2017 20:47:36 +0000 (16:47 -0400)]
Merge pull request #15333 from mikulely/validate-bucket-location
rgw/multisite: validate bucket location during bucket creation
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:45:56 +0000 (16:45 -0400)]
Merge pull request #15633 from cloudbau/reduce-rgw-copy-loglevel
rgw: do not log debug output at level 0
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:45:22 +0000 (16:45 -0400)]
Merge pull request #15598 from aclamk/encryption_refactor
radosgw, crypto: simplified code in handle_data functions
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:42:58 +0000 (16:42 -0400)]
Merge pull request #15599 from theanalyst/rgw/fix/bl-cstr
rgw: don't specify a length when converting bl -> string
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:42:11 +0000 (16:42 -0400)]
Merge pull request #15756 from rzarzynski/wip-rgw-cleanup-swift-errmapping
rgw: clean-up error mapping in Swift's authentication strategy.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:40:13 +0000 (16:40 -0400)]
Merge pull request #15677 from zhangsw/fix-rgw-lifecycle-bug
rgw: lifecycle thread shouldn't process the bucket which has been deleted
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 20:39:30 +0000 (16:39 -0400)]
Merge pull request #15682 from mikulely/rgw-putobj-params
rgw: abort early when s->length empty during putobj
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Mon, 19 Jun 2017 19:29:12 +0000 (14:29 -0500)]
Merge pull request #15747 from liewegas/wip-scrub-retry
qa/tasks/ceph: osd_scrub_pgs: reissue scrub requests in loop
Sage Weil [Mon, 19 Jun 2017 18:49:56 +0000 (14:49 -0400)]
qa/suites/rados/singleton-nomsgr/multi-backfill-reject: clean up
Set pool size back to 2 so we don't have to have backfill
complete (despite rejection probability) in order to get back to
healthy. This way we scrub on cleanup.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Jun 2017 18:45:14 +0000 (13:45 -0500)]
Merge pull request #15712 from liewegas/wip-19882
osd/ECTransaction: only read partial stripes when below *original* object size
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Mon, 19 Jun 2017 18:37:57 +0000 (14:37 -0400)]
qa/suites/rados/singleton-nomsgr/full-tiering: unset quota at end
If we leave the quota set, the proxied ops will block
indefinitely, which will block scrubbing on the cache tier pgs
indefinitely.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Jun 2017 18:28:28 +0000 (14:28 -0400)]
qa/tasks/resolve_stuck_peering: start osd at end
Signed-off-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Mon, 19 Jun 2017 18:22:23 +0000 (14:22 -0400)]
Merge pull request #15679 from guihecheng/rgw_file-fix-setattr
rgw_file: fix assert upon setattr on bucket
Casey Bodley [Mon, 19 Jun 2017 18:14:44 +0000 (14:14 -0400)]
Merge pull request #15660 from fangyuxiangGL/meta_sync_crash
rgw: meta sync thread crash at RGWMetaSyncShardCR
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Mon, 19 Jun 2017 18:11:57 +0000 (14:11 -0400)]
qa/workunits/cephtool/test.sh: silence dev warnings
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Jun 2017 15:59:10 +0000 (11:59 -0400)]
qa/tasks/ceph: osd_scrub_pgs: reissue scrub requests in loop
The scrub commands are not reliable: if the OSD doesn't happen to
be connected at the time the command is issued it may not get
delivered. Re-request scrubs for each PG that has not yet been
scrubbed so that we don't wait forever when the original request
is dropped.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 19 Jun 2017 15:57:50 +0000 (11:57 -0400)]
qa/tasks/ceph: osd_scrub_pgs: tolerate down osd at initial scrub time
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Mon, 19 Jun 2017 15:25:04 +0000 (11:25 -0400)]
Merge pull request #15738 from cbodley/wip-rgw-string-constexpr
rgw: fix constexpr for string_size in clang
Reviewed By: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
John Spray [Mon, 19 Jun 2017 14:53:51 +0000 (10:53 -0400)]
Merge pull request #15544 from taodd/master
mds: Client syncfs is slow (waits for next MDS tick)
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Sage Weil [Mon, 19 Jun 2017 14:32:43 +0000 (09:32 -0500)]
Merge pull request #15746 from liewegas/wip-20227
os/bluestore: better debug output on unsharing blobs
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
dongdong [Thu, 8 Jun 2017 09:14:36 +0000 (17:14 +0800)]
client: signal MDS to flush log when doing a syncfs
Fixes: http://tracker.ceph.com/issues/20129
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
dongdong [Wed, 7 Jun 2017 05:41:27 +0000 (13:41 +0800)]
Client: signal MDS to flush log when doing a syncfs
Fixes: http://tracker.ceph.com/issues/20129
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
Jos Collin [Mon, 19 Jun 2017 13:08:31 +0000 (13:08 +0000)]
Merge pull request #15745 from zealoussnow/wip-0617
.gitignore: exclude rpm files
Reviewed-by: Jos Collin <jcollin@redhat.com>
John Spray [Mon, 19 Jun 2017 12:41:25 +0000 (08:41 -0400)]
Merge pull request #15481 from jcsp/wip-20178
client: avoid returning negative space available
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
xie xingguo [Sat, 17 Jun 2017 03:19:58 +0000 (11:19 +0800)]
os/bluestore: kill dead ExtentMap::find_lextent() method
Which currently has no consumers.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 16 Jun 2017 14:29:06 +0000 (22:29 +0800)]
os/bluestore: refactor BlueStore::_do_write
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
John Spray [Mon, 19 Jun 2017 09:35:21 +0000 (05:35 -0400)]
Merge pull request #15614 from jcsp/wip-jt-help
tools/cephfs: fix cephfs-journal-tool --help
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Radoslaw Zarzynski [Mon, 19 Jun 2017 08:53:06 +0000 (10:53 +0200)]
rgw: clean-up error mapping in Swift's authentication strategy.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Haomai Wang [Mon, 19 Jun 2017 05:54:31 +0000 (13:54 +0800)]
Merge pull request #15749 from Adirl/wip
msg/async/rdma: handle buffers after close msg
Reviewed-by: Haomai Wang <haomai@xsky.com>
xie xingguo [Mon, 19 Jun 2017 02:25:13 +0000 (10:25 +0800)]
src/common/ceph_string: stringify new osd states
In https://github.com/ceph/ceph/pull/15725 I introduce
two more osd states.
This patch pulls them in.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
fang.yuxiang [Tue, 13 Jun 2017 08:40:16 +0000 (16:40 +0800)]
rgw: meta sync thread crash at RGWMetaSyncShardCR
Fixes: http://tracker.ceph.com/issues/20251
Signed-off-by: fang yuxiang fang.yuxiang@eisoo.com
Zhang Shaowen [Wed, 19 Apr 2017 07:39:40 +0000 (15:39 +0800)]
rgw: add support for delete marker expiration in s3 lifecycle.
Fixes: http://tracker.ceph.com/issues/19730
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
lu.shasha [Wed, 24 May 2017 08:06:07 +0000 (16:06 +0800)]
rgw: update bucket cors in secondary zonegroup should forward to master
pr#14082 is incomplete, cors should be redirect to master
Fixes: http://tracker.ceph.com/issues/16888
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
Brad Hubbard [Sat, 17 Jun 2017 01:44:01 +0000 (11:44 +1000)]
ceph-dencoder: Silence coverity CID
1412579
141 if (i == 0)
142 i = m_list.size();
143 if ((i == 0) || (i > m_list.size()))
144 return "invalid id for generated object";
145 typename list<T*>::iterator p = m_list.begin();
146 for (i--; i > 0 && p != m_list.end(); ++p, --i) ;
>>> CID
1412579 : API usage errors (INVALIDATE_ITERATOR)
>>> Dereferencing iterator "p" though it is already past the end
of its container.
147 m_object = *p;
148 return string();
149 }
150
151 bool is_deterministic() override {
152 return !nondeterministic;
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Sage Weil [Sun, 18 Jun 2017 15:37:18 +0000 (10:37 -0500)]
Merge pull request #15725 from xiexingguo/wip-noupin
mon/OSDMonitor: batch noup/noin osds support
Reviewed-by: Sage Weil <sage@redhat.com>
Daniel Bar-On [Mon, 8 May 2017 15:25:28 +0000 (15:25 +0000)]
msg/async/rdma: remove assert from srq destroy in ~Infiniband
issue:
1040242
Even though ibv_destroy_srq does not return 0, all resources
are destroyed. No need to assert.
Change-Id: I96562130d22352390f9f7f9a3e0ddbe77a82d8f4
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
Adirl [Sun, 7 May 2017 09:02:22 +0000 (09:02 +0000)]
msg/async/rdma: handle buffers after close msg
fixing an issue of OSD’s going down during recovery process while traffic
is running in the background.
fix is making sure that messages previously pulled from the cqe and are
now stored in the socket queue “buffers” will always be handled and fd
will be notified even if cqe is empty.
issue:
1025030
Change-Id: I6ced6b8ee0152e233632700ccc9ec19970e66b6a
Signed-off-by: Alexander Mikheev <alexm@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
Abhishek L [Sun, 18 Jun 2017 09:24:10 +0000 (11:24 +0200)]
Merge pull request #15748 from Liuchang0812/wip-fix-release-note
doc/release-note: update release-note
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Orit Wasserman [Sun, 18 Jun 2017 06:09:01 +0000 (09:09 +0300)]
Merge pull request #15736 from cbodley/wip-20297
rgw: forward RGWPutBucketPolicy to meta master
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Sun, 18 Jun 2017 06:06:46 +0000 (09:06 +0300)]
Merge pull request #15132 from cbodley/wip-doc-rgw-remove-agent
doc/rgw: remove Federated Configuration, clean up multisite
liuchang0812 [Sun, 18 Jun 2017 03:56:07 +0000 (11:56 +0800)]
doc/release-note: update release-note
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
Jiaying Ren [Thu, 25 May 2017 12:17:46 +0000 (20:17 +0800)]
rgw/multisite: check location constraint existness
to match the behavior of AWS S3
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
Jiaying Ren [Thu, 25 May 2017 11:55:32 +0000 (19:55 +0800)]
rgw/multisite: unify zg is_master judge
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
Jiaying Ren [Thu, 25 May 2017 10:50:37 +0000 (18:50 +0800)]
rgw: fix bucket location s3 compatible issue
create bucket with location constraint doesn't exist in AWS S3
will response like the following:
{'data': '<?xml version="1.0" encoding="UTF-8"?>\n
<Error><Code>InvalidLocationConstraint</Code>
<Message>The specified location-constraint is not valid</Message>
<LocationConstraint>ap-southeast-4</LocationConstraint>
<RequestId>
15D886DFEF49765A </RequestId>
<HostId>IroSlmBZq7iSluYIgea7y+72OXbOSmjX2eVYING0tUuGR8BAHLcYPOgUWUIJUuG1z/1FhfaxJUo=</HostId></Error>',
'headers': {'connection': 'close',
'content-type': 'application/xml',
'date': 'Thu, 25 May 2017 03:45:49 GMT',
'server': 'AmazonS3',
'transfer-encoding': 'chunked',
'x-amz-id-2': 'IroSlmBZq7iSluYIgea7y+72OXbOSmjX2eVYING0tUuGR8BAHLcYPOgUWUIJUuG1z/1FhfaxJUo=',
'x-amz-request-id': '
15D886DFEF49765A '},
'reason': 'Bad Request',
'status': 400}
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
xie xingguo [Fri, 16 Jun 2017 07:52:01 +0000 (15:52 +0800)]
mon/OSDMonitor: batch noup/noin osds support
This is a follow-up change of https://github.com/ceph/ceph/pull/15381.
This patch also simplifies the original code logic a bit.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Sat, 17 Jun 2017 21:21:28 +0000 (16:21 -0500)]
Merge pull request #15658 from xiexingguo/wip-fix-reshard
os/bluestore: fix possible out of order shard(offset == 0); add sanity check
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 17 Jun 2017 21:21:03 +0000 (16:21 -0500)]
Merge pull request #15716 from jcsp/wip-mgr-fsmap
mgr: fix MgrStandby eating messages
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 17 Jun 2017 21:20:12 +0000 (16:20 -0500)]
Merge pull request #15732 from liewegas/wip-osd-boot-message
osd: do not try to boot until we've seen the first osdmap
Sage Weil [Sat, 17 Jun 2017 21:19:41 +0000 (16:19 -0500)]
Merge pull request #15740 from liewegas/wip-pgmap-debug
mon,mgr: print pgmap reports to debug (not cluster) log
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Sat, 17 Jun 2017 21:16:00 +0000 (16:16 -0500)]
Merge pull request #15389 from gregsfortytwo/wip-18126
qa: do not restrict valgrind runs to centos
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 17 Jun 2017 13:33:40 +0000 (09:33 -0400)]
os/bluestore: better debug output on unsharing blobs
Looking for http://tracker.ceph.com/issues/20227
Signed-off-by: Sage Weil <sage@redhat.com>
Leo Zhang [Sat, 17 Jun 2017 10:58:38 +0000 (18:58 +0800)]
.gitignore: exclude rpm files
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
Kefu Chai [Sat, 17 Jun 2017 03:00:34 +0000 (11:00 +0800)]
Merge pull request #15618 from liupan1111/wip-fix-comment
tools/rados: fixed typo in help information
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Sat, 17 Jun 2017 02:19:07 +0000 (22:19 -0400)]
Merge pull request #15720 from ShiqiCooperation/rbdshiqi
test/unittest_librbd: remove unused variables
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Greg Farnum [Wed, 14 Jun 2017 22:00:04 +0000 (15:00 -0700)]
mgr: print a more helpful error message for when users lack mgr cephx caps
Add some brief documentation on updating their caps and link to it.
Fixes: http://tracker.ceph.com/issues/20296
Signed-off-by: Greg Farnum <gfarnum@redhat.com>