Commit Graph

68059 Commits

Author SHA1 Message Date
Sage Weil
6e72005891 Merge pull request #13192 from liewegas/wip-bluestore-min-alloc-size
os/bluestore: fix min_alloc_size at mkfs time

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-02-02 08:56:09 -06:00
Mykola Golub
93f7b5ef3f Merge pull request #13158 from dillaman/wip-18594
qa: integrate OpenStack 'gate-tempest-dsvm-full-devstack-plugin-ceph'

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-02-02 08:27:49 +02:00
Yuri Weinstein
a1d0322171 Merge pull request #13225 from tmuthamizhan/wip-ansible-m
qa: do not mention ceph branch explicitly
2017-02-01 19:50:30 -08:00
Tamil Muthamizhan
f99ca7a812 do not mention ceph branch explicitly
no need to mention ceph_dev_branch explicitly. it will be taken from the
ceph branch value mentioned in the teuthology-suite command

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-02-01 16:47:01 -08:00
Sage Weil
72f603d352 Merge pull request #13009 from liewegas/wip-mempool-bloom-filter
mempool: put bloom_filter in mempool

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-01 15:23:55 -06:00
Sage Weil
4a71a8ad2b Merge pull request #13136 from liewegas/wip-scrub-waitlist
osd: use separate waitlist for scrub

Reviewed-by: Samuel Just <sjust@redhat.com>
2017-02-01 14:49:46 -06:00
Adam C. Emerson
c2e9b65695 Merge pull request #12104 from pritha-srivastava/wip_sts_role_rest
rgw: Added code for REST APIs for AWS Roles.

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-01 14:01:49 -05:00
Jason Dillaman
a1b088a727 Merge pull request #13189 from gaurav36/bug-18326-image-rename-non-rbd-pool
rbd: destination pool should be source pool if it is not specified

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-01 12:47:01 -05:00
Jason Dillaman
8b8023c5dd Merge pull request #12948 from trociny/wip-17020
rbd-mirror: add support for active/passive daemon instances

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-01 11:17:23 -05:00
Sage Weil
ddb3f29b8e Merge pull request #13013 from wangzhengyong/master
os/bluestore: remove no use parameter in bluestore_blob_t::map_bl

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-01 08:55:22 -06:00
Sage Weil
77ad3c925b Merge pull request #12782 from atheism/rgw-orphan-fix-error-messages
rgw: orphan: fix error messages

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-01 08:49:09 -06:00
Sage Weil
f1f1170f27 Merge pull request #13199 from chipitsine/master
mds,mon: Clean issues detected by cppcheck

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-01 08:46:59 -06:00
Sage Weil
09d23e8163 Merge pull request #13203 from ifed01/wip-bluestore-more-dump
os: extend ObjectStore interface to dump store's performance counters

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-01 08:44:50 -06:00
John Spray
13a52e9d73 Merge pull request #12974 from ukernel/wip-multimds-misc
mds: miscellaneous fixes

Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-01 14:20:48 +01:00
Mykola Golub
4e234921b1 qa/suites/rbd: add rbd-mirror-ha test
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 11:16:34 +01:00
Mykola Golub
2bb480e8c3 qa/workunits/rbd: tweaks to use RBD_MIRROR_USE_EXISTING_CLUSTER locally
This var is mostly used when running rbd_mirror test scripts on
teuthology.  It can be used locally though to speedup re-running the
tests:

Set a test temp directory:

  export RBD_MIRROR_TEMDIR=/tmp/tmp.rbd_mirror

Run the tests the first time with NOCLEANUP flag (the cluster and
daemons are not stopped on finish):

  RBD_MIRROR_NOCLEANUP=1 ../qa/workunits/rbd/rbd_mirror.sh

Now, to re-run the test without restarting the cluster, run cleanup
with USE_EXISTING_CLUSTER flag:

  RBD_MIRROR_USE_EXISTING_CLUSTER=1 \
    ../qa/workunits/rbd/rbd_mirror_ha.sh cleanup

and then run the tests:

  RBD_MIRROR_USE_EXISTING_CLUSTER=1
    ../qa/workunits/rbd/rbd_mirror_ha.sh

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
c802b9df0b qa/workunits/rbd: tests for rbd mirror HA
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
7c21275f4f qa/workunits/rbd: allow to start several daemons for the same cluster
by optionally specifyning daemon instance after cluster name and
colon, like:

  start_mirror ${cluster}:${instance}

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
065b513ad7 rbd-mirror HA: pool replayer should be started/stopped when lock acquired/released
Fixes: http://tracker.ceph.com/issues/17020
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
733a0049b0 rbd-mirror HA: create pool locker / leader class
Fixes: http://tracker.ceph.com/issues/17019
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
16f7878517 rbd-mirror HA: add new lock released/acquired and heartbeat messages
Fixes: http://tracker.ceph.com/issues/17018
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
8c991bf562 rbd-mirror: add class for mirror status watcher
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
6d44511d70 librbd: equality operator for managed_lock::Locker
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
f89857967e librbd: add create_async_context_callback helper
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
fa28457d6a librbd: missing const qualifiers
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
0b179be31e librbd: track in-fly break_lock and get_locker requests in managed lock
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
13496b22ee librbd: pass notifier_id to Watcher handle_notify
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Mykola Golub
ff21415b9f librbd: allow watcher derived classes access ioctx, oid and work queue
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-02-01 10:55:03 +01:00
Gaurav Kumar Garg
01f23aa99f rbd: destination pool should be source pool if it is not specified
Currently if user perform image rename operation and user give pool
name as a optional parameter (--pool=<pool_name>) then currently
its taking this optional pool name for source pool and making
destination pool name default pool name.
With this fix if user provide pool name as a optional pool name
parameter then it  will consider both soruce and destination pool
name as optional parameter pool name.

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

