Commit Graph

69330 Commits

Author SHA1 Message Date
Venky Shankar
53312af663 rbd: cleanup unused throttle in v2 import
v2 import does not use throttle as of now although v1
import does use it - initialize throttle wherever its
necessary and avoid passing it functions that do not
require it.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2017-03-08 08:32:57 +05:30
Yehuda Sadeh
1bb5ea860f Merge pull request #13846 from rzarzynski/wip-qa-rgw-start-apache-first
qa/tasks/rgw.py: start Apache before RadosGW.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-07 15:13:35 -08:00
Yehuda Sadeh
e9228f3460 Merge pull request #13410 from yehudasa/wip-tracing-fix
tracing: don't include oid when tracing at dequeue_op()

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-07 13:31:47 -08:00
Sage Weil
4272214136 Merge pull request #13839 from theanalyst/release/10.2.6/changelog
doc: add changelog for v10.2.6 Jewel release
2017-03-07 15:30:04 -06:00
Abhishek Lekshmanan
32e128c093 doc: add changelog for v10.2.6 Jewel release
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-03-07 21:44:23 +01:00
John Spray
92e7e890c3 Merge pull request #13704 from batrick/mds-counter-unify
mds: remove some redundant object counters

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-03-07 19:50:11 +00:00
Daniel Gryniewicz
0007adb5b7 Merge pull request #13832 from linuxbox2/wip-rgw-fs_inst
rgw_file:  fix fs_inst progression
2017-03-07 12:52:44 -05:00
Yuri Weinstein
05412184b5 Merge pull request #10240 from songbaisen/b2
mon: remove the redudant jugement in paxosservice is_writeable function

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-07 08:57:40 -08:00
Matt Benjamin
0e988edfb6 rgw_file: fix fs_inst progression
Reported by Gui Hecheng<guimark@126.com>.  This change is a
variation on proposed fix by Dan Gryniewicz<dang@redhat.com>
to take root_fh.state.dev as fs_inst for new handles.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-03-07 11:43:39 -05:00
Radoslaw Zarzynski
6440750f53 qa/tasks/rgw.py: start Apache before RadosGW.
At the end of start_rgw() we wait till establishing HTTP connections
with RadosGW become possible. However, if RadosGW uses the FastCGI,
the condition can't be fulfilled without spawning HTTP server first.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-07 17:31:52 +01:00
Sage Weil
3f5269d8b5 Merge pull request #13323 from yehudasa/wip-18079-2
librados: use cursor for nobjects listing

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-07 08:41:08 -06:00
John Spray
73100305e5 Merge pull request #13262 from batrick/multimds-thrasher
Add multimds:thrash sub-suite and fix bugs in thrasher for multimds

Reviewed-by: John Spray <john.spray@redhat.com>
2017-03-07 14:29:18 +00:00
Kefu Chai
cec7e1a0db Merge pull request #13560 from wjwithagen/wip-wjw-ceph-disk-tests
ceph-disk/tests: Certain partition types do not work on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-07 15:37:18 +08:00
Haomai Wang
d124e6f669 Merge pull request #13810 from yuyuyu101/wip-rdma-inflight
msg/async/rdma: destroy QueuePair if needed

Reviewed-by: Adir lev <adirl@mellanox.com>
2017-03-07 15:25:55 +08:00
Kefu Chai
a07452d9d0 Merge pull request #13742 from liupan1111/wip-cleanup-journal
os/filestore: use existing variable for same func.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-07 12:24:50 +08:00
Kefu Chai
17ae338be3 Merge pull request #12177 from kylinstorage/wip-remove-unneeded-loop
os/filestore/FileStore.cc: remove unneeded loop

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-07 12:21:32 +08:00
Kefu Chai
413efbc60f Merge pull request #13741 from rzarzynski/wip-bs-fastcrc32-in-rocks
os/bluestore: enable SSE-assisted CRC32 calculations in RocksDB

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-07 12:06:22 +08:00
Kefu Chai
bdc22afd9b Merge pull request #13768 from tchaikov/wip-clang-fixes
librados, osd: clang fixes

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-03-07 12:05:36 +08:00
Kefu Chai
895561376c Merge pull request #13794 from liewegas/wip-clog-newlines
common: remove \n on clog messages

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-03-07 12:04:52 +08:00
Kefu Chai
d8bea23c5d Merge pull request #13796 from liewegas/wip-debian-base-dbg
debian/control: add ceph-base-dbg

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-07 12:04:25 +08:00
Haomai Wang
53b4cece12 Merge pull request #13799 from optimistyzy/36_1
bluestore, NVMEDEVICE: Specify the max io completion in conf

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Pan Liu <liupan1111@gmail.com>
2017-03-07 09:48:28 +08:00
Jason Dillaman
91ae4cd794 Merge pull request #13806 from vshankar/rbd-internal-api-move
test/librbd: move tests using non-public api to internal

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-03-06 20:45:48 -05:00
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
Haomai Wang
9e7aa644fe msg/async/rdma: destroy QueuePair if needed
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-03-06 20:40:09 +08:00
Venky Shankar
373573699c test / librbd: move non-public api usage tests to internal
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2017-03-06 17:08:16 +05:30
Venky Shankar
164fffaf86 test / librbd: create_image_full_pp() / clone_image_pp() helpers
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2017-03-06 17:08:16 +05:30
optimistyzy
023b0e5a17 bluestore, NVMEDEVICE: Specify the max io completion in conf
I do not think that 4 is meaninful. If a value needs to be determined,
it should be configured in the configuration file.

Signed-off-by: optimistyzy <optimistyzy@gmail.com>
2017-03-06 14:25:07 +08:00
Pan Liu
cd10b8dc91 os/filestore: use existing variable to assign newsize.
Signed-off-by: Pan Liu <liupan1111@gmail.com>
2017-03-06 12:35:22 +08: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
Sage Weil
693132eb00 common: remove \n on clog messages
Confirmed these aren't needed, and are inconsistently included.
Remove them where they do appear.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-05 21:59:45 -05: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
Radoslaw Zarzynski
939c20a529 os/bluestore: enable SSE-assisted CRC32 calculations in RocksDB.
By default RocksDB extensively employs CRC32. It has two paths
for the checksum calculation:
 * rocksdb::crc32c::Slow_CRC32,
 * rocksdb::crc32c::Fast_CRC32.

The fast path depends on a run-time discovery of CPU capabilities
AND a compile-time define __SSE4_2__. Although my systems really
offer SSE4.2 support, the macro was undefined resulting in poor
RocksDB performance visible especially during WAL transactions.

The patch (awkwardly) adds the -msse4.2 to CXXFLAGS for RocksDB.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-05 22:38:30 +00:00
Sage Weil
4e734ca4d9 debian/control: add ceph-base-dbg
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-05 14:38:12 -05: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