]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agocommon/Finisher: Using queue(list<context*>) instead queue(context*). 8942/head
Jianpeng Ma [Fri, 30 Dec 2016 12:11:19 +0000 (20:11 +0800)]
common/Finisher: Using queue(list<context*>) instead  queue(context*).

Avoid call many time queue(context*).

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoMerge pull request #12711 from yuyuyu101/wip-fix-rdma
Sage Weil [Thu, 29 Dec 2016 20:35:57 +0000 (14:35 -0600)]
Merge pull request #12711 from yuyuyu101/wip-fix-rdma

msg/async/rdma: fix ceph_clock_now calls

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12451 from liewegas/wip-osd-on-applied
Sage Weil [Thu, 29 Dec 2016 18:43:01 +0000 (12:43 -0600)]
Merge pull request #12451 from liewegas/wip-osd-on-applied

osd: never send rados ack (only commit)

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #12480 from dx9/wip-boost-python
Kefu Chai [Thu, 29 Dec 2016 17:29:00 +0000 (01:29 +0800)]
Merge pull request #12480 from dx9/wip-boost-python

cmake: fix hard coded boost python lib

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12406 from songbaisen/s5
Sage Weil [Thu, 29 Dec 2016 17:22:28 +0000 (11:22 -0600)]
Merge pull request #12406 from songbaisen/s5

tool: add some ceph relate processes to ps-ceph.pl

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12621 from fiskn/master
Sage Weil [Thu, 29 Dec 2016 17:17:57 +0000 (11:17 -0600)]
Merge pull request #12621 from fiskn/master

doc: Update disk thread section to reflect that scrubbing is no longe…

8 years agomsg/async/rdma: fix ceph_clock_now calls 12711/head
Haomai Wang [Thu, 29 Dec 2016 15:50:31 +0000 (23:50 +0800)]
msg/async/rdma: fix ceph_clock_now calls

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #12403 from liewegas/wip-mon-mgr-cleanups
Sage Weil [Thu, 29 Dec 2016 15:38:59 +0000 (09:38 -0600)]
Merge pull request #12403 from liewegas/wip-mon-mgr-cleanups

mon: clean up some osdmon/pgmon interactions

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/workunits: remove crash_replay_interval tests 12451/head
Sage Weil [Tue, 20 Dec 2016 21:03:17 +0000 (16:03 -0500)]
qa/workunits: remove crash_replay_interval tests

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc: remove crash_replay_interval mentions
Sage Weil [Tue, 20 Dec 2016 21:03:06 +0000 (16:03 -0500)]
doc: remove crash_replay_interval mentions

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/MDSMonitor: no need to set crash_replay_interval on data pools
Sage Weil [Tue, 20 Dec 2016 21:01:52 +0000 (16:01 -0500)]
mon/MDSMonitor: no need to set crash_replay_interval on data pools

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PG: remove waiting_for_ack
Sage Weil [Tue, 20 Dec 2016 20:55:56 +0000 (15:55 -0500)]
osd/PG: remove waiting_for_ack

No longer used.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: simplify dup/resent logic
Sage Weil [Tue, 20 Dec 2016 20:54:18 +0000 (15:54 -0500)]
osd: simplify dup/resent logic

No need to special ack path.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: remove replay_queue
Sage Weil [Tue, 20 Dec 2016 20:46:47 +0000 (15:46 -0500)]
osd: remove replay_queue

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PG: do not go into replay state
Sage Weil [Tue, 20 Dec 2016 20:44:28 +0000 (15:44 -0500)]
osd/PG: do not go into replay state

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PG: do not queue ops for replay
Sage Weil [Tue, 20 Dec 2016 20:43:31 +0000 (15:43 -0500)]
osd/PG: do not queue ops for replay

We no longer send ACKs, so this can't happen anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: we can discard "replay" ops
Sage Weil [Tue, 20 Dec 2016 20:42:05 +0000 (15:42 -0500)]
osd: we can discard "replay" ops

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/ReplicatedPG: do not send ACK separate from COMMIT
Sage Weil [Sat, 10 Dec 2016 23:03:10 +0000 (17:03 -0600)]
osd/ReplicatedPG: do not send ACK separate from COMMIT