Reported-by: МАРК КОРЕНБЕРГ <socketpair@gmail.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
2017-02-01 10:20:39 +01:00
Jason Dillaman
6995d2c142 Merge pull request #13077 from guzhongyan/fix_wrongly_init
librbd: initialize diff parent overlap to zero

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-31 14:35:37 -05:00
Sage Weil
dc2330bc83 Merge pull request #12537 from liewegas/wip-optracker
common/TrackedOp: various cleanups and optimizations

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-31 12:54:12 -06:00
Sage Weil
44c412091a Merge pull request #13205 from dachary/wip-crush-documentation
crush: API documentation

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-31 12:52:11 -06:00
Sage Weil
a92341926a os/bluestore: decode min_alloc_size into temp var
Defend against future changes to min_alloc_size.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-31 12:53:48 -05:00
Loic Dachary
08bb5c5b48 crush: API documentation
Signed-off-by: Loic Dachary <loic@dachary.org>
2017-01-31 18:33:37 +01:00
Sage Weil
9c9a558aa8 os/bluestore: fix min_alloc_size at mkfs time
It is an ongoing challenge to allow min_alloc_size to be varied on
an existing bluestore instance, and the code paths are not well
tested.  Avoid the complexity entirely by fixing min_alloc_size at
mkfs time.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-31 12:01:44 -05:00
Sage Weil
5914b5b497 os/bluestore: add ondisk format version info to super section
Note the version of the ondisk format and the oldest version that is
allowed to read us.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-31 12:01:44 -05:00
Sage Weil
cf598db2a3 os/bluestore: EIO if we can't read some existing super keys
Signed-off-by: Sage Weil <sage@redhat.com>
2017-01-31 11:59:57 -05:00
David Zafman
f63871c364 Merge pull request #13164 from dzafman/wip-18718
osd: Fix useless MAX(0, unsigned) to prevent out of wack misplaced

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-31 08:19:10 -08:00
Igor Fedotov
9ee28c364f os/bluestore: add submit latency perf counter.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-31 14:30:22 +00:00
Igor Fedotov
ed25e6d1ac test/fio: add performance counters dump on FIO job completion.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-31 14:30:22 +00:00
Igor Fedotov
9e92a33653 os: add dump_perf_counters method to ObjectStore implementations.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-31 14:30:15 +00:00
Igor Fedotov
19f3bc3712 os/bluestore: fix typos in perf counter public names.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-31 14:28:30 +00:00
Igor Fedotov
e5c9a755a9 test/fio: fix misordered parameter for queue_transaction.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-31 14:28:22 +00:00
Mykola Golub
573a832fc2 Merge pull request #13193 from dillaman/wip-18738
journal: stop processing removal after error

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-31 15:53:29 +02:00
Jason Dillaman
0e13e4a847 Merge pull request #13069 from SUSE/wip-hammer-retirement
doc: add 0.94.10 and hammer EOL to releases.rst

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-31 07:56:17 -05:00
Ilya Shipitsin
7dfb9b230c Clean issues detected by cppcheck
[src/mds/MDLog.cc:1172] -> [src/mds/MDLog.cc:1173]: (warning) Either the condition 'sle!=NULL' is redundant or there is possible null pointer dereference: sle.
[src/mon/MDSMonitor.cc:2622] -> [src/mon/MDSMonitor.cc:2625]: (warning) Either the condition 'mds_map!=nullptr' is redundant or there is possible null pointer dereference: mds_map.

Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
2017-01-31 17:07:39 +05:00
Abhishek L
6226aecef2 Merge pull request #13151 from smithfarm/wip-ceph-release-notes
tools: ceph-release-notes: ignore low-numbered PRs
2017-01-31 10:58:01 +01:00
Haomai Wang
ddd52ebf4f Merge pull request #13190 from Adirl/reduce_num_buffers
msg/async/rdma: reduce number of rdma rx/tx buffers

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-31 17:50:03 +08:00
Sage Weil
67e48e20fd Merge pull request #13066 from liewegas/wip-aio-read
os/bluestore: use aio for reads

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-30 21:43:36 -06:00
Sage Weil
2cc9fac7ba Merge pull request #13071 from liewegas/wip-omap-getkeys-rados-test
qa/suites/rados/basic: set low omap limit for rgw workload

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-01-30 21:43:17 -06:00