Commit Graph

81817 Commits

Author SHA1 Message Date
Casey Bodley
b589b73c70 cmake: add WITH_BOOST_CONTEXT option
adds a more specific option for this boost::context dependency, which was
previously only used by the radosgw beast frontend. see
http://tracker.ceph.com/issues/20048 for more background

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-05 14:55:23 -05:00
Casey Bodley
d85f42dd69 cmake: remove Beast submodule and include path
the beast library is included in boost 1.66

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-05 14:55:23 -05:00
Casey Bodley
a66a644929 rgw: update beast frontend for boost 1.66
Fixes: http://tracker.ceph.com/issues/22600

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-05 14:55:16 -05:00
Casey Bodley
0e47a339df cmake: update minimum boost version to 1.66
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-05 13:52:47 -05:00
Yuri Weinstein
135c0a0104
Merge pull request #19279 from taoCH/wip-fix-librgw-shutdown-err
librgw: fix shutdown err with resources uncleaned

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-01-05 08:42:12 -08:00
Yuri Weinstein
3b033d8e81
Merge pull request #19394 from zhangsw/cleanup-rgw-datasync-lease_cr
rgw: lease_cr->go_down is called twice, remove the needless one.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-05 08:41:42 -08:00
Kefu Chai
92eae109a3
Merge pull request #19725 from shinobu-x/osd_max_object_size
osd,os/bluestore: Display current size of osd_max_object_size

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-06 00:02:28 +08:00
Kefu Chai
6a817b90c6
Merge pull request #19718 from ifed01/wip-ifed-freelist-cleanup
os/bluestore: refactor FreeListManager to get clearer view on the number

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-05 23:59:58 +08:00
Casey Bodley
b99dae03c3
Merge pull request #18324 from Jeegn-Chen/wip-bucket-quota-api
rgw: Admin API Support for bucket quota change

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-05 10:52:30 -05:00
Kefu Chai
44bbb372a4
Merge pull request #19719 from shinobu-x/bluestore_extentmap_dup
bluestore: BlueStore::ExtentMap::dup impl

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-05 23:50:29 +08:00
Kefu Chai
2775cc9aa3
Merge pull request #19698 from Liuchang0812/cleanup-ceph-tool
ceph: add the right bracket to watch-channel argument in the help message

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-05 23:43:30 +08:00
Kefu Chai
16a1a02e70
Merge pull request #19660 from cfanz/tmp
include/encoding: fix compat version error message

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-05 23:35:54 +08:00
Kefu Chai
b77ad3ae37
Merge pull request #19654 from yaozongyou/test-fix-memory-leak
test: fix unittest memory leak to silence valgrind

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-05 23:16:06 +08:00
Kefu Chai
4fda7cc599
Merge pull request #19598 from jcsp/wip-22457
packaging: explicit jinja2 dependency for dashboard

Reviewed-by: Wido den Hollander <wido@42on.com>
2018-01-05 23:15:04 +08:00
Nathan Cutler
bdeaae016a
Merge pull request #19792 from joscollin/wip-doc-cephfs
doc: add mount.fuse.ceph to index

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-01-05 15:58:36 +01:00
Jos Collin
a925bb4520 doc: fix typo
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-05 19:37:31 +05:30
Jos Collin
db23f4ce30 doc: add mount.fuse.ceph to index
Added mount.fuse.ceph to index.rst

Fixes: http://tracker.ceph.com/issues/22595
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-05 19:29:55 +05:30
Haomai Wang
e4a0cb5843
Merge pull request #19559 from liu-chunmei/fix_dpdk_bug_base_spdk
osd: fix dpdk runtime issue based on spdk/dpdk libarary

Reviewed-by: Haomai Wang <haomai@xsky.com>
2018-01-05 11:58:53 +08:00
Jeegn Chen
0cbd26e88d doc: Add usage doc for individual bucket quota Admin API
Add usage doc for a new Admin API for individual bucket quota management

Fixes: http://tracker.ceph.com/issues/21811
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
2018-01-05 01:48:51 +00:00
chunmei Liu
c9051fbad3 osd: fix dpdk runtime issue based on spdk/dpdk libarary
1.misunderstand mbuf_overhead before, so correct it.
2.spdk/dpdk library will set refcnt, so needn't set it here.
3.avoid dpdk library modification. when create memory pool set elt_size as
mbuf_overhead + mbuf_data_size to avoid dpdk library check size assert.
4. call rte_pktmbuf_prefree_seg to set mbuf->next = null avoid dpdk/lib
modification .
5. use memzon to allocate mbuf data part, so these data buf can be
processes the same way as mbuf allocated by mempool create.

Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
2018-01-04 13:38:54 -08:00
Patrick Donnelly
7705e59a52
Merge PR #19766 into master
* refs/pull/19766/head:
	mds: fix typo

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-04 11:31:19 -08:00
Gregory Farnum
79e83d27de
Merge pull request #19756 from shinobu-x/objecter_unique_lock
osdc: Do not use lock_guard as unique_lock

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-04 09:58:20 -08:00
Patrick Donnelly
f6e1a797d4
Revert "Merge PR #19369 into master"
This reverts commit 3189ba19a7, reversing
changes made to b7620de020.

Despite the change in json format being positive, the unfortunate side-effect
is that it broke upgrade testing (because the QA framework must handle the
transition of mdsmap["info"] to a list from object) and the ceph-mgr.