This never comes before COMMIT, making it useless to clients.  And it's
just unnecessary overhead.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: remove 'rlat' read latency metrics
Sage Weil [Sat, 10 Dec 2016 23:00:46 +0000 (17:00 -0600)]
osd: remove 'rlat' read latency metrics

These are measuring how long of a delay we see before ops are readable.
They are calculated in the on_applied path, which we'd like to remove,
and weren't reliably calculated anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/ReplicatedPG: kill hit_set_flushing
Sage Weil [Sat, 10 Dec 2016 22:37:24 +0000 (16:37 -0600)]
osd/ReplicatedPG: kill hit_set_flushing

This was added before we started taking the ondisk lock in order to allow
reading a just-written hitset.  Since this is a rare path anyway, just
take the ondisk lock.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12522 from hjwsm1989/ecwrite
Sage Weil [Thu, 29 Dec 2016 15:29:24 +0000 (09:29 -0600)]
Merge pull request #12522 from hjwsm1989/ecwrite

osd/ECBackend: Send write message to peers first, then do local write

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12524 from yuyuyu101/wip-bluestore-flush
Sage Weil [Thu, 29 Dec 2016 15:28:39 +0000 (09:28 -0600)]
Merge pull request #12524 from yuyuyu101/wip-bluestore-flush

os/bluestore: prevent lock for almost "flush" calls

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12528 from kylinstorage/wip-JournalingObjectStore-cleanup
Sage Weil [Thu, 29 Dec 2016 15:27:51 +0000 (09:27 -0600)]
Merge pull request #12528 from kylinstorage/wip-JournalingObjectStore-cleanup

os/filestore/JournalingObjectStore cleanup

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12670 from liewegas/wip-nits
Sage Weil [Thu, 29 Dec 2016 15:27:32 +0000 (09:27 -0600)]
Merge pull request #12670 from liewegas/wip-nits

mon: fix a few nits

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12684 from xiexingguo/xxg-wip-fix-onodesizetracking
Sage Weil [Thu, 29 Dec 2016 15:26:21 +0000 (09:26 -0600)]
Merge pull request #12684 from xiexingguo/xxg-wip-fix-onodesizetracking

os/bluestore: fix OnodeSizeTracking testing

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12707 from tchaikov/wip-dpdk-v16.07
Haomai Wang [Thu, 29 Dec 2016 07:02:59 +0000 (15:02 +0800)]
Merge pull request #12707 from tchaikov/wip-dpdk-v16.07

builds with dpdk v16.07

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async: bump dpdk to v16.07 12707/head
Kefu Chai [Thu, 29 Dec 2016 06:01:06 +0000 (14:01 +0800)]
msg/async: bump dpdk to v16.07

as some distros include it already. so sync it up to avoid building
failures on them with dpdk-dev package(s) shipped by distro.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/async: be compatible with dpdk v16.07
Kefu Chai [Thu, 29 Dec 2016 05:59:30 +0000 (13:59 +0800)]
msg/async: be compatible with dpdk v16.07

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12698 from yuyuyu101/wip-dpdk-fix
Kefu Chai [Thu, 29 Dec 2016 06:06:00 +0000 (14:06 +0800)]
Merge pull request #12698 from yuyuyu101/wip-dpdk-fix

msg/async/dpdk: fix compile errors

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12699 from wjwithagen/patch-15
Kefu Chai [Thu, 29 Dec 2016 04:04:23 +0000 (12:04 +0800)]
Merge pull request #12699 from wjwithagen/patch-15

qa/test_rados_tool.sh: POSIX dd only accepts 'k' as multiplier

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomon/OSDMonitor: remove workaround for dumpling-era bug 12403/head
Sage Weil [Fri, 9 Dec 2016 04:06:51 +0000 (22:06 -0600)]
mon/OSDMonitor: remove workaround for dumpling-era bug

We will definitely have published (and stored) a new osdmap since then.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12703 from kylinstorage/wip-remove-unused-variable
Sage Weil [Wed, 28 Dec 2016 17:56:55 +0000 (11:56 -0600)]
Merge pull request #12703 from kylinstorage/wip-remove-unused-variable

os/bluestore/BlueStore.cc: remove unused variable

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #12594 from wjwithagen/wip-wjw-freebsd-rebind-timing
Sage Weil [Wed, 28 Dec 2016 17:54:53 +0000 (11:54 -0600)]
Merge pull request #12594 from wjwithagen/wip-wjw-freebsd-rebind-timing

