John Spray
744160d784
client: fix compat version on MStatfs
...
Fixes: http://tracker.ceph.com/issues/21078
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-23 15:29:14 +01:00
Patrick Donnelly
aaed30f523
Merge PR #16959 into master
...
* refs/remotes/upstream/pull/16959/head:
client: skip lookupname if writing to unlinked file
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-08-23 07:07:10 -07:00
Patrick Donnelly
554360785e
Merge PR #17053 into master
...
* refs/remotes/upstream/pull/17053/head:
qa: add chown test clearing S_ISGID and S_ISUID
ceph-fuse: load supplementary groups by default
client: clear suid/sgid bits on non-zero write
client: add missing space in debug msg
cephfs: clear suid/sgid if regular file is exe
client: refactor clear set uid/gid if -1
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-08-23 07:03:43 -07:00
Patrick Donnelly
772d1d5279
Merge PR #17122 into master
...
* refs/remotes/upstream/pull/17122/head:
mds: check cap string only if !allow_all
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-08-23 06:49:13 -07:00
Patrick Donnelly
75967dbfe7
Merge PR #17111 into master
...
* refs/remotes/upstream/pull/17111/head:
qa: add health whitelist for kcephfs suite
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-23 06:49:11 -07:00
Patrick Donnelly
8e6e3c68fc
Merge PR #17054 into master
...
* refs/remotes/upstream/pull/17054/head:
mds: Initializing uninitiazed members SnapServer
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-23 06:49:10 -07:00
Jason Dillaman
c851ad0efc
Merge pull request #17184 from PCzhangPC/rmconv
...
rbd:rm unnecessary conversion from string to char* in image-meta function
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-23 07:21:07 -04:00
Jason Dillaman
9bfc0301ef
Merge pull request #17186 from trociny/wip-librados_test_stub-zero-snap
...
test/librados_test_stub: pass snap context to zero op
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-23 07:09:03 -04:00
PCzhangPC
192f937aff
rbd:rm unnecessary conversion from string to char* in image-meta function
...
the APIs in librbd receive string type as parameter, so there is no need to convert string to char* in image-meta function
Signed-off-by: PCzhangPC <pengcheng.zhang@easystack.cn>
2017-08-23 18:11:53 +08:00
xie xingguo
bc3e6e2cea
osd/PG: calc_replicated_acting - better tips
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-23 16:41:26 +08:00
xie xingguo
fe1b57da31
osd/PG: calc_ec_acting - kill "usable"
...
which has no consumers.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-23 16:41:26 +08:00
Kefu Chai
1c18b5cb0c
osd/PGBackend: delete reply if fails to complete delete request
...
if any of the objects fails to be deleted due to pg reset after latest
osdmap, the pg recovery delete reply won't be sent to the primary OSD.
in that case, we should delete the reply.
Fixes: http://tracker.ceph.com/issues/20913
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-23 16:37:04 +08:00
Mykola Golub
78ca0fde22
test/librados_test_stub: pass snap context to zero op
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-08-23 09:46:42 +02:00
Kefu Chai
12dcd74538
common/obj_bencher: set {min,max}_iops if runtime < 1 sec
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-23 15:31:32 +08:00
xie xingguo
e128a1e913
mon/OSDMonitor: fix improper input/testing range of crush somke testing
...
CrushTester::test() will reset testing range to [0, 1023] whenever
min_x or max_x is negative and the constructor of CrushTester will
always default min_x and max_x to -1.
Thus to set the test range correctly, you have to specify both min_x and max_x.
Local test shows this patch shall decrease the time consumed by the crush
smoke testing to approximate 1/20 of those without this.
For exmaple:
crush somke test duration: 0.668354 seconds ->
crush somke test duration: 0.012592 seconds
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-23 13:50:29 +08:00
mychoxin
dfa88474b8
os/bluestore: move assert of read/write to base class
...
Signed-off-by: mychoxin <mychoxin@gmail.com>
2017-08-23 13:29:36 +08:00
Kefu Chai
a3c9389e5e
Merge pull request #17154 from ktdreyer/doc-cat
...
doc: eliminate useless cat statement
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-23 12:35:00 +08:00
Patrick Donnelly
94a62a3dff
mon: get writeable osdmap for added data pool
...
Continuation of: 435717791e
Fixes: http://tracker.ceph.com/issues/21064
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-22 21:26:00 -07:00
Zhu Shangzhong
0cb4d379fd
client: add blank space between function name and inode number for log
...
Fixes: http://tracker.ceph.com/issues/21069
Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
2017-08-23 10:20:17 +08:00
Yuri Weinstein
2476469074
Merge pull request #16127 from ZVampirEM77/wip-obj-acl-bug
...
rgw: fix obj copied from remote gateway acl full_control issue
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-08-22 19:17:55 -07:00
Yuri Weinstein
7281f59444
Merge pull request #17041 from dengxiafubi/EAS-1
...
rgw: exit early if rgw_bucket_set_attrs() fails
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-08-22 19:16:18 -07:00
Kefu Chai
c5ee5d1faa
Merge pull request #17065 from tchaikov/wip-20785
...
mon/OSDMonitor: do not send_pg_creates with stale info
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-08-23 10:02:37 +08:00
Dan Mick
05f16b490e
Merge pull request #17168 from ceph/wip-volume-man-fix
...
doc: include ceph-disk and ceph-disk-volume man pages in index
Reviewed-by: Dan Mick <dmick@redhat.com>
2017-08-22 16:37:35 -07:00
Alfredo Deza
10c75e225b
doc add ceph-volume and ceph-volume-systemd man pages to CMakeLists file
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 18:05:03 -04:00
Alfredo Deza
1c5b99b2f3
doc: include ceph-disk and ceph-disk-volume man pages in index
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 17:56:40 -04:00
Yuri Weinstein
e004685520
Merge pull request #16836 from heyingstar/bug-ms_dump_on_send-doubledata
...
messages/MOSDOp: a fixes of encode_payload
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2017-08-22 13:39:12 -07:00
Yuri Weinstein
294dec300c
Merge pull request #17079 from joscollin/wip-use-after-free
...
msg: drop the unnecessary polling_stop()
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-08-22 13:17:48 -07:00
Casey Bodley
5e67c681f7
Merge pull request #16344 from rzarzynski/wip-rgwqa-tempest
...
rgw, qa: integrate Tempest to verify RadosGW's compliance with Swift API
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-08-22 15:02:15 -04:00
Casey Bodley
568c3f3a23
qa/rgw: enable 'rgw' application on created pools
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-22 14:37:02 -04:00
Casey Bodley
7c865effd8
qa: add optional 'application' to pool creation helpers
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-22 14:37:02 -04:00
Yuri Weinstein
c5ee282dcb
Merge pull request #16818 from theanalyst/rgw-lc-add-filter-2
...
rgw_lc: add support for optional filter argument and make ID optional
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-08-22 10:04:23 -07:00
Yuri Weinstein
fb90cbbd95
Merge pull request #17116 from Synesis-LLC/fix-20934
...
rgw: Prevent overflow of cached stats values
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-08-22 09:56:34 -07:00
Alfredo Deza
e62a28ccd5
Merge pull request #17152 from ceph/wip-rm21030
...
create the ceph-volume and ceph-volume-systemd man pages
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-08-22 11:49:13 -04:00
Alfredo Deza
3ffae03df6
rpm: include ceph-volume and ceph-volume-systemd man pages
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 11:22:52 -04:00
Alfredo Deza
a20015636c
debian: include ceph-volume and ceph-volume-systemd man pages
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 11:20:47 -04:00
Ken Dreyer
3abc975985
doc: eliminate useless cat statement
...
Useless Use of Cat Award!
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-08-22 09:15:31 -06:00
Kefu Chai
85b63670d9
Merge pull request #17039 from dzafman/wip-18206
...
osd: Fixes for osd_scrub_during_recovery handling
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-22 22:50:24 +08:00
xie xingguo
507f970b56
crush: fix type mismatch
...
Pool IDs are of type int64_t instead of uint64_t.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:45:49 +08:00
xie xingguo
d62c9f16cb
crush: fix bucket_adjust_item_weight() won't update weight-set correctly
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:45:49 +08:00
xie xingguo
dc8f925cb4
crush: CrushWrapper::add_bucket - do not allow caller pass in null 'idout'
...
*** Caught signal (Segmentation fault) **
in thread 7f495c0f6300 thread_name:crushtool
ceph version 12.1.2-768-gab69125 (ab6912523e779174f92f0b0fc10372bd0b645415) mimic (dev)
1: (()+0x1a3d1) [0x7f495c1343d1]
2: (()+0xf370) [0x7f4951deb370]
3: (CrushWrapper::add_bucket(int, int, int, int, int, int*, int*, int*)+0x84) [0x7f49538ba084]
4: (CrushCompiler::parse_bucket(__gnu_cxx::__normal_iterator<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> >*, std::vector<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> >, std::allocator<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> > > > > const&)+0xef0) [0x7f49538dc170]
5: (CrushCompiler::parse_crush(__gnu_cxx::__normal_iterator<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> >*, std::vector<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> >, std::allocator<boost::spirit::tree_node<boost::spirit::node_val_data<char const*, boost::spirit::nil_t> > > > > const&)+0x130) [0x7f49538dcba0]
6: (CrushCompiler::compile(std::istream&, char const*)+0xb93) [0x7f49538deaa3]
7: (main()+0x2615) [0x7f495c126015]
8: (__libc_start_main()+0xf5) [0x7f49507ccb35]
9: (()+0xf4b0) [0x7f495c1294b0]
2017-08-14 13:31:25.498050 7f495c0f6300 -1 *** Caught signal (Segmentation fault) **
in thread 7f495c0f6300 thread_name:crushtool
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:45:48 +08:00
Alfredo Deza
1e2d9f1438
doc index the ceph-volume and ceph-volume-systemd man pages
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 10:36:33 -04:00
Alfredo Deza
2e08bee8ca
doc/man create the ceph-volume man page
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 10:35:45 -04:00
Alfredo Deza
7c714e397d
doc/man create the ceph-volume-systemd man page
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 10:35:33 -04:00
xie xingguo
0c8ca02727
crush: update crush_choose_arg_map size on resizing
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:14:28 +08:00
xie xingguo
0e1d37f6f3
crush: fix bucket_remove_item() won't update weight-set simultaneously
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:14:27 +08:00
xie xingguo
475bddab51
crush: fix bucket_add_item() won't update weight-set simultaneously
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:14:27 +08:00
xie xingguo
859b066adf
crush: fix bucket index to weight-set
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 22:14:27 +08:00
Zhu Shangzhong
6b75f2d840
doc/cephfs: s/rados_max_object_size/osd_max_object_size
...
Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
2017-08-22 21:51:28 +08:00
songweibin
77e735bb00
osd/PG: drop unused variable "oldest_update"
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-08-22 20:32:15 +08:00
Alfredo Deza
9aa44969c6
Merge pull request #17127 from tchaikov/wip-doc-cleanups
...
doc/conf.py: do not set html_use_smartypants explicitly
Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 07:07:21 -04:00