Fixes: http://tracker.ceph.com/issues/22527
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-04 09:42:37 -08:00
Sage Weil
4edaf0accc
Merge pull request #19763 from tchaikov/wip-cmake
cmake: pass static linkflags to the linker who links libcommon

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-04 11:11:49 -06:00
Sage Weil
b33191279f
Merge pull request #19780 from tchaikov/wip-22266
tools/ceph_monstore_tool: include mgrmap in initial paxos epoch

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-04 08:32:36 -06:00
Kefu Chai
f3f2a8bad4 tools/ceph_monstore_tool: include mgrmap in initial paxos epoch
before this change, the "mgr" map is not included paxos, thus why the
peon mon fails to have the mgr map after it is sync'ed with its leader.
and hence there is chance that ceph-mgr is unable to get a mgr map from
the monitor it is connected to.

Fixes: http://tracker.ceph.com/issues/22266
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-04 21:21:55 +08:00
Kefu Chai
75c5e5cc26 cmake: pass static linkflags to the linker who links libcommon
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-04 19:44:04 +08:00
Jeegn Chen
46b1186f14 rgw: Add URL format support for bucket quota modification
Allow admin to change the quota of a individual bucket through Admin API
with params in URL

Fixes: http://tracker.ceph.com/issues/21811
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
2018-01-04 06:56:49 +00:00
Jeegn Chen
b2893d1710 rgw: Admin API Support for bucket quota change
Allow admin to change the quota of a individual bucket through Admin API

Fixes: http://tracker.ceph.com/issues/21811
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
2018-01-04 06:56:49 +00:00
dongdong tao
11ed05c71f mds: fix typo
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2018-01-04 11:47:28 +08:00
Matt Benjamin
6b72f45613
Merge pull request #19768 from cbodley/wip-rgw-cache-dedeque
rgw: change ObjectCache::lru from deque back to list
2018-01-03 17:19:16 -05:00
Casey Bodley
25b27b5c9d rgw: add invalidate_lru() call back to ObjectCache::put()
the removal of this line was causing s3test failures independently of
the change from list-deque

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-03 16:29:36 -05:00
Casey Bodley
3fa6a3fadc rgw: change ObjectCache::lru from deque back to list
ObjectCacheEntry stores an lru_iter into this lru, and depends on that
iterator remaining valid as other entries are inserted/erased

Fixes: http://tracker.ceph.com/issues/22560

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-03 14:39:03 -05:00
Sage Weil
819a3578fa Merge tag 'v13.0.1' 2018-01-03 10:04:20 -06:00
Sage Weil
9cce242776 v13.0.1
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-03 10:03:39 -06:00
Mykola Golub
a5fd0e71d1
Merge pull request #19724 from dillaman/wip-18480
rbd: support cloning an image from a non-primary snapshot

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-01-03 14:11:25 +02:00
Yan, Zheng
0abcf5785a
Merge pull request #19750 from badone/wip-dump_loads-formatter-null-check
mds: Remove redundant null pointer check
2018-01-03 19:08:24 +08:00
Shinobu Kinjo
dae91f363b osdc: Do not use lock_guard as unique_lock
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2018-01-03 04:19:57 -05:00
Kefu Chai
37282f2158
Merge pull request #19752 from Liuchang0812/cleanup-dev-doc
doc: fix CFLAGS in doc/dev/cpu-profiler.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-03 15:46:25 +08:00
Chang Liu
489ef0f2be doc: fix CFLAGS in doc/dev/cpu-profiler.rst
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2018-01-03 15:19:06 +08:00
Brad Hubbard
5132a1ce38 mds: Remove redundant null pointer check
Resolves Coverity CID 1426746

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-01-03 13:06:26 +10:00
Jason Dillaman
e4b8ae348b
Merge pull request #19666 from trociny/wip-nbd-unmap-by-image
rbd-nbd: allow to unmap by image or snap spec

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-02 20:35:30 -05:00
vasukulkarni
5d7813f612
Merge pull request #19745 from ceph/wip-use-installer0-master2
qa/tests - Added options to use both cases: mon.a and installer.0
2018-01-02 14:22:47 -08:00
Yuri Weinstein
10fc85089c qa/tests - Added options to use both cases: mon.a and installer.0
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-01-02 10:12:54 -08:00
John Spray
81fc8e0376
Merge pull request #19512 from Liuchang0812/wip-dashboard-rgw
mgr/dashboard: RGW page

Reviewed-by: John Spray <john.spray@redhat.com>
2018-01-02 17:57:58 +00:00
Sage Weil
089e287e3c
Merge pull request #19645 from tchaikov/wip-install-deps
install-deps: use DTS-7 on aarch64 and only download mirrored package indexes

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2018-01-02 11:54:23 -06:00
Casey Bodley
afdea9f371
Merge pull request #19375 from qrGitHub/wip-rgw-redundant-parenthesis
rgw: remove redundant parenthesis in logs

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-01-02 12:26:45 -05:00
Kefu Chai
48a5b34ab9
Merge pull request #19650 from yaozongyou/fix-erasure-code-memory-leak
erasure-code: use jerasure_free_schedule to properly free a schedule

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-03 00:16:41 +08:00
Kefu Chai
cfba91fc34
Merge pull request #19649 from yaozongyou/fix-dns-resolve-memory-leak
common/dns_resolve: fix memory leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-03 00:12:54 +08:00
Jason Dillaman
5e659a63e0
Merge pull request #19659 from Songweibin/wip-doc-rbd
doc/rbd: add missing several commands in rbd CLI man page

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-02 11:09:58 -05:00