Sage Weil
0973c371f6
Merge pull request #19816 from tchaikov/wip-22596
...
qa/standalone: remove osd-map-max-advance related tests
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-06 10:25:12 -06:00
Kefu Chai
b07aa210aa
rpm: adjust ceph-{osdomap,kvstore,monstore}-tool feature move
...
this is the rpm's counterpart of debian/control changes related to the
ceph-{osdomap,kvstore,monstore}-tool feature move. see #19328 and #19356 .
the commit introducing this move is 6dba25e
. and
$ git describe 6dba25e
v12.2.2-8-g6dba25e39d
so the first release that have this change is 12.2.2-8. in other words,
ceph-{base,osd,mon} >= 12.2.2.8 cannot co-exist with ceph-test < 12.2.2-8
in the same system. so we let ceph-test Requires ceph-common with the
same version. and since ceph-{osd,mon} Requires ceph-base with the same
version, and ceph-base Requires ceph-common with the same version, so by
tiering ceph-test with ceph-common with the same version, we enforce
this restriction.
Fixes: http://tracker.ceph.com/issues/22558
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-06 20:00:54 +08:00
Kefu Chai
e7097593a7
qa/standalone: remove osd-map-max-advance related tests
...
this setting was removed in 8967b73
Fixes: http://tracker.ceph.com/issues/22596
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-06 19:40:15 +08:00
Bingyin Zhang
3e0e1a029a
rgw: optimize function parse_raw_oid
...
* drop redundant checks
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2018-01-06 14:38:05 +08:00
Kefu Chai
077351fab7
Merge pull request #19808 from cbodley/wip-boost-1.66
...
cmake: update minimum boost version to 1.66
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-06 11:35:44 +08:00
Xuehan Xu
7e0a27a5c8
common: compute SimpleLRU's size with contents.size() instead of lru.size()
...
As libstdc++ earlier than version 5 implement the list::size() as a O(n) operation,
this should be needed to avoid regression of various ceph component's performance.
Signed-off-by: Xuehan Xu <xuxuehan@360.cn>
2018-01-06 10:42:32 +08:00
dongdong tao
fa796a0593
mds: clean up log's function name for CDir.cc and Beacon.cc
...
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2018-01-06 10:27:03 +08:00
dongdong tao
dc2ed13123
mds: clean up log's function name for CDentry.cc
...
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2018-01-06 10:26:50 +08:00
dongdong tao
d5f11b19ca
mds: clean up log's function name for CInode.cc
...
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2018-01-06 10:26:36 +08:00
Shinobu Kinjo
e691a27de7
osd: Remove redundant local variable declaration
...
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2018-01-06 11:06:33 +09:00
Matt Benjamin
d1ec523427
Merge pull request #19358 from taoCH/wip-librgw-multitenancy
...
librgw: export multitenancy support
2018-01-05 15:49:14 -05:00
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
01f9b599e6
Merge pull request #19806 from cbodley/wip-common-escape
...
common: add streaming interfaces for json/xml escaping
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-05 14:29:23 -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
Casey Bodley
688cc25755
common: add streaming interfaces for json/xml escaping
...
adds stream output operators that escape json/xml strings without having
to allocate a separate output buffer
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-05 13:26:25 -05:00
Casey Bodley
dff9562098
test: EscapeJson.Utf8 uses json instead of xml
...
the xml version does not escape the \n, while json does
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-05 12:38:13 -05:00
Casey Bodley
b2960e4721
test: use hex string literals
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-05 12:38:08 -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
58fe27ebc2
common/perf_counters: remove unused parameter
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-05 23:52:10 +08: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
Mingxin Liu
dc279bdd86
osd: use next_map to determine if peer is down
...
or peer was once down after this msg had been sent out
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
2018-01-05 18:56:56 +08:00
fang yuxiang
69edaa1ee0
rgw: update quota is inconsistent at add/del object with compression
...
Fixes: http://tracker.ceph.com/issues/22568
Signed-off-by: fang yuxiang fang.yuxiang@eisoo.com
2018-01-05 14:10:58 +08:00
Jos Collin
a068fd842f
doc: fix heading
...
Fixed 'Which kernel version?' heading not having brown color background.
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-05 11:24:28 +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
dongdong tao
06ce613779
client: make mark_caps_clean and mark_caps_dirty as member function to Inode
...
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2018-01-05 11:18:29 +08:00
dongdong tao
aeb920be8a
client: fix dirty caps might never be flushed
...
Fixes: http://tracker.ceph.com/issues/22546
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2018-01-05 11:15:01 +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
Jason Dillaman
f691ad1b93
doc/rados: document new class method whitelisting cap syntax
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-04 16:56:51 -05:00
Jason Dillaman
8ced644ccf
osd: caps now support whitelisting execution of class methods
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-04 16:52:00 -05: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
Jason Dillaman
132624da7f
osd: track class methods when evaluating caps
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-04 16:37:19 -05: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
fang yuxiang
2062969107
rgw: keep compression type consistent between parts of s3 Multipart
...
Signed-off-by: fang yuxiang fang.yuxiang@eisoo.com
2018-01-05 02:10:18 +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
Jason Dillaman
f309180b96
admin/build-doc: support renamed python2 RPMs
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-04 09:55:16 -05:00