songweibin
19dd4203eb
common: add new line break when get command descriptions
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-08-18 08:54:07 +08:00
songweibin
992829d38c
rbd: adding newline operation when only '--format' used
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-08-18 08:54:07 +08:00
songweibin
47e7549826
rbd: '--pretty-format' should return error if '--format' not used
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-08-08 19:26:59 +08:00
Kefu Chai
a8c2b10439
Merge pull request #16620 from cfanz/master
...
common: use std::move() for better performance
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-01 17:45:06 +08:00
Kefu Chai
69607f8092
Merge pull request #16526 from TsaiJin/wip-fix-msg-typo
...
msg/async: fix the bug of inaccurate calculation of l_msgr_send_bytes
Reviewed-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-08-01 17:40:27 +08:00
Kefu Chai
24742cf3ef
Merge pull request #16666 from scienceluo/wip-luo-auth-branch
...
auth: Remove unused function in AuthSessionHandler
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 17:38:08 +08:00
Josh Durgin
61908ac890
Merge pull request #16622 from dillaman/wip-cmpext-dne
...
osd: cmpext operator should ignore -ENOENT on read
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-31 23:52:43 -07:00
Kefu Chai
c4b25b114d
Merge pull request #16677 from tchaikov/wip-20785
...
osd: do not send pg_created unless luminous
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-01 13:12:53 +08:00
David Zafman
901f14aa7c
Merge pull request #16663 from dzafman/wip-ec-enoent
...
osd: EC read handling: don't grab an objectstore error to use as the read error
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-31 18:19:02 -07:00
Jos Collin
7e9d87fa2e
Merge pull request #16681 from shun-s/wip-doc-config
...
doc: fix typos in config.rst
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-01 00:59:06 +00:00
Gregory Farnum
b16b973e39
Merge pull request #16695 from tchaikov/wip-cmake-disable-vta
...
cmake: disable -fvar-tracking-assignments for config.cc
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-31 15:05:23 -07:00
Gregory Farnum
861225339d
Merge pull request #16697 from wjwithagen/wip-wjw-ENODATA-HashIndex.cc
...
HashIndex.cc: add compat.h for ENODATA
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-31 14:59:43 -07:00
Adam C. Emerson
d02db19cf8
Merge pull request #16689 from pritha-srivastava:wip-rgw-policy-parse-error
...
rgw: Fix for Policy Parse exception in case of multiple statements.
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2017-07-31 14:43:58 -04:00
Adam C. Emerson
bf223bab68
Merge pull request #16661 from adamemerson/wip-throttle-minimal
...
throttle: Minimal destructor fix for Luminous
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-31 14:08:20 -04:00
Adam C. Emerson
0f52f486ef
throttle: Minimal destructor fix for Luminous
...
Get rid of the undefined behavior of destroying condition variables
while they're being waited on.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-07-31 13:17:46 -04:00
Jason Dillaman
05b182c1c2
Merge pull request #16547 from dillaman/wip-dashboard-iscsi
...
mgr/dashboard: RBD iSCSI daemon status page
Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-31 10:22:21 -04:00
Song Shun
2556605b79
doc: fix sevral typos
...
fix sevral typos
Signed-off-by: Song Shun <song.shun3@zte.com.cn>
2017-07-31 22:10:51 +08:00
Jason Dillaman
41c251c243
Merge pull request #16670 from Yan-waller/wip-walle-0729rbdcompile
...
cls/rbd: silence warning from -Wunused-variable
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 10:07:45 -04:00
Jason Dillaman
9b3fe6f03b
Merge pull request #16583 from lxbsz/ws_macro
...
librbd: add LIBRBD_SUPPORTS_WRITESAME support
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 09:49:13 -04:00
Yan Jun
b3b1f2cfb2
cls/rbd: silence warning from -Wunused-variable
...
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-31 21:26:13 +08:00
Jason Dillaman
51c7cec7bb
Merge pull request #16694 from Songweibin/wip-doc-rbd
...
rbd: modified some commands' description into imperative sentence
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 09:12:27 -04:00
Willem Jan Withagen
9667222d98
HashIndex.cc: add compat.h for ENODATA
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-31 15:02:53 +02:00
Kefu Chai
8bc029b6af
mon/OSDMonitor: assert(pg in creating_pgs.pg) in send_pg_creates()
...
and mark OSDMonitor::send_pg_creates() a const method.
See-also: http://tracker.ceph.com/issues/20785
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-31 20:58:58 +08:00
Jason Dillaman
a2857c8181
Merge pull request #16686 from amitkumar50/cov-1351525-1
...
rbd: fixed coverity 'Argument cannot be negative' warning
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-07-31 08:53:40 -04:00
Kefu Chai
9dc53c276f
cmake: disable -fvar-tracking-assignments for config.cc
...
there are too many variables involved in config.cc, but
-fvar-tracking-assignments is enabled by default, when the compiler
finds that the number of variables exceeds the limit
"max-vartrack-size", it gives up, and tries again disabling this
option.
this change avoids the recompilation of config.cc and also
silences the warning of
src/common/config.cc:77:1: note: variable tracking size limit exceeded
with -fvar-tracking-assignments, retrying without
md_config_t::md_config_t(bool is_daemon)
^
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-31 20:34:26 +08:00
amitkuma
01fe317d02
rbd: 1351525 Argument cannot be negative
...
Fixed:
** CID 1351525 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)
7. negative_returns: sd is passed to a parameter that cannot be negative.
Signed-off-by: Amit Kumar amitkuma@redhat.com
2017-07-31 17:58:32 +05:30
songweibin
f9a94641e5
rbd: modified some commands' description into imperative sentence
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-07-31 20:25:30 +08:00
John Spray
fa70335db2
Merge pull request #16660 from nrdmn/patch-2
...
doc: added mgr caps to manual deployment documentation
Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-31 11:53:53 +01:00
Pritha Srivastava
358045a032
rgw: Fix for Policy Parse exception in case of multiple statements.
...
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2017-07-31 12:18:38 +05:30
Luo Kexue
e8cf00e8e5
auth: Remove unused function in AuthSessionHandler
...
Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
2017-07-31 08:16:08 +08:00
Kefu Chai
729cf44679
Merge pull request #16627 from liewegas/wip-objecter-eagain
...
osdc/Objecter: unify disparate EAGAIN handling paths into one
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-30 15:33:52 +08:00
Kefu Chai
4357837c7e
Merge pull request #16668 from Yan-waller/wip-walle-0729configoption
...
common: fix Option set_long_description
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-30 13:18:10 +08:00
Kefu Chai
0b54fd90df
mon/OSDMonitor: more verbose message for pg creation
...
See-also: http://tracker.ceph.com/issues/20785
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-30 11:17:15 +08:00
Kefu Chai
4584bff33f
osd: do not send pg_created unless luminous
...
See-also: http://tracker.ceph.com/issues/20785
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-30 11:17:06 +08:00
Xie Xingguo
a977599cae
Merge pull request #16669 from Yan-waller/wip-walle-0729testpglogcompile
...
test/osd: kill compile warning
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-29 13:44:31 +08:00
Yan Jun
7e45879640
test/osd: kill compile warning
...
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-29 11:23:11 +08:00
Kefu Chai
4694cf402f
Merge pull request #16667 from tchaikov/wip-objclass-omap
...
objclass: modify omap_get_{keys,vals} api
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-29 11:10:38 +08:00
Yan Jun
2e04b7e9b9
common: fix Option set_long_description
...
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-29 10:21:43 +08:00
Yehuda Sadeh
57cae0a689
librados_test_stub: use omap_get_vals2() and modify stubs
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-07-29 10:15:40 +08:00
Yehuda Sadeh
bcac5666e3
cls_kvs: adjust objclass api
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-29 10:13:33 +08:00
Yehuda Sadeh
d3de6f5e07
cls_{rbd, journal, lua}: adjust api
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-29 10:13:33 +08:00
Yehuda Sadeh
d5f3b87079
cls/lua: add 'more' param for cls_cxx_map_get_vals()
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-29 10:13:33 +08:00
Yehuda Sadeh
5334622a83
cls/*: adjust use of cls_cxx_map_get_vals()
...
Now that objclass call gets a new 'more' param.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-29 10:13:33 +08:00
Yehuda Sadeh
149bd84891
objclass: add 'more' param to omap listing
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-07-29 10:13:33 +08:00
Jason Dillaman
ea33368c1e
osd: cmpext operator should ignore -ENOENT on read
...
The operator already handles the case where the object is truncated. If
an RBD user performs a read + cmpext/write of a sparse image, the read
of the missing object would return a zeroed buffer. Using that zeroed
buffer for the cmpext test would fail since it wasn't ignoring the
-ENOENT read failure.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-28 19:07:13 -04:00
David Zafman
e03e731abc
osd: EC read handling: don't grab an objectstore error to use as the read error
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-07-28 15:23:53 -07:00
Josh Durgin
06243931ad
Merge pull request #16617 from dillaman/wip-20783
...
osd: moved OpFinisher logic from OSDOp to OpContext
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-28 15:07:17 -07:00
Yuri Weinstein
659a63f7af
Merge pull request #16590 from LianneWang/master
...
ceph_test_rados: max_stride_size must be more than min_stride_size
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-28 15:02:13 -07:00
Yuri Weinstein
26d120d83d
Merge pull request #16615 from tchaikov/wip-no-vla-in-cxx
...
kv/RocksDBStore: use vector instead of VLA for holding slices
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-28 15:01:46 -07:00
Gregory Farnum
dce8e7da86
Merge pull request #16655 from liewegas/wip-osd-warning
...
osd/PG: fix warning so we discard_event() on a no-op state change
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-28 12:52:39 -07:00