Sage Weil
5749434ad6
test/bench: remove smallio bench tools
...
These are stale and superceded by the fio ObjectStore (and other)
backends. Shed the weight!
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-06 08:21:29 -06:00
Sage Weil
6f5a952fb7
os/filestore: add replay guards for omap operations
...
These were not guarded, meaning they could get replayed onto an object
that was cloned or renamed. Eek!
Fixes: http://tracker.ceph.com/issues/22920
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Sage Weil
13af247a92
test/objectstore/run_seed_to_range: stop on first error
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Sage Weil
9d0a193ea1
ceph_test_idempotent_sequence: use coll_entry_t
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Sage Weil
1c4bb2a52d
ceph_filestore_idempotent_sequence: fix up clone, move ops; cleanup
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Sage Weil
135ccf8790
qa/tasks/filestore_idempotent: run failure tests later in sequence
...
We want to get past the initial colleciton and object creation steps,
which don't include interesting ops.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-05 18:08:28 -06:00
Sage Weil
314b65e439
test/objectstore/run_seed_to_range.sh: objects
...
We need some initial objects for this to work.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-03 09:22:51 -06:00
Sage Weil
490c9bb31a
test/objectstore/run_seed_to.sh: make output readable
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-03 09:21:53 -06:00
Sage Weil
29a8306dd4
ceph_test_filestore_idempotent_sequence: fix clone check
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-03 09:21:28 -06:00
Sage Weil
db3004e1f4
ceph_test_filestore_idempotent_sequence: fix do_coll_create
...
The old code made no sense whatsoever!
- create one colletion, not a zillion
- inform the model in the parent class
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-03 09:21:09 -06:00
Sage Weil
543de52c54
ceph_test_filestore_idempotent_sequence: fix gap in ops
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-03 09:20:21 -06:00
Sage Weil
1ce551dc08
ceph_test_filestore_idempotent_sequence: start poolid at 2
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-03 09:19:58 -06:00
Sage Weil
eeeaa14ae5
test/objectstore/FilestoreDiff: write to stdout
...
This keeps our output separate from the filestore log, which we send to
a file so that the terminal output is readable.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-03 09:19:34 -06:00
Matt Benjamin
dcdb7aba28
Merge pull request #19902 from linuxbox2/wip-rgw-mploc
...
rgw: return valid Location element, CompleteMultipartUpload
2018-02-02 11:37:01 -05:00
Jason Dillaman
deeeaebfa4
Merge pull request #20199 from Songweibin/wip-group-cleanup
...
rbd: group misc cleanup and update rbd man page
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-02 10:25:50 -05:00
Matt Benjamin
6a09ad15c6
Merge pull request #20002 from malc0lm/fix-copypart
...
rgw: fix 'copy part' without 'x-amz-copy-source-range'
2018-02-02 09:35:14 -05:00
Jason Dillaman
f0850a99a6
Merge pull request #20222 from trociny/wip-deep-copy-default-format
...
librbd: by default use new format for deep copy destination
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-02 08:32:52 -05:00
Jason Dillaman
bba63db1b4
Merge pull request #20170 from trociny/wip-22803
...
qa/workunits/rbd: remove "trash purge --threshold" test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-02 08:32:36 -05:00
Jason Dillaman
4b69976510
Merge pull request #20099 from Songweibin/wip-fix-deep-cp
...
librbd: fix deep copy a child-image
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-02 08:32:20 -05:00
Xie Xingguo
d9637b7675
Merge pull request #20178 from xiexingguo/wip-map-version
...
crush, mon: bump up map version only if we truly created a weight-set
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-02 16:37:00 +08:00
Kefu Chai
14a1035a5e
Merge pull request #20197 from xiexingguo/wip-load-ws-from-ms
...
pybind/mgr/balancer: load weight-set from ms
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-02 15:57:14 +08:00
Kefu Chai
ce2413c671
Merge pull request #20196 from yaozongyou/improve-straw2-readability
...
crush: improve straw2 algorithm's readability
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-02 15:56:13 +08:00
Kefu Chai
43a2b00308
Merge pull request #20194 from xiexingguo/wip-badsteps
...
pybind/mgr/balancer: increase bad_steps properly
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-02 15:55:41 +08:00
Kefu Chai
85fe7ef9bd
Merge pull request #20189 from neha-ojha/wip-fix-update_calc_stats
...
PG: primary should not be in the peer_info, skip if it is
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2018-02-02 15:55:02 +08:00
Kefu Chai
c971535f8d
Merge pull request #20151 from badone/wip-run-tox-ceph-disk-deps-failure
...
tests: ceph-disk: Remove sitepackages=True
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 15:35:59 +08:00
Kefu Chai
af20ea9d5a
Merge pull request #20140 from smithfarm/wip-python3-mopup
...
build/ops: rpm: Python 3-only ceph-disk and ceph-volume
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-02 15:35:05 +08:00
Kefu Chai
5edf84a690
Merge pull request #19953 from badone/wip-c_read_operations-tautological-compare-warning
...
c_read_operations.cc: Silence tautological-compare compiler warning
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-02 15:29:33 +08:00
Jos Collin
9b6f9da3ce
Merge pull request #20071 from joscollin/wip-ceph-fuse-doc
...
doc: Specify mount details in ceph-fuse
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-02-02 12:00:18 +05:30
Jos Collin
025cfe3e53
doc: Specify mount details in ceph-fuse
...
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-02-02 10:56:48 +05:30
Patrick Donnelly
7dabdf526d
Merge PR #19856 into master
...
* refs/pull/19856/head:
qa: synchronize kcephfs suites with fs/multimds
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-02-01 14:50:12 -08:00
Alfredo Deza
22780c7aa8
Merge pull request #20203 from ceph/wip-rm22642
...
ceph-volume: fix usage of the --osd-id flag
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-02-01 11:13:21 -05:00
Mykola Golub
be60490f15
qa/workunits/rbd: remove "trash purge --threshold" test
...
It is difficult to make it work reliably in different environments.
Fixes: http://tracker.ceph.com/issues/22803
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-01 17:36:21 +02:00
Sage Weil
fbc4192357
Merge pull request #20090 from liewegas/wip-bluestore-label
...
os/bluestore: make bdev label parsing error more meaningful and less noisy
Reviewed-by: Varada Kari <varada.kari@gmail.com>
2018-02-01 08:51:01 -06:00
Mykola Golub
69e479bd46
Merge pull request #20214 from dillaman/wip-22819
...
librbd: potential crash if object map check encounters error
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-02-01 12:01:00 +02:00
Mykola Golub
452761e5d6
librbd: by default use new format for deep copy destination
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-01 09:25:06 +02:00
Kefu Chai
b890201fa6
Merge pull request #20175 from tone-zhang/wip-fix-bug22828
...
cmake: fix libcephfs-test.jar build failure
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-01 12:46:35 +08:00
Kefu Chai
6062fe0a41
Merge pull request #20174 from cbodley/wip-log-stream-clear
...
log: clear thread-local stream's ios flags on reuse
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-01 12:45:54 +08:00
Kefu Chai
87aad2d241
Merge pull request #20166 from smithfarm/wip-fix-python2-global
...
build/ops: rpm: fix _defined_if_python2_absent conditional
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-01 12:43:35 +08:00
Kefu Chai
2bdb833b36
Merge pull request #20183 from tchaikov/wip-crushtool
...
crushtool: add --add-bucket and --move options
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-01 12:37:55 +08:00
Kefu Chai
2769583ff1
Merge pull request #20180 from xiexingguo/wip-more-balancer-fixes
...
mgr/balancer: two more fixes
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-01 12:34:50 +08:00
Kefu Chai
8c7dd252cc
Merge pull request #20154 from xiexingguo/wip-mgr-balancer-fixes
...
mgr/balancer: pool-specific optimization support and bug fixes
Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-01 12:33:31 +08:00
Kefu Chai
129effb0bf
Merge pull request #20128 from guzhongyan/master
...
common/pick_address: wrong prefix_len in pick_iface()
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-01 12:29:19 +08:00
Kefu Chai
1c320ea717
Merge pull request #20080 from dillaman/wip-librados-client-compat
...
librados: getter for min compatible client versions
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2018-02-01 12:24:54 +08:00
Yao Zongyou
4faadeae11
crush: improve straw2 algorithm's readability
...
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2018-02-01 10:20:33 +08:00
songweibin
0e69d4faae
librbd: group misc cleanup
...
* Add some error message when returning a negative error code.
* Validate dest name when renaming a group snap.
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-02-01 08:29:11 +08:00
songweibin
c3e119d0d3
librbd: fix deep copy a child-image
...
* tweak create a cloned image when the source image is
a clone (or at least one of its snapshots is a clone).
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-02-01 08:17:19 +08:00
Andrew Schoen
8d38932c21
ceph-volume: adds tests for zap --destroy and --osd-id
...
These are not added for dmcrypt right now because there is a bug related
to zapping encrypted disks that needs fixed first.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-01-31 16:48:22 -06:00
Jason Dillaman
c8d3254609
librbd: potential crash if object map check encounters error
...
Fixes: http://tracker.ceph.com/issues/22819
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-31 16:52:52 -05:00
Casey Bodley
9401bba7a8
Merge pull request #20195 from luomuyao/bugfix
...
rgw: drop a repeated statement for encode_xml()
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-31 10:54:15 -05:00
Andrew Schoen
f88f2d3bc1
ceph-volume: no need to return osd_id from util.prepare.check_id
...
Now that osd_id is passed to util.prepare.create_id it doesn't
make any sense to return osd_id from check_id anymore as it's
not being used.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-01-31 09:04:09 -06:00