common/config_opts.h: FreeBSD timing changed due to no SO_REUSEADDR

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore/BlueStore.cc: remove unused variable 12703/head
Li Wang [Wed, 28 Dec 2016 15:19:19 +0000 (15:19 +0000)]
os/bluestore/BlueStore.cc: remove unused variable

Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
8 years agoqa/test_rados_tool.sh: POSIX dd only accepts 'k' as multiplier 12699/head
Willem Jan Withagen [Wed, 28 Dec 2016 10:05:09 +0000 (11:05 +0100)]
qa/test_rados_tool.sh: POSIX dd only accepts 'k' as multiplier

FreeBSD does not want KB as 1k multiplier.
see also: http://www.unix.com/man-page/posix/1posix/dd/

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agotest_userspace_event: fix missing std 12698/head
Haomai Wang [Wed, 28 Dec 2016 09:56:32 +0000 (17:56 +0800)]
test_userspace_event: fix missing std

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/dpdk/TCP: remove unneeded CephContext argument
Haomai Wang [Wed, 28 Dec 2016 09:55:45 +0000 (17:55 +0800)]
msg/dpdk/TCP: remove unneeded CephContext argument

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #12688 from Adirl/clean_line_end
Haomai Wang [Wed, 28 Dec 2016 02:50:15 +0000 (10:50 +0800)]
Merge pull request #12688 from Adirl/clean_line_end

msg/async/rdma: clean line endings

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoos/bluestore: fix OnodeSizeTracking testing 12684/head
xie xingguo [Tue, 27 Dec 2016 11:39:51 +0000 (19:39 +0800)]
os/bluestore: fix OnodeSizeTracking testing

[  FAILED  ] 1 test, listed below:
[  FAILED  ] ObjectStore/StoreTest.OnodeSizeTracking/2, where GetParam() = "bluestore"

 1 FAILED TEST

The above test failure happens as the bluestore mount() process
will try to load all collections and put them into the coll_map,
which will be also tracked as mempool::bluestore_meta_other.
So total_bytes from mempool won't be equal to zero.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #12336 from kylinstorage/wip-cleanup-use-string-ref
Sage Weil [Tue, 27 Dec 2016 22:38:17 +0000 (16:38 -0600)]
Merge pull request #12336 from kylinstorage/wip-cleanup-use-string-ref

osd: cleanup: use string & to avoid unnecessary copy

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12569 from liewegas/wip-bluestore-raw-unused
Sage Weil [Tue, 27 Dec 2016 22:37:15 +0000 (16:37 -0600)]
Merge pull request #12569 from liewegas/wip-bluestore-raw-unused

os/bluestore/bluestore_types: drop std::bitset for blob unused

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
8 years agoMerge pull request #12612 from fangyuxiangGL/master
Sage Weil [Tue, 27 Dec 2016 22:36:44 +0000 (16:36 -0600)]
Merge pull request #12612 from fangyuxiangGL/master

osd/ReplicatedBackend: do not set omap header if it is empty

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #12668 from hjwsm1989/pg-unfound
Sage Weil [Tue, 27 Dec 2016 22:36:18 +0000 (16:36 -0600)]
Merge pull request #12668 from hjwsm1989/pg-unfound

osd/PG: add new have_unfound() function in MissingLoc

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12674 from Liuchang0812/tools-rados-offset-support
Sage Weil [Tue, 27 Dec 2016 22:35:50 +0000 (16:35 -0600)]
Merge pull request #12674 from Liuchang0812/tools-rados-offset-support

tools/rados: add a parameter "--offset" to rados put command

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12675 from Liuchang0812/fix-test-case-in-rados
Sage Weil [Tue, 27 Dec 2016 22:35:29 +0000 (16:35 -0600)]
Merge pull request #12675 from Liuchang0812/fix-test-case-in-rados

test: replace hard-code binary names with varibles

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomon/OSDMonitor: ceph osd pool get/set crush_rule by name 12670/head
Sage Weil [Mon, 26 Dec 2016 15:14:12 +0000 (10:14 -0500)]
mon/OSDMonitor: ceph osd pool get/set crush_rule by name

