Commit Graph

69268 Commits

Author SHA1 Message Date
Josh Durgin
3580d224d7 Merge pull request #13755 from liewegas/wip-19131
osd/osd_internal_types: wake snaptrimmer on put_read lock, too

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-03-06 12:48:25 -08:00
Yehuda Sadeh
5bdfc6d3a8 Merge pull request #13411 from yehudasa/wip-vstart-rgw-fix
vstart: don't configure rgw_dns_name

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-06 11:29:14 -08:00
David Zafman
4536da78cf Merge pull request #13425 from dzafman/wip-15912
osd: various changes for preventing internal ENOSPC condition

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 10:49:01 -08:00
Yehuda Sadeh
452be3d060 Merge pull request #13783 from cbodley/wip-18980
rgw: if user.email is empty, dont try to delete

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-06 09:11:50 -08:00
Sage Weil
ef6da79502 Merge pull request #13379 from jecluis/wip-mon-luminous-features
mon: enable luminous monmap feature on full quorum

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-06 10:46:08 -06:00
Yuri Weinstein
2a5b235958 Merge pull request #13582 from guzhongyan/cleanup_execute_ctx
osd: correct the func name in execute_ctx() log messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-06 08:35:11 -08:00
Yuri Weinstein
05ebe881d8 Merge pull request #13699 from yuyuyu101/wipasync-name
msg/async: set thread name for msgr worker

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 08:34:28 -08:00
Yuri Weinstein
f1bd9b9921 Merge pull request #13726 from dachary/wip-crushtool-json
crush: add --dump to crushtool

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 08:33:53 -08:00
Yuri Weinstein
37ca392712 Merge pull request #13730 from idryomov/wip-osd-rm-incremental
osd/OSDMap: don't set weight to IN when OSD is destroyed

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 08:32:26 -08:00
Sage Weil
478d9d3244 Merge pull request #13715 from wangzhengyong/master
os/bluestore: remove unused local variable "pos"

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 08:36:02 -06:00
Sage Weil
2cb36d2d70 Merge pull request #13728 from ifed01/wip-bluestore-fix-smallwrite
os/bluestore: fix a bug in small write handling on sharded extents

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 08:35:20 -06:00
Sage Weil
63a903f0b8 Merge pull request #13736 from rzarzynski/wip-bs-bitmap-exact-type-in-leaf
os/bluestore: leverage the type knowledge in BitMapAreaLeaf.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 08:35:01 -06:00
Sage Weil
30db52faca Merge pull request #13743 from rzarzynski/wip-bs-bitmap-zone-direct-vector
os/bluestore: remove unneeded indirection in BitMapZone.

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 08:34:43 -06:00
Kefu Chai
f903f2f3fd Merge pull request #13228 from trociny/wip-qa-rbd_mirror-opts
qa/workunits/rbd: tweak rbd-mirror config to spead up testing

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-03-06 12:07:23 +08:00
Kefu Chai
90f209d693 Merge pull request #13772 from Liuchang0812/wip-add-override-in-mgr-headers
mgr: add override in headers

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-06 10:39:01 +08:00
Matt Benjamin
8786b4c8fe Merge pull request #13765 from guihecheng/rgwfs-time-attrs
rgw_file: posix style atime,ctime,mtime
2017-03-04 15:50:47 -05:00
Matt Benjamin
e180639ebf Merge pull request #13712 from linuxbox2/wip-dtor-fhcache
rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache
2017-03-04 15:50:03 -05:00
Orit Wasserman
60bb2a8b38 Merge pull request #13645 from yehudasa/wip-rgw-support-ragweed
rgw: add apis to support ragweed
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-03-04 16:12:09 +02:00
Kefu Chai
7c3ad1d8cf Merge pull request #13413 from zhaochao/fix-mailmap-affiation
mailmap: fix Zhao Chao affiliation.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-03-04 12:51:19 +08:00
Casey Bodley
67401193f8 rgw: delete_system_obj() fails on empty object name
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-03-03 12:16:24 -05:00
Casey Bodley
022ecf0fcc rgw: if user.email is empty, dont try to delete
Fixes: http://tracker.ceph.com/issues/18980

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-03-03 12:16:24 -05:00
Sage Weil
8ef5c56ae5 qa/suites/rados/thrash: add no-thrash item to matrix
Run all of our cases with no thrashing.  This would have uncovered
http://tracker.ceph.com/issues/19131 much sooner!

Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-03 10:07:43 -06:00
Sage Weil
3b8162f3d9 Merge pull request #13767 from tchaikov/wip-vstart-no-multiple-mgr-x
vstart.sh: do not add host for mgr.* section if not $overwrite_conf

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-03 09:56:07 -06:00
Matt Benjamin
d51a3b1224 rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache
Formerly masked in part by the reclaim() action, direct-delete now
substitutes for reclaim() iff its LRU lane is over its high-water
mark, and in particular, like reclaim() the destructor is certain
to see handles still interned on the FHcache when nfs-ganesha is
recycling objects from its own LRU.

