Kefu Chai
46de2caa18
Merge pull request #17058 from xiexingguo/wip-crush-compiler
...
crush: fix CrushCompiler won't compile maps with empty shadow tree
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-24 23:05:58 +08:00
Kefu Chai
b5f64dd5df
Merge pull request #17034 from xiexingguo/wip-class-ls-osd
...
mon/OSDMonitor: add plain output for "crush class ls-osd" command
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-24 23:05:12 +08:00
Kefu Chai
2df0815e51
Merge pull request #17179 from xiexingguo/wip-crush-smoke-test
...
mon/OSDMonitor: fix improper input/testing range of crush somke testing
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-24 23:04:21 +08:00
Kefu Chai
6d271abb32
Merge pull request #17183 from tchaikov/wip-20913
...
osd/PGBackend: delete reply if fails to complete delete request
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-08-24 22:33:31 +08:00
Sage Weil
893b3ac6fa
Merge pull request #17227 from liewegas/wip-jewel-x
...
qa/suites/upgrade/jewel-x/parallel: tolerate laggy mgr
2017-08-24 09:30:31 -05:00
Sage Weil
bf296018ff
qa/suites/upgrade/jewel-x/parallel: tolerate laggy mgr
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-24 10:30:01 -04:00
Sage Weil
d3632fd2f9
Merge pull request #17226 from liewegas/wip-jewel-x
...
qa/suites/upgrade/jewel-x/stress-split: tolerate sloppy past_intervals
2017-08-24 09:27:44 -05:00
Sage Weil
d5d5d7d1d2
qa/suites/upgrade/jewel-x/stress-split: tolerate sloppy past_intervals
...
This is harmless in general, esp during upgrade.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-24 10:23:22 -04:00
Sage Weil
511f71c10d
Merge pull request #17190 from amitkumar50/cov-test-1
...
test: Checking fd for negative before closing
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-24 08:41:07 -05:00
amitkuma
1666d9aa81
test: Checking fd for negative before closing
...
Fixes the coverity issue:
** 1395317 Argument cannot be negative
161. negative_return_fn: Function open("bufferlist", 0) returns a
negative number.
162. var_assign: Assigning: signed variable fd = open.
Signed-off-by: Amit Kumar amitkuma@redhat.com
2017-08-24 22:48:02 +05:30
Patrick Donnelly
270f1edaae
Merge PR #17205 into master
...
* refs/remotes/upstream/pull/17205/head:
client: fix locking in Client::getcwd
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-23 20:48:22 -07:00
Patrick Donnelly
7a317809b3
Merge PR #17204 into master
...
* refs/remotes/upstream/pull/17204/head:
fuse: use c++ allocations for group list
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-23 20:48:20 -07:00
Patrick Donnelly
7952d66db2
Merge PR #17199 into master
...
* refs/remotes/upstream/pull/17199/head:
client: fix compat version on MStatfs
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2017-08-23 20:48:13 -07:00
Kefu Chai
49c65c73f2
Merge pull request #17121 from zmedico/PGPool-update-optimize-with-interval_set-swap
...
PGPool::update: optimize with interval_set.swap
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-24 09:22:53 +08:00
Xie Xingguo
bedec98a90
Merge pull request #17014 from xiexingguo/wip-various-weight-set-fix
...
crush: various weight-set fixes
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-24 08:29:50 +08:00
Xie Xingguo
e0ff2b38f8
Merge pull request #17099 from xiexingguo/wip-stuck-op-count
...
mon/PGMap: fix "0 stuck requests are blocked > 4096 sec" warn
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-24 08:21:36 +08:00
Sage Weil
4f1fca0483
Merge pull request #17203 from liewegas/wip-jewel-x
...
qa/suites/upgarde/jewel-x/parallel: tolerate mgr warning
2017-08-23 17:21:37 -05:00
Alfredo Deza
6bf848c6ce
Merge pull request #17207 from ceph/wip-bz1484002
...
ceph-volume: use unique logical volumes
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-08-23 17:43:19 -04:00
Yehuda Sadeh
0c23c42678
Merge pull request #12429 from yehudasa/wip-meta-stream
...
rgw: stream metadata full sync init
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-08-23 12:59:19 -07:00
Matt Benjamin
25ffe9c30d
Merge pull request #16926 from fangyuxiangGL/infinitely-send-data-log-list
...
rgw: break sending data-log list infinitely
2017-08-23 15:57:41 -04:00
Matt Benjamin
1e1731e663
Merge pull request #16612 from cbodley/wip-20668
...
rgw: fixes for multisite replication of encrypted objects
2017-08-23 15:57:02 -04:00
Alfredo Deza
fbce7ad593
ceph-volume tests centos7 use the new ansible syntax for lvm
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-23 15:37:42 -04:00
Alfredo Deza
8f0f202ec4
ceph-volume tests use the new ansible syntax for lvm
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-23 15:37:42 -04:00
Alfredo Deza
7584d64c0f
ceph-volume tests create tests for the get_lv helper method
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-23 15:37:42 -04:00
Alfredo Deza
d5eb9640aa
ceph-volume tests create tests for the new arg validator
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-23 15:37:42 -04:00
Alfredo Deza
0ce77806bd
ceph-volume util create a validator module for argparse
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-23 15:37:42 -04:00
Alfredo Deza
192fe4e1dd
ceph-volume lvm.prepare enforce usage of vg/lv when preparing lvm devices
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-23 15:37:41 -04:00
Sage Weil
5455f599b3
qa/suites/upgrade/jewel-x/parallel: tolerate OBJECT_MISPLACED
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-23 14:24:00 -04:00
Sage Weil
2504ab1675
qa/suites/upgarde/jewel-x/parallel: tolerate mgr warning
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-23 14:22:34 -04:00
Patrick Donnelly
2084b96de4
Merge PR #17175 into master
...
* refs/remotes/upstream/pull/17175/head:
client: add blank space between function name and inode number for log
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-23 10:56:09 -07:00
Patrick Donnelly
019eefa84f
Merge PR #17150 into master
...
* refs/remotes/upstream/pull/17150/head:
doc/cephfs: s/rados_max_object_size/osd_max_object_size
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-23 10:54:30 -07:00
Jeff Layton
7290972925
client: fix locking in Client::getcwd
...
Currently, it doesn't take the client_lock at all, which is problematic
as make_request may very well end up unlocking it. Rename the current
function to _getcwd, and add a new getcwd wrapper that takes the mutex
before calling _getcwd.
This fixes: http://tracker.ceph.com/issues/21082
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2017-08-23 13:49:40 -04:00
Alfredo Deza
a0286da13b
ceph-volume lvm.common update help values for vg/lv usage
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-23 13:34:14 -04:00
Alfredo Deza
f907f7a91d
ceph-volume lvm.create update docstring for vg/lv usage
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-23 13:34:13 -04:00
Alfredo Deza
cc023aa341
ceph-volume lvm.prepare update docstring for vg/lv usage
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-23 13:34:13 -04:00
Casey Bodley
47ffcb1caf
Merge pull request #17162 from cbodley/wip-qa-rgw-pool-application
...
qa/rgw: use 'ceph osd pool application enable' on created pools
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-08-23 12:52:33 -04:00
Patrick Donnelly
064aaa6931
Merge PR #17163 into master
...
* refs/remotes/upstream/pull/17163/head:
mon: get writeable osdmap for added data pool
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-23 09:52:10 -07:00
Jeff Layton
f4fe5e2d52
fuse: use c++ allocations for group list
...
Valgrind is unhappy about our turning on supplimentary group handling
with fuse by default. The problem is that we end up calling delete to
free the supplimentary gids list, but fuse uses malloc to allocate it.
Note that I was initially concerned that I needed to use malloc and
free there to handle the case of userland calling ceph_userperm_new,
but we leave freeing the pointer up to the caller in that case.
Convert fuse to use new/delete to allocate and free the group lists
instead.
Tracker: http://tracker.ceph.com/issues/21065
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2017-08-23 12:13:14 -04:00
Josh Durgin
db16d50cc5
Merge pull request #17075 from ivancich/wip-adjust-dup-ops-options
...
osd: adjust osd_min_pg_log_entries
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-08-23 08:53:09 -07:00
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
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