This means users don't have to manually translate a rule
they just created to a ruleset ID in order to map a pool
to it.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMap: remove CATEGORY column from 'df detail'
Sage Weil [Sun, 25 Dec 2016 18:23:06 +0000 (13:23 -0500)]
mon/PGMap: remove CATEGORY column from 'df detail'

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMap: fix alignment of 'cache io' in ceph -s output
Sage Weil [Sun, 25 Dec 2016 18:21:08 +0000 (13:21 -0500)]
mon/PGMap: fix alignment of 'cache io' in ceph -s output

Currently it looks like

  client io 3508 B/s wr, 0 op/s rd, 5 op/s wr
  cache io 0 op/s promote

but should be

  client io 3508 B/s wr, 0 op/s rd, 5 op/s wr
   cache io 0 op/s promote

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: 'fs set-default' not 'fs set_default'
Sage Weil [Sun, 25 Dec 2016 18:19:31 +0000 (13:19 -0500)]
mon: 'fs set-default' not 'fs set_default'

The convention is to use - for command names and
_ for variable names.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12655 from ceph/wip-fix-fio
Sage Weil [Tue, 27 Dec 2016 15:34:59 +0000 (09:34 -0600)]
Merge pull request #12655 from ceph/wip-fix-fio

test/fio_ceph_objectstore: fix fio plugin build failure caused by rec…

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12682 from renhwztetecs/renhw-wip-mon-osdmonitor-sortbitwise
Sage Weil [Tue, 27 Dec 2016 15:30:59 +0000 (09:30 -0600)]
Merge pull request #12682 from renhwztetecs/renhw-wip-mon-osdmonitor-sortbitwise

mon/OSDMonitor: fixup sortbitwise flag warning

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12654 from yuyuyu101/wip-fix-async-subop
Sage Weil [Tue, 27 Dec 2016 15:26:00 +0000 (09:26 -0600)]
Merge pull request #12654 from yuyuyu101/wip-fix-async-subop

messages/MOSDSubOp: Make encode_payload can be reentrant

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12662 from Liuchang0812/doc-fix
Kefu Chai [Tue, 27 Dec 2016 13:09:06 +0000 (21:09 +0800)]
Merge pull request #12662 from Liuchang0812/doc-fix

doc: fix document about rados mon

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12198 from tchaikov/wip-pybind-freebsd
Kefu Chai [Tue, 27 Dec 2016 12:52:07 +0000 (20:52 +0800)]
Merge pull request #12198 from tchaikov/wip-pybind-freebsd

pybind: conditional compile the linux specific constant

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agomon/OSDMonitor: fixup sortbitwise flag warning 12682/head
huanwen ren [Tue, 27 Dec 2016 10:54:45 +0000 (10:54 +0000)]
mon/OSDMonitor: fixup sortbitwise flag warning

"ceph -s" does not report warning when using
command "ceph osd unset sortbitwise" to drop
sortbitwise flag.
we should use "osdmap.get_up_osd_features() &
CEPH_FEATURE_OSD_BITWISE_HOBJ_SORT"
instead of "(osdmap.get_features(CEPH_ENTITY_TYPE_OSD, NULL) &
CEPH_FEATURE_OSD_BITWISE_HOBJ_SORT)",
because osdmap.get_features only get local "features"

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
8 years agoReplicatedBackend: do not set omap header if it is empty 12612/head
fangyuxiang [Thu, 22 Dec 2016 02:43:27 +0000 (10:43 +0800)]
ReplicatedBackend: do not set omap header if it is empty

In replicatedpg backfill, objects have no omap header or keys previously, but an empty omap header will be inserted when they are pushed to replica, which leads leveldb performance degrade seriously when cluster has huge number of objects.
so my opinion is that we does't insert omap header if is size is zero when handle PushOp in recovery.

Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
8 years agotools/rados: add parameter offset for put cmd and test case for it 12674/head
liuchang0812 [Tue, 27 Dec 2016 02:42:38 +0000 (10:42 +0800)]
tools/rados: add parameter offset for put cmd and test case for it

add a parameter "--offset" for put command
add a test case for rados put command

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agodoc: fix document about rados mon 12662/head
liuchang0812 [Mon, 26 Dec 2016 06:56:14 +0000 (14:56 +0800)]
doc: fix document about rados mon

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #12663 from badone/wip-ceph_test_rados_api_c_write_operations...
Kefu Chai [Tue, 27 Dec 2016 06:44:35 +0000 (14:44 +0800)]
Merge pull request #12663 from badone/wip-ceph_test_rados_api_c_write_operations-valgrind-fixes