Fixes: http://tracker.ceph.com/issues/19112

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-03-03 10:55:20 -05:00
liuchang0812
ecbcd591b7 mgr: add override in headers
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-03-03 19:39:10 +08:00
Nathan Cutler
01f010c9b5 Merge pull request #13584 from theanalyst/doc/release-luminous
doc: releases update the luminous, hammer, jewel release dates

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-03-03 10:42:07 +01:00
wangzhengyong
990adfc541 os/bluestore: "noid" is not always necessary in clone op
Signed-off-by: wangzhengyong@cmss.chinamobile.com
2017-03-03 17:16:21 +08:00
Kefu Chai
cdafc8d1fb vstart.sh: do not add host for mgr.* section if not $overwrite_conf
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-03 15:54:14 +08:00
Kefu Chai
07e6c14a2f Merge pull request #13678 from liewegas/wip-readable
test/encoding: fix readable.sh bugs; fix ceph-object-corpus

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-03 15:03:03 +08:00
Gui Hecheng
ac25da2479 rgw_file: posix style atime,ctime,mtime
As an ganesha FSAL backend, rgw_file should properly maintain
the atime,ctime,mtime properly against operations such as:
	(read,write) for file
	(create,unlink,mkdir,rmdir,rename) for dir
	(setattr) for file and dir

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
2017-03-03 13:56:38 +08:00
Kefu Chai
4ac46fb1b2 Merge pull request #13762 from Liuchang0812/wip-remove-unnecessary-code-in-mon
mon: remove unnecessary function declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-03 13:05:04 +08:00
liuchang0812
2855b0f821 mon: remove unnecessary function declaration
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-03-03 11:54:34 +08:00
Kefu Chai
afa57ae59d Merge pull request #12566 from Liuchang0812/wip-rados
tools/rados: remove useless function declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-03 11:47:25 +08:00
Sage Weil
39e6ad1757 Merge pull request #12421 from cernceph/wip-dvanders-split
os/filestore/HashIndex: be loud about splits

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-02 19:04:51 -06:00
Yuri Weinstein
c4c7bce815 Merge pull request #12627 from liupan1111/wip-fix-remove-when-full
rbd: When Ceph cluster becomes full, should allow user to remove rbd …

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-03-02 16:59:34 -08:00
Yuri Weinstein
4657560503 Merge pull request #13289 from songbaisen/s13
rados:  we need to get the latest osdmap when pool does not exists

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-03-02 16:57:23 -08:00
Radoslaw Zarzynski
aaad3facda os/bluestore: remove unneeded indirection in BitMapZone.
BitMapZone aggregates BmapEntries through a pointer to independently-
allocated std::vector which in turn has its own pointer to the real
data. This indirection is unnecessary as std::vector is pretty cheap
in the terms of memory overhead. For instance, on x86-64 & GCC 5.4.0
sizeof(std::vector) == 24, which translates to 3 raw pointers.

Stripping the indirection could have positive impact on processor's
caches and allow to minimize the number of memory accesses.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-03 00:20:29 +01:00
Sage Weil
26a90141e5 Merge pull request #13599 from kylinstorage/cleanup_bitmapallocator
os/bluestore/BitMapAllocator: rm unused variable

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-02 16:50:22 -06:00
Sage Weil
faf9cce395 Merge pull request #13744 from smithfarm/wip-19129
build/ops: add psmisc dependency to ceph-base (deb and rpm)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-02 16:39:46 -06:00
Sage Weil
6aa4b76da9 Merge pull request #13750 from Saumay-Agrawal/master
mon: Update OSDMon.cc comments

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-02 16:38:56 -06:00
Sage Weil
bb35678417 Merge pull request #13751 from Saumay-Agrawal/patch-1
doc: Update sample.ceph.conf

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-02 16:38:07 -06:00
Sage Weil
993179870e osd/osd_internal_types: wake snaptrimmer on put_read lock, too
The snaptrimmer can block taking a write lock, which might happen due to
a conficting EC read.  When the EC read completes, we need to wake up the
snaptrimmer.

Fixes: http://tracker.ceph.com/issues/19131
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-02 15:03:57 -06:00
Saumay Agrawal
5fd2593a49 Update sample.ceph.conf
I have fixed the cleanup issue #19090: Wrong hard-coded URLs
Please add these changes to your documentation.
2017-03-03 01:04:19 +05:30
Saumay Agrawal
4d75a04608 Update OSDMon.cc
I have fixed the issue cleanup #19090: Wrong hard-coded URLs
I have replaced the wrong URLs with correct URLs redirecting to the Tunables headline under Crush Map documentation.
Please add it to the documentation.
2017-03-03 00:39:26 +05:30
Sage Weil
678cb843a1 Merge pull request #13748 from tchaikov/wip-disable-dwz
rpm: disable dwz to speed up valgrind

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-02 12:12:52 -06:00
Joao Eduardo Luis
23740119c6 mon: test 'mon feature' cli
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:35 +00:00
Joao Eduardo Luis
3cabcb7d51 qa/workunits/ceph-helpers: add wait_for_quorum()
Takes optional timeout and desired quorum size

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:34 +00:00
Joao Eduardo Luis
11c4946b63 mon: enable persistent monmap features on full quorum
We will now only enable persistent features automatically
when ALL the monitors in the monmap are in the quorum.
 #noMonitorLeftBehind

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:34 +00:00
Joao Eduardo Luis
9c6a6f19d8 mon: better 'mon features' cli
Allows listing supported and currently set monmap features, as well as
setting and unsetting them.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-03-02 17:32:34 +00:00
Jason Dillaman
870bc38823 Merge pull request #13571 from trociny/wip-18784
rbd-mirror A/A: leader should track up/down rbd-mirror instances

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-03-02 12:03:25 -05:00