Sage Weil
54cf9c11a0
Merge pull request #19043 from liewegas/wip-22161
...
os/bluestore: prevent mount if osd_max_object_size >= 4G
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-19 09:33:30 -06:00
Casey Bodley
b2e431d03a
Merge pull request #19273 from qrGitHub/wip-rgw-typo-UNKNOWN
...
rgw: correct typo UNKOWN to UNKNOWN
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-19 10:16:34 -05:00
Sage Weil
d35fed9e95
Merge pull request #18196 from liewegas/wip-bluestore-sync-onreadable
...
os/bluestore: synchronous on_applied completions
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-12-19 08:22:53 -06:00
John Spray
dc236764ce
Merge pull request #19578 from cernceph/dvanders_brm
...
mgr/balancer: fix KeyError in balancer rm
Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-19 11:40:33 +00:00
Haomai Wang
6e905de9bf
Merge pull request #19586 from liewegas/wip-22231
...
Revert "msg/async/AsyncConnection: unregister connection when racing happened"
2017-12-19 11:55:32 +08:00
Sage Weil
01dd3dd79c
Revert "msg/async/AsyncConnection: unregister connection when racing happened"
...
This reverts commit 5216309c25
. Seeing many
many instances of
0> 2017-12-19 00:04:34.146 7fed2ebc1700 -1 /build/ceph-13.0.0-4128-gc27b472/src/msg/async/AsyncConnection.cc: In function 'void AsyncConnection::process()' thread 7fed2ebc1700 time 2017-12-19 00:04:34.147015
/build/ceph-13.0.0-4128-gc27b472/src/msg/async/AsyncConnection.cc: 726: FAILED assert(0 == "old msgs despite reconnect_seq feature")
ceph version 13.0.0-4128-gc27b472 (c27b4726c18322825fbc2a58de2759766e332fa6) mimic (dev)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x55ce15c5bab2]
2: (AsyncConnection::process()+0x25f6) [0x55ce15f347e6]
3: (EventCenter::process_events(int, std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >*)+0x6e8) [0x55ce15cf5988]
4: (()+0xb7b965) [0x55ce15cf8965]
5: (()+0xb8c80) [0x7fed30e02c80]
6: (()+0x76ba) [0x7fed314f16ba]
7: (clone()+0x6d) [0x7fed305683dd]
See http://tracker.ceph.com/issues/22231
Signed-off-by: Sage Weil <sage@redhat.com>
2017-12-18 21:40:06 -06:00
Casey Bodley
b5eaa02a8d
Merge pull request #19129 from qrGitHub/wip-rgw-unused-param
...
rgw: remove unused param in get_bucket_instance_policy_from_attr
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-18 14:11:43 -05:00
Yuri Weinstein
054c364f8d
Merge pull request #18662 from ZVampirEM77/wip-em-rewriteobj
...
rgw: fix rewrite a versioning object create a new object bug
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-18 08:48:05 -08:00
Yuri Weinstein
a00a008225
Merge pull request #19131 from theanalyst/usage-trim
...
cls/rgw: trim all usage entries in cls_rgw
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-18 08:47:23 -08:00
Yuri Weinstein
53f472854d
Merge pull request #19272 from cfanz/wip2-optimize-get_obj_vals
...
cls_rgw: use more effective container operations in get_obj_vals
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-18 08:46:32 -08:00
Yuri Weinstein
db6349b6c1
Merge pull request #17482 from yaozongyou/rgw-admin-process-all-gc-objects
...
rgw-admin: support for processing all gc objects including unexpired.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-12-18 08:45:08 -08:00
Patrick Donnelly
a313e6fe59
Merge PR #19234 into master
...
* refs/pull/19234/head:
mds: handle client session messages when mds is stopping
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-18 06:53:03 -08:00
John Spray
213af8b666
Merge pull request #19533 from batrick/vstart-runner-fixes
...
vstart_runner: fixes for recent cephfs changes
Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-18 13:18:12 +00:00
Dan van der Ster
4f581e738e
mgr/balancer: fix KeyError in balancer rm
...
Fix the typo in the plan name which leads to a KeyError in balancer
rm.
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Fixes: http://tracker.ceph.com/issues/22470
2017-12-18 13:53:20 +01:00
Yan, Zheng
559fdcaec2
mds: handle client session messages when mds is stopping
...
handle session messages except CEPH_SESSION_REQUEST_OPEN. The problem
I found is that mds ignores CEPH_SESSION_REQUEST_RENEWCAPS, which
causes client sessions to become stale. Locker::revoke_stale_caps()
increases client caps' sequence number. This causes clients to warn
about caps' sequence number mismatch when handle caps import/export
message.
mds should handle CEPH_SESSION_FLUSHMSG_ACK message too. Because
one step of exporting subtree is flushing session messages.
Fixes: http://tracker.ceph.com/issues/22460
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-12-18 09:09:10 +08:00
Patrick Donnelly
80c186f2d6
Merge PR #19421 into master
...
* refs/pull/19421/head:
cephfs-journal-tool: tool would miss to report some invalid range
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-12-17 16:10:01 -08:00
Patrick Donnelly
62d2e2e3de
Merge PR #19277 into master
...
* refs/pull/19277/head:
cephfs: potential adjust failure in lru_expire
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-12-17 16:08:22 -08:00
Mykola Golub
43b88419d4
Merge pull request #19550 from dillaman/wip-22461
...
rbd-mirror: cluster watcher should ensure it has latest OSD map
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-16 16:32:51 +02:00
Alfredo Deza
4ee0e9eb5b
Merge pull request #19458 from wido/ceph-volume-eol
...
ceph-volume: Add linesep/newline at end of JSON file when writing
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-12-16 08:38:28 -05:00
Kefu Chai
7459713cf5
Merge pull request #19518 from jcsp/wip-mgr-access-denied
...
mgr: fix "access denied" message
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-16 12:32:40 +08:00
Kefu Chai
258b10cc01
Merge pull request #19515 from tchaikov/wip-cmake-lttng-leak
...
cmake: link libcommon with libstdc++ statically if WITH_STATIC_LIBSTDCXX
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-16 12:31:57 +08:00
Kefu Chai
419a182241
Merge pull request #19490 from adamemerson/wip-hypomodern
...
Update C++ standard to 14 and clean up
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-16 12:31:13 +08:00
Kefu Chai
5ad7efd61f
Merge pull request #19486 from liewegas/wip-22419
...
osd: pass pool options to ObjectStore on pg create
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2017-12-16 12:29:15 +08:00
Kefu Chai
5d9dd9e12c
Merge pull request #19385 from liewegas/wip-stdout-logs
...
mon: allow cluter and debug logs to go to stderr, with appropriate prefix
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-16 12:27:57 +08:00
root
7708bff40c
cephfs-journal-tool: tool would miss to report some invalid range
...
Fixes: http://tracker.ceph.com/issues/22459
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2017-12-16 11:56:13 +08:00
root
590c39eab0
cephfs: potential adjust failure in lru_expire
...
Fix: the first adjust is no needed,it will never take real effect.
the second 'adjust' may never get the chance to be executed
suppose we can reach the second 'adjust', it will crash because the bottom list is empty now.
Fixes: http://tracker.ceph.com/issues/22458
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
2017-12-16 11:44:19 +08:00
myoungwon oh
9d2456fc43
Merge pull request #19464 from myoungwon/wip-bug-fix-22369
...
osd: fix unordered read bug (for chunked object)
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-16 10:50:44 +09:00
Patrick Donnelly
634a2ccb34
Merge PR #19535 into master
...
* refs/pull/19535/head:
doc: clarify type of client in config ref
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-12-15 15:31:30 -08:00
Jason Dillaman
9eb247961a
rbd-mirror: cluster watcher should ensure it has latest OSD map
...
Fixes: http://tracker.ceph.com/issues/22461
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-12-15 14:51:46 -05:00
Patrick Donnelly
d1877b68d9
Merge PR #18512 into master
...
* refs/pull/18512/head:
mon,mgr,doc,test: standardize argument as role
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-15 11:08:29 -08:00
Patrick Donnelly
0e1835a727
Merge PR #18899 into master
...
* refs/pull/18899/head:
mds: add asok command that dumps metadata popularity
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-15 11:08:23 -08:00
Patrick Donnelly
9584674630
Merge PR #19170 into master
...
* refs/pull/19170/head:
mds: Improve the log info for read pointers
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-12-15 11:08:17 -08:00
Patrick Donnelly
199f9d4c6b
Merge PR #19271 into master
...
* refs/pull/19271/head:
client: update Dir::num_null_dentries in Dentry::{link,unlink}
client: drop null child dentries before try pruning inode's alias
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-15 11:08:11 -08:00
Patrick Donnelly
0f48b3d29e
Merge PR #19414 into master
...
* refs/pull/19414/head:
mds: properly eval locks after importing inode
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-15 11:08:04 -08:00
Patrick Donnelly
ee9d5f9a45
Merge PR #19440 into master
...
* refs/pull/19440/head:
mds: update mds option descriptions
mds: obsolete MDSMap option configs
mds: organize Filesystem class def
Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-15 11:07:58 -08:00
Mykola Golub
18b92192a8
Merge pull request #19540 from dillaman/wip-rbd-trash-list-enoent
...
rbd: 'trash list --long' will return a failure on non-cloned images
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-12-15 19:18:21 +02:00
Jason Dillaman
bed3356050
rbd: 'trash list --long' will return a failure on non-cloned images
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-12-15 09:06:37 -05:00
Kefu Chai
5043e4b494
Merge pull request #19493 from cernceph/dvanders_balancer
...
mgr/balancer: cast config vals to int or float
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-15 15:22:44 +08:00
Kefu Chai
633704b8fe
Merge pull request #19482 from jcsp/wip-22361
...
mgr/balancer: don't use 'foo' tags on commands
Reviewed-by: Sage Weil <sage@redhat.com>
2017-12-15 15:16:29 +08:00
Kefu Chai
e9626080c4
Merge pull request #19465 from shinobu-x/no_copy_ctor_assignment
...
common,mds,osd: Explicitly delete copy ctor if noncopyable
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-15 15:16:03 +08:00
Kefu Chai
08f8826b05
Merge pull request #19211 from ZVampirEM77/wip-em-pg-cleanup
...
osd: fix typos and some cleanups
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-15 15:05:50 +08:00
Kefu Chai
81537efaf2
Merge pull request #19013 from yuyuyu101/wip-fix-racing
...
msg/async/AsyncConnection: unregister connection when racing happened
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-12-15 15:04:13 +08:00
Jason Dillaman
182c25f3e6
Merge pull request #19361 from Songweibin/wip-init-image-id
...
pybind/rbd: support open the image by image_id
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-14 22:17:43 -05:00
Jason Dillaman
ae98ee633a
Merge pull request #19317 from shinobu-x/journaler_trivial_cleanup
...
journal: trivial cleanup
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-14 22:17:17 -05:00
Jason Dillaman
a36f26d4ea
Merge pull request #19406 from trociny/wip-deep-copy-pybind
...
pybind/rbd: add deep_copy method
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-14 22:16:46 -05:00
Jason Dillaman
aa80cb9925
Merge pull request #19436 from trociny/wip-22333
...
rbd-nbd: support optionally setting device timeout
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-12-14 22:16:23 -05:00
Alfredo Deza
d33f42b5a5
Merge pull request #19477 from wido/mgr-int-json
...
ceph-volume: Try to cast OSD metadata to int while scanning directory
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-12-14 18:01:46 -05:00
Patrick Donnelly
61215892d4
doc: clarify type of client in config ref
...
The kernel configuration is different.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-14 12:37:17 -08:00
Adam C. Emerson
e08a1cd88a
common: Switch from boost::shared_mutex to std::shared_mutex
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-12-14 11:40:44 -05:00
Adam C. Emerson
2d45f808ef
common: Get rid of artifact filename
...
Since we're on C++14, we're just backporting from future standards
generally.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-12-14 11:40:44 -05:00