c_write_operations.cc: Fix trivial memory leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest: replace hard-code binary names with varibles 12675/head
liuchang0812 [Tue, 27 Dec 2016 06:18:29 +0000 (14:18 +0800)]
test: replace hard-code binary names with varibles

This test case couldn't run under customize env CEPH_BIN.

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #12672 from liupan1111/wip-fix-nvme-driver-compile-issue
Haomai Wang [Tue, 27 Dec 2016 06:07:07 +0000 (14:07 +0800)]
Merge pull request #12672 from liupan1111/wip-fix-nvme-driver-compile-issue

bluestore: fixed compilation error when enable spdk

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agobluestore: fixed compilation error when enable spdk 12672/head
Pan Liu [Tue, 27 Dec 2016 04:41:59 +0000 (12:41 +0800)]
bluestore: fixed compilation error when enable spdk

Signed-off-by: Pan Liu <pan.liu@istuary.com>
8 years agomsg/async/rdma: clean line endings 12688/head
Adir Lev [Mon, 26 Dec 2016 15:43:06 +0000 (15:43 +0000)]
msg/async/rdma: clean line endings

Change-Id: I59359ae585b66018fe54d5e841a6506c077c606f
Signed-off-by: Adir Lev <adirl@mellanox.com>
8 years agoMerge pull request #12659 from kylinstorage/wip-remove-obsolete-configuration-option
Sage Weil [Mon, 26 Dec 2016 18:31:47 +0000 (12:31 -0600)]
Merge pull request #12659 from kylinstorage/wip-remove-obsolete-configuration-option

common/config_opts.h: remove obsolete configuration option

Reviewed-by: Sage Weil <sage@redhat.com>
8 years ago osd/PG: add new have_unfound() function in MissingLoc 12668/head
huangjun [Mon, 26 Dec 2016 11:36:26 +0000 (19:36 +0800)]
  osd/PG: add new have_unfound() function in MissingLoc
          No need to lookup all objects in needs_recovery_map if only want to
          know whether if there are unfound objects.

Signed-off-by: huangjun <hjwsm1989@gmail.com>
8 years agoMerge pull request #12648 from Adirl/fix_RoCEv2_deafult_value
Haomai Wang [Mon, 26 Dec 2016 08:25:30 +0000 (16:25 +0800)]
Merge pull request #12648 from Adirl/fix_RoCEv2_deafult_value

msg/async/rdma: fix RoCE v2 deafult value

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoc_write_operations.cc: Fix trivial memory leak 12663/head
Brad Hubbard [Mon, 26 Dec 2016 08:16:30 +0000 (18:16 +1000)]
c_write_operations.cc: Fix trivial memory leak

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #12657 from badone/wip-c_read_operations-valgrind-fixes
Brad Hubbard [Mon, 26 Dec 2016 06:28:44 +0000 (16:28 +1000)]
Merge pull request #12657 from badone/wip-c_read_operations-valgrind-fixes

test/librados/c_read_operations.cc: Fix valgrind errors

Reviewed-by: liuchang0812 <liuchang0812@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12660 from liupan1111/wip-fix-dpdk-compile
Haomai Wang [Mon, 26 Dec 2016 06:02:34 +0000 (14:02 +0800)]
Merge pull request #12660 from liupan1111/wip-fix-dpdk-compile

async: Fixed compilation error when enable -DWITH_DPDK

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoasync: Fixed compilation error when enable -DWITH_DPDK 12660/head
Pan Liu [Mon, 26 Dec 2016 02:28:08 +0000 (10:28 +0800)]
async: Fixed compilation error when enable -DWITH_DPDK

Signed-off-by: Pan Liu <pan.liu@istuary.com>
8 years agotest/librados/c_read_operations.cc: Fix valgrind errors 12657/head
Brad Hubbard [Sun, 25 Dec 2016 05:29:52 +0000 (15:29 +1000)]
test/librados/c_read_operations.cc: Fix valgrind errors

Fixes: http://tracker.ceph.com/issues/18354
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agocommon/config_opts.h: remove obsolete configuration option 12659/head
Li Wang [Sun, 25 Dec 2016 14:00:20 +0000 (14:00 +0000)]
common/config_opts.h: remove obsolete configuration option

Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
8 years agoMerge pull request #12474 from cbodley/wip-rgw-test-versioned
Orit Wasserman [Sun, 25 Dec 2016 10:47:27 +0000 (12:47 +0200)]
Merge pull request #12474 from cbodley/wip-rgw-test-versioned

test/rgw: add test for versioned object sync
Reviewed-by: Orit wasserman <owasserm@redhat.com>
8 years agoMerge pull request #12597 from badone/wip-osdmap-nocopy
Brad Hubbard [Sat, 24 Dec 2016 22:21:39 +0000 (08:21 +1000)]
Merge pull request #12597 from badone/wip-osdmap-nocopy

osd/OSDMap: Uncomment code to enable private default constructors

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agotest/fio_ceph_objectstore: fix fio plugin build failure caused by recent g_ceph_conte... 12655/head
Igor Fedotov [Sat, 24 Dec 2016 22:20:04 +0000 (22:20 +0000)]
test/fio_ceph_objectstore: fix fio plugin build failure caused by recent g_ceph_context removal

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: prevent lock for almost "flush" calls 12524/head
Haomai Wang [Fri, 16 Dec 2016 10:42:58 +0000 (18:42 +0800)]
os/bluestore: prevent lock for almost "flush" calls

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #12642 from theanalyst/doc/release-notes/11.1.1
Sage Weil [Sat, 24 Dec 2016 05:22:56 +0000 (23:22 -0600)]
Merge pull request #12642 from theanalyst/doc/release-notes/11.1.1

doc: release notes for v11.1.1

8 years agoMerge pull request #12582 from Liuchang0812/fix-store-version-bug
Sage Weil [Sat, 24 Dec 2016 05:19:37 +0000 (23:19 -0600)]
Merge pull request #12582 from Liuchang0812/fix-store-version-bug

os/filestore: version will be uninitialized varible if store_version doesn't exist

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12581 from Liuchang0812/fix-clang-warn-filestore
Sage Weil [Sat, 24 Dec 2016 05:19:15 +0000 (23:19 -0600)]
Merge pull request #12581 from Liuchang0812/fix-clang-warn-filestore

os/filestore: fix clang static check warn "use-after-free“

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12517 from hjwsm1989/wip-18266
Sage Weil [Sat, 24 Dec 2016 05:17:42 +0000 (23:17 -0600)]
Merge pull request #12517 from hjwsm1989/wip-18266

messages/MOSDPGTrim: add the missed HEAD_VERSION AND COMPAT_VERSION

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12518 from kylinstorage/wip-safe-read-cmd
Sage Weil [Sat, 24 Dec 2016 05:17:15 +0000 (23:17 -0600)]
Merge pull request #12518 from kylinstorage/wip-safe-read-cmd

common/admin-socket: fix potential buffer overflow

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12653 from wjwithagen/wjw-wip-denc-raw
Sage Weil [Sat, 24 Dec 2016 05:16:21 +0000 (23:16 -0600)]
Merge pull request #12653 from wjwithagen/wjw-wip-denc-raw

src/test/test_denc.cc: Fix errors in buffer overflow

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #12469 from bassam/pr-jemalloc-mallinfo
Sage Weil [Sat, 24 Dec 2016 05:10:45 +0000 (23:10 -0600)]
Merge pull request #12469 from bassam/pr-jemalloc-mallinfo

cmake: disable mallinfo for jemalloc

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12468 from bassam/pr-simplify-jemalloc
Sage Weil [Sat, 24 Dec 2016 05:10:30 +0000 (23:10 -0600)]
Merge pull request #12468 from bassam/pr-simplify-jemalloc

cmake: simplify find_package jemalloc

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12519 from hjwsm1989/pgbackfill
Sage Weil [Sat, 24 Dec 2016 05:10:14 +0000 (23:10 -0600)]
Merge pull request #12519 from hjwsm1989/pgbackfill

osd/PG: simplify the logic of backfill_targets checking

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12585 from liewegas/wip-notify-ack
Sage Weil [Sat, 24 Dec 2016 04:54:23 +0000 (22:54 -0600)]
Merge pull request #12585 from liewegas/wip-notify-ack

osd/osd_types: print notify-ack op properly

8 years agoMerge pull request #12563 from xiexingguo/xxg-wip-osd-1217
Sage Weil [Sat, 24 Dec 2016 04:54:14 +0000 (22:54 -0600)]
Merge pull request #12563 from xiexingguo/xxg-wip-osd-1217

common: make attempts of auth rotating configurable

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11065 from LiumxNL/wip-fix-osdmap-update
Sage Weil [Sat, 24 Dec 2016 04:53:58 +0000 (22:53 -0600)]
Merge pull request #11065 from LiumxNL/wip-fix-osdmap-update

mon/OSDMonitor: should propose osdmap update when cluster addr changed

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12634 from liewegas/wip-bluestore-shard-keys
Sage Weil [Sat, 24 Dec 2016 04:53:08 +0000 (22:53 -0600)]
Merge pull request #12634 from liewegas/wip-bluestore-shard-keys

os/bluestore: do not cache shard keys

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
8 years agoMerge pull request #12635 from liewegas/wip-bluestore-cache
Sage Weil [Sat, 24 Dec 2016 04:52:43 +0000 (22:52 -0600)]
Merge pull request #12635 from liewegas/wip-bluestore-cache

os/bluestore: set cache meta ratio to .9

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #12644 from xiexingguo/xxg-wip-bluestore-keyreserve
Sage Weil [Sat, 24 Dec 2016 04:52:29 +0000 (22:52 -0600)]
Merge pull request #12644 from xiexingguo/xxg-wip-bluestore-keyreserve

os/bluestore: preallocate object[extent_shard] key to avoid reallocate

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agomessages/MOSDSubOp: Make encode_payload can be reentrant 12654/head
Haomai Wang [Sat, 24 Dec 2016 03:33:34 +0000 (11:33 +0800)]
messages/MOSDSubOp: Make encode_payload can be reentrant

Otherwise, AsyncConnection will use uninitialized feature to encode
message. The caller side will set a old version header but encode with newest
feature since passing feature is ok. It will let receiver side got a old
header version but newest payload decode result.

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agosrc/test/test_denc.cc: Fix errors in buffer overflow 12653/head
Willem Jan Withagen [Fri, 23 Dec 2016 23:46:54 +0000 (00:46 +0100)]
src/test/test_denc.cc: Fix errors in buffer overflow

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoos/bluestore: do not precalculate/cache shard keys 12634/head
Sage Weil [Fri, 23 Dec 2016 20:48:50 +0000 (15:48 -0500)]
os/bluestore: do not precalculate/cache shard keys

Note that we are generating it on demand now.  We can
probably do better, especially when in a loop.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12149 from adamemerson/wip-g_ceph_context-exterminate
Sage Weil [Fri, 23 Dec 2016 14:40:48 +0000 (08:40 -0600)]
Merge pull request #12149 from adamemerson/wip-g_ceph_context-exterminate

global: start removing g_ceph_context

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge remote-tracking branch 'gh/kraken'
Sage Weil [Fri, 23 Dec 2016 14:37:23 +0000 (09:37 -0500)]
Merge remote-tracking branch 'gh/kraken'

8 years agoMerge pull request #12630 from liewegas/wip-workunit-retry
Sage Weil [Fri, 23 Dec 2016 14:12:35 +0000 (08:12 -0600)]
Merge pull request #12630 from liewegas/wip-workunit-retry

qa/tasks/workunit: clear clone dir before retrying checkout

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #12614 from liewegas/wip-task-peer
Sage Weil [Fri, 23 Dec 2016 14:11:36 +0000 (08:11 -0600)]
Merge pull request #12614 from liewegas/wip-task-peer

qa/tasks/peer: update task based on current peering behavior

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #12559 from Adirl/verify_transport_type
Haomai Wang [Fri, 23 Dec 2016 13:38:15 +0000 (21:38 +0800)]
Merge pull request #12559 from Adirl/verify_transport_type

msg/async: assert if compiled code doesn't support the configured ms_…

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async: assert if compiled code doesn't support the configured ms_async_transport_type 12559/head
Avner BenHanoch [Mon, 5 Dec 2016 08:16:02 +0000 (08:16 +0000)]
msg/async: assert if compiled code doesn't support the configured ms_async_transport_type

for example, currently there is a crash when using the async stack (access of null pointer)
in case the user configured rdma for a code that was not compiled with RDMA

issue: 913397

Change-Id: I4e3d88006312a713b8d3aaefbdcd0596039270e1
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>