]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoqa/suites/upgrade/jewel-x: do not thrash cluster full during upgrade 13852/head
Sage Weil [Wed, 8 Mar 2017 03:35:02 +0000 (22:35 -0500)]
qa/suites/upgrade/jewel-x: do not thrash cluster full during upgrade

The mon command varies.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suite/rados/upgrade: do not thrash full cluster during upgrade
Sage Weil [Wed, 8 Mar 2017 03:34:37 +0000 (22:34 -0500)]
qa/suite/rados/upgrade: do not thrash full cluster during upgrade

The mon command varies!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13615 from liewegas/wip-osd-full
Sage Weil [Wed, 8 Mar 2017 03:33:14 +0000 (21:33 -0600)]
Merge pull request #13615 from liewegas/wip-osd-full

mon,osd: new mechanism for managing full and nearfull OSDs for luminous

Reviewed-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #13759 from liewegas/wip-19133
Sage Weil [Wed, 8 Mar 2017 03:31:50 +0000 (21:31 -0600)]
Merge pull request #13759 from liewegas/wip-19133

osdc/Objecter: resend RWORDERED ops on full

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #13734 from liewegas/wip-jewel-x
Sage Weil [Wed, 8 Mar 2017 03:25:13 +0000 (21:25 -0600)]
Merge pull request #13734 from liewegas/wip-jewel-x

qa/suite/upgrade/jewel-x: various fixes

Reviewed-by: Yuri Weinstein <yweinstei@redhat.com>
8 years agoMerge pull request #13846 from rzarzynski/wip-qa-rgw-start-apache-first
Yehuda Sadeh [Tue, 7 Mar 2017 23:13:35 +0000 (15:13 -0800)]
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>
8 years agoqa/tasks/ceph_manager: use new luminous set-full-ratio etc 13759/head
Sage Weil [Tue, 7 Mar 2017 21:39:09 +0000 (16:39 -0500)]
qa/tasks/ceph_manager: use new luminous set-full-ratio etc

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13410 from yehudasa/wip-tracing-fix
Yehuda Sadeh [Tue, 7 Mar 2017 21:31:47 +0000 (13:31 -0800)]
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>
8 years agoMerge pull request #13839 from theanalyst/release/10.2.6/changelog
Sage Weil [Tue, 7 Mar 2017 21:30:04 +0000 (15:30 -0600)]
Merge pull request #13839 from theanalyst/release/10.2.6/changelog

doc: add changelog for v10.2.6 Jewel release

8 years agodoc: add changelog for v10.2.6 Jewel release 13839/head
Abhishek Lekshmanan [Tue, 7 Mar 2017 20:44:23 +0000 (21:44 +0100)]
doc: add changelog for v10.2.6 Jewel release

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #13704 from batrick/mds-counter-unify
John Spray [Tue, 7 Mar 2017 19:50:11 +0000 (19:50 +0000)]
Merge pull request #13704 from batrick/mds-counter-unify

mds: remove some redundant object counters

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoosdc/Objecter: resend RWORDERED ops on full
Sage Weil [Fri, 3 Mar 2017 03:20:08 +0000 (21:20 -0600)]
osdc/Objecter: resend RWORDERED ops on full

Our condition for respecting the FULL flag is complex, and involves
the WRITE | RWORDERED flags vs the FULL_FORCE | FULL_TRY flags.  Previously,
we could block a read bc of RWORDRED but not resend it later.

Fix by capturing the complex condition in a respects_full() bool and using
it both for the blocking-on-send and resending-on-possibly-notfull-later
checks.

Fixes: http://tracker.ceph.com/issues/19133
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/thrashosds: chance_thrash_cluster_full
Sage Weil [Fri, 3 Mar 2017 14:45:10 +0000 (08:45 -0600)]
qa/tasks/thrashosds: chance_thrash_cluster_full

Induce a momentarily full cluster.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13832 from linuxbox2/wip-rgw-fs_inst
Daniel Gryniewicz [Tue, 7 Mar 2017 17:52:44 +0000 (12:52 -0500)]
Merge pull request #13832 from linuxbox2/wip-rgw-fs_inst

rgw_file:  fix fs_inst progression

8 years agoMerge pull request #10240 from songbaisen/b2
Yuri Weinstein [Tue, 7 Mar 2017 16:57:40 +0000 (08:57 -0800)]
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>
8 years agorgw_file: fix fs_inst progression 13832/head
Matt Benjamin [Tue, 7 Mar 2017 14:48:57 +0000 (09:48 -0500)]
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>
8 years agoqa/tasks/rgw.py: start Apache before RadosGW. 13846/head
Radoslaw Zarzynski [Tue, 7 Mar 2017 16:31:52 +0000 (17:31 +0100)]
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>
8 years agoMerge pull request #13323 from yehudasa/wip-18079-2
Sage Weil [Tue, 7 Mar 2017 14:41:08 +0000 (08:41 -0600)]
Merge pull request #13323 from yehudasa/wip-18079-2

librados: use cursor for nobjects listing

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13262 from batrick/multimds-thrasher
John Spray [Tue, 7 Mar 2017 14:29:18 +0000 (14:29 +0000)]
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>
8 years agoMerge pull request #13560 from wjwithagen/wip-wjw-ceph-disk-tests
Kefu Chai [Tue, 7 Mar 2017 07:37:18 +0000 (15:37 +0800)]
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>
8 years agoMerge pull request #13810 from yuyuyu101/wip-rdma-inflight
Haomai Wang [Tue, 7 Mar 2017 07:25:55 +0000 (15:25 +0800)]
Merge pull request #13810 from yuyuyu101/wip-rdma-inflight

msg/async/rdma: destroy QueuePair if needed

Reviewed-by: Adir lev <adirl@mellanox.com>
8 years agoMerge pull request #13742 from liupan1111/wip-cleanup-journal
Kefu Chai [Tue, 7 Mar 2017 04:24:50 +0000 (12:24 +0800)]
Merge pull request #13742 from liupan1111/wip-cleanup-journal

os/filestore: use existing variable for same func.

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12177 from kylinstorage/wip-remove-unneeded-loop
Kefu Chai [Tue, 7 Mar 2017 04:21:32 +0000 (12:21 +0800)]
Merge pull request #12177 from kylinstorage/wip-remove-unneeded-loop

os/filestore/FileStore.cc: remove unneeded loop

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13741 from rzarzynski/wip-bs-fastcrc32-in-rocks
Kefu Chai [Tue, 7 Mar 2017 04:06:22 +0000 (12:06 +0800)]
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>
8 years agoMerge pull request #13768 from tchaikov/wip-clang-fixes
Kefu Chai [Tue, 7 Mar 2017 04:05:36 +0000 (12:05 +0800)]
Merge pull request #13768 from tchaikov/wip-clang-fixes

librados, osd: clang fixes

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #13794 from liewegas/wip-clog-newlines
Kefu Chai [Tue, 7 Mar 2017 04:04:52 +0000 (12:04 +0800)]
Merge pull request #13794 from liewegas/wip-clog-newlines

common: remove \n on clog messages

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #13796 from liewegas/wip-debian-base-dbg
Kefu Chai [Tue, 7 Mar 2017 04:04:25 +0000 (12:04 +0800)]
Merge pull request #13796 from liewegas/wip-debian-base-dbg

debian/control: add ceph-base-dbg

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/suites/upgrade/jewel-x/parallel: upgrade mons before osds 13734/head
Sage Weil [Tue, 7 Mar 2017 00:01:12 +0000 (19:01 -0500)]
qa/suites/upgrade/jewel-x/parallel: upgrade mons before osds

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/upgrade/jewel-x/parallel: expand workload matrix
Sage Weil [Mon, 6 Mar 2017 20:16:13 +0000 (15:16 -0500)]
qa/suites/upgrade/jewel-x/parallel: expand workload matrix

These should run independently against a racing upgrade.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13799 from optimistyzy/36_1
Haomai Wang [Tue, 7 Mar 2017 01:48:28 +0000 (09:48 +0800)]
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>
8 years agoMerge pull request #13806 from vshankar/rbd-internal-api-move
Jason Dillaman [Tue, 7 Mar 2017 01:45:48 +0000 (20:45 -0500)]
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>
8 years agotest/cli/osdmaptool: fix osdmap output 13615/head
Sage Weil [Mon, 27 Feb 2017 20:48:41 +0000 (15:48 -0500)]
test/cli/osdmaptool: fix osdmap output

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: generate health warnings for luminous
Sage Weil [Thu, 23 Feb 2017 21:35:40 +0000 (16:35 -0500)]
mon/OSDMonitor: generate health warnings for luminous

Note that this tells us how many OSDs are full or nearfull; it
does not include detailed warnings telling you exactly what the
utilization is because we don't have the full osd_stat_t
available.  We leave it to ceph-mgr to generate those health
messages.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMonitor: stop generating health warnings with luminous
Sage Weil [Thu, 23 Feb 2017 21:33:47 +0000 (16:33 -0500)]
mon/PGMonitor: stop generating health warnings with luminous

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: set cluster flags based on osd flags (luminous)
Sage Weil [Thu, 23 Feb 2017 21:31:21 +0000 (16:31 -0500)]
mon/OSDMonitor: set cluster flags based on osd flags (luminous)

For luminous, set cluster flags based on osd flags.  Until
require_luminous is set, stick with the old pgmap-based behavior.
Move the new check to encode_pending so that the cluster flag is
set in the same epoch that the osd state(s) change.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: request a fullness state change during tick if needed
Sage Weil [Thu, 23 Feb 2017 20:57:25 +0000 (15:57 -0500)]
osd: request a fullness state change during tick if needed

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: require fullness state changes (as needed) before boot
Sage Weil [Thu, 23 Feb 2017 20:57:01 +0000 (15:57 -0500)]
osd: require fullness state changes (as needed) before boot

This ensures that we don't have a down osd that is marked full
go up, then realize it's not actually full, and then clear its
full flag.  That would result in a cluster full blip that isn't
needed. This can easily happen if the full_ratio in the osdmap is
increased while the OSD is down.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: restructure and simplify internal fullness checks
Sage Weil [Thu, 23 Feb 2017 20:55:35 +0000 (15:55 -0500)]
osd: restructure and simplify internal fullness checks

First, eliminate the useless nearfull failsafe--all it did was
generate a log message, which we can do based on the OSDMap
states.

Add some new helpers.

Unify the cluster nearfull/full vs failsafe states so that
failsafe is a "really" full state that is more severe than
full, so we have NONE, NEARFULL, FULL, FAILSAFE.

Pull the full/nearfull ratios out of the OSDMap (remember that
we require luminous mons, so these will be initialized).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMonitor: disable old 'pg set_[near]full_ratio ...' in luminous
Sage Weil [Thu, 23 Feb 2017 20:50:41 +0000 (15:50 -0500)]
mon/PGMonitor: disable old 'pg set_[near]full_ratio ...' in luminous

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/workunits/cephtool/test.sh: change [near]full_ratio tests
Sage Weil [Mon, 27 Feb 2017 19:29:02 +0000 (14:29 -0500)]
qa/workunits/cephtool/test.sh: change [near]full_ratio tests

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: implement new 'osd set-[near]full-ratio ...' commands
Sage Weil [Thu, 23 Feb 2017 20:52:27 +0000 (15:52 -0500)]
mon/OSDMonitor: implement new 'osd set-[near]full-ratio ...' commands

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: initialize osdmap ratios from pgmap on upgrade
Sage Weil [Thu, 23 Feb 2017 20:52:10 +0000 (15:52 -0500)]
mon/OSDMonitor: initialize osdmap ratios from pgmap on upgrade

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: set osdmap ratios on mkfs
Sage Weil [Thu, 23 Feb 2017 20:51:50 +0000 (15:51 -0500)]
mon/OSDMonitor: set osdmap ratios on mkfs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: handle MOSDFull messages from OSDs
Sage Weil [Thu, 23 Feb 2017 20:51:37 +0000 (15:51 -0500)]
mon/OSDMonitor: handle MOSDFull messages from OSDs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13755 from liewegas/wip-19131
Josh Durgin [Mon, 6 Mar 2017 20:48:25 +0000 (12:48 -0800)]
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>
8 years agoMerge pull request #13411 from yehudasa/wip-vstart-rgw-fix
Yehuda Sadeh [Mon, 6 Mar 2017 19:29:14 +0000 (11:29 -0800)]
Merge pull request #13411 from yehudasa/wip-vstart-rgw-fix

vstart: don't configure rgw_dns_name

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/suites/upgrade/jewel-x/stress-split-erasure-code: box thrashosds
Sage Weil [Mon, 6 Mar 2017 19:11:53 +0000 (14:11 -0500)]
qa/suites/upgrade/jewel-x/stress-split-erasure-code: box thrashosds

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/upgrade/jewel-x/stress-split: finish client.0 upgrade too
Sage Weil [Mon, 6 Mar 2017 19:07:53 +0000 (14:07 -0500)]
qa/suites/upgrade/jewel-x/stress-split: finish client.0 upgrade too

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: rename failsafe [near]full getters appropriately
Sage Weil [Thu, 23 Feb 2017 19:16:51 +0000 (14:16 -0500)]
osd: rename failsafe [near]full getters appropriately

...and make most of these methods private to clarify the public
interface

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMap: add [near]full_ratio to OSDMap[::Incremental]
Sage Weil [Thu, 23 Feb 2017 18:59:19 +0000 (13:59 -0500)]
osd/OSDMap: add [near]full_ratio to OSDMap[::Incremental]

This used to live in PGMap; we're moving it here for luminous
(which makes more sense anyway!).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: add per-osd FULL and NEARFULL state bits
Sage Weil [Thu, 23 Feb 2017 16:41:39 +0000 (11:41 -0500)]
osd: add per-osd FULL and NEARFULL state bits

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13425 from dzafman/wip-15912
David Zafman [Mon, 6 Mar 2017 18:49:01 +0000 (10:49 -0800)]
Merge pull request #13425 from dzafman/wip-15912

osd: various changes for preventing internal ENOSPC condition

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13783 from cbodley/wip-18980
Yehuda Sadeh [Mon, 6 Mar 2017 17:11:50 +0000 (09:11 -0800)]
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>
8 years agoMerge pull request #13379 from jecluis/wip-mon-luminous-features
Sage Weil [Mon, 6 Mar 2017 16:46:08 +0000 (10:46 -0600)]
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>
8 years agoMerge pull request #13582 from guzhongyan/cleanup_execute_ctx
Yuri Weinstein [Mon, 6 Mar 2017 16:35:11 +0000 (08:35 -0800)]
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>
8 years agoMerge pull request #13699 from yuyuyu101/wipasync-name
Yuri Weinstein [Mon, 6 Mar 2017 16:34:28 +0000 (08:34 -0800)]
Merge pull request #13699 from yuyuyu101/wipasync-name

msg/async: set thread name for msgr worker

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13726 from dachary/wip-crushtool-json
Yuri Weinstein [Mon, 6 Mar 2017 16:33:53 +0000 (08:33 -0800)]
Merge pull request #13726 from dachary/wip-crushtool-json

crush: add --dump to crushtool

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13730 from idryomov/wip-osd-rm-incremental
Yuri Weinstein [Mon, 6 Mar 2017 16:32:26 +0000 (08:32 -0800)]
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>
8 years agoMerge pull request #13715 from wangzhengyong/master
Sage Weil [Mon, 6 Mar 2017 14:36:02 +0000 (08:36 -0600)]
Merge pull request #13715 from wangzhengyong/master

os/bluestore: remove unused local variable "pos"

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13728 from ifed01/wip-bluestore-fix-smallwrite
Sage Weil [Mon, 6 Mar 2017 14:35:20 +0000 (08:35 -0600)]
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>
8 years agoMerge pull request #13736 from rzarzynski/wip-bs-bitmap-exact-type-in-leaf
Sage Weil [Mon, 6 Mar 2017 14:35:01 +0000 (08:35 -0600)]
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>
8 years agoMerge pull request #13743 from rzarzynski/wip-bs-bitmap-zone-direct-vector
Sage Weil [Mon, 6 Mar 2017 14:34:43 +0000 (08:34 -0600)]
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>
8 years agomsg/async/rdma: destroy QueuePair if needed 13810/head
Haomai Wang [Mon, 6 Mar 2017 12:40:09 +0000 (20:40 +0800)]
msg/async/rdma: destroy QueuePair if needed

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agotest / librbd: move non-public api usage tests to internal 13806/head
Venky Shankar [Mon, 6 Mar 2017 06:52:27 +0000 (12:22 +0530)]
test / librbd: move non-public api usage tests to internal

Signed-off-by: Venky Shankar <vshankar@redhat.com>
8 years agotest / librbd: create_image_full_pp() / clone_image_pp() helpers
Venky Shankar [Sun, 5 Mar 2017 06:17:02 +0000 (11:47 +0530)]
test / librbd: create_image_full_pp() / clone_image_pp() helpers

Signed-off-by: Venky Shankar <vshankar@redhat.com>
8 years agobluestore, NVMEDEVICE: Specify the max io completion in conf 13799/head
optimistyzy [Mon, 6 Mar 2017 04:55:41 +0000 (12:55 +0800)]
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>
8 years agoos/filestore: use existing variable to assign newsize. 13742/head
Pan Liu [Mon, 6 Mar 2017 04:35:22 +0000 (12:35 +0800)]
os/filestore: use existing variable to assign newsize.

Signed-off-by: Pan Liu <liupan1111@gmail.com>
8 years agoMerge pull request #13228 from trociny/wip-qa-rbd_mirror-opts
Kefu Chai [Mon, 6 Mar 2017 04:07:23 +0000 (12:07 +0800)]
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>
8 years agocommon: remove \n on clog messages 13794/head
Sage Weil [Mon, 6 Mar 2017 02:59:45 +0000 (21:59 -0500)]
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>
8 years agoMerge pull request #13772 from Liuchang0812/wip-add-override-in-mgr-headers
Kefu Chai [Mon, 6 Mar 2017 02:39:01 +0000 (10:39 +0800)]
Merge pull request #13772 from Liuchang0812/wip-add-override-in-mgr-headers

mgr: add override in headers

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: enable SSE-assisted CRC32 calculations in RocksDB. 13741/head
Radoslaw Zarzynski [Thu, 2 Mar 2017 06:57:33 +0000 (07:57 +0100)]
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>
8 years agodebian/control: add ceph-base-dbg 13796/head
Sage Weil [Sun, 5 Mar 2017 19:38:12 +0000 (14:38 -0500)]
debian/control: add ceph-base-dbg

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/upgrade/jewel-x: remove kraken references
Sage Weil [Sun, 5 Mar 2017 19:14:40 +0000 (14:14 -0500)]
qa/suites/upgrade/jewel-x: remove kraken references

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13765 from guihecheng/rgwfs-time-attrs
Matt Benjamin [Sat, 4 Mar 2017 20:50:47 +0000 (15:50 -0500)]
Merge pull request #13765 from guihecheng/rgwfs-time-attrs

rgw_file: posix style atime,ctime,mtime

8 years agoMerge pull request #13712 from linuxbox2/wip-dtor-fhcache
Matt Benjamin [Sat, 4 Mar 2017 20:50:03 +0000 (15:50 -0500)]
Merge pull request #13712 from linuxbox2/wip-dtor-fhcache

rgw_file: RGWFileHandle dtor must also cond-unlink from FHCache

8 years agoMerge pull request #13645 from yehudasa/wip-rgw-support-ragweed
Orit Wasserman [Sat, 4 Mar 2017 14:12:09 +0000 (16:12 +0200)]
Merge pull request #13645 from yehudasa/wip-rgw-support-ragweed

rgw: add apis to support ragweed
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #13413 from zhaochao/fix-mailmap-affiation
Kefu Chai [Sat, 4 Mar 2017 04:51:19 +0000 (12:51 +0800)]
Merge pull request #13413 from zhaochao/fix-mailmap-affiation

mailmap: fix Zhao Chao affiliation.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agorgw: delete_system_obj() fails on empty object name 13783/head
Casey Bodley [Fri, 3 Mar 2017 17:10:40 +0000 (12:10 -0500)]
rgw: delete_system_obj() fails on empty object name

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: if user.email is empty, dont try to delete
Casey Bodley [Fri, 3 Mar 2017 16:42:45 +0000 (11:42 -0500)]
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>
8 years agoqa/suites/rados/thrash: add no-thrash item to matrix 13755/head
Sage Weil [Fri, 3 Mar 2017 16:07:43 +0000 (10:07 -0600)]
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>
8 years agoMerge pull request #13767 from tchaikov/wip-vstart-no-multiple-mgr-x
Sage Weil [Fri, 3 Mar 2017 15:56:07 +0000 (09:56 -0600)]
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>
8 years agorgw_file: RGWFileHandle dtor must also cond-unlink from FHCache 13712/head
Matt Benjamin [Wed, 1 Mar 2017 01:24:12 +0000 (20:24 -0500)]
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>
8 years agomgr: add override in headers 13772/head
liuchang0812 [Wed, 22 Feb 2017 11:52:46 +0000 (19:52 +0800)]
mgr: add override in headers

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoosd/PGLog: always use ldpp_dout() to print with dpp 13768/head
Kefu Chai [Fri, 3 Mar 2017 08:42:53 +0000 (16:42 +0800)]
osd/PGLog: always use ldpp_dout() to print with dpp

lderr(dpp->get_cct()) could crash if dpp is null.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13584 from theanalyst/doc/release-luminous
Nathan Cutler [Fri, 3 Mar 2017 09:42:07 +0000 (10:42 +0100)]
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>
8 years agoos/bluestore: "noid" is not always necessary in clone op 13715/head
wangzhengyong [Fri, 3 Mar 2017 09:16:21 +0000 (17:16 +0800)]
os/bluestore: "noid" is not always necessary in clone op

Signed-off-by: wangzhengyong@cmss.chinamobile.com
8 years agolibrados: rados_inconsistent_pg_list() check "buf" param for null before copying...
Kefu Chai [Fri, 3 Mar 2017 08:41:51 +0000 (16:41 +0800)]
librados: rados_inconsistent_pg_list() check "buf" param for null before copying to it

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agovstart.sh: do not add host for mgr.* section if not $overwrite_conf 13767/head
Kefu Chai [Fri, 3 Mar 2017 07:52:11 +0000 (15:52 +0800)]
vstart.sh: do not add host for mgr.* section if not $overwrite_conf

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13678 from liewegas/wip-readable
Kefu Chai [Fri, 3 Mar 2017 07:03:03 +0000 (15:03 +0800)]
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>
8 years agorgw_file: posix style atime,ctime,mtime 13765/head
Gui Hecheng [Thu, 2 Mar 2017 09:21:57 +0000 (17:21 +0800)]
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>
8 years agoMerge pull request #13762 from Liuchang0812/wip-remove-unnecessary-code-in-mon
Kefu Chai [Fri, 3 Mar 2017 05:05:04 +0000 (13:05 +0800)]
Merge pull request #13762 from Liuchang0812/wip-remove-unnecessary-code-in-mon

mon: remove unnecessary function declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomon: remove unnecessary function declaration 13762/head
liuchang0812 [Fri, 3 Mar 2017 03:54:34 +0000 (11:54 +0800)]
mon: remove unnecessary function declaration

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #12566 from Liuchang0812/wip-rados
Kefu Chai [Fri, 3 Mar 2017 03:47:25 +0000 (11:47 +0800)]
Merge pull request #12566 from Liuchang0812/wip-rados

tools/rados: remove useless function declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/filestore/FileStore.cc: remove unneeded loop 12177/head
Li Wang [Fri, 3 Mar 2017 03:27:45 +0000 (03:27 +0000)]
os/filestore/FileStore.cc: remove unneeded loop

Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
8 years agoMerge pull request #12421 from cernceph/wip-dvanders-split
Sage Weil [Fri, 3 Mar 2017 01:04:51 +0000 (19:04 -0600)]
Merge pull request #12421 from cernceph/wip-dvanders-split

os/filestore/HashIndex: be loud about splits

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12627 from liupan1111/wip-fix-remove-when-full
Yuri Weinstein [Fri, 3 Mar 2017 00:59:34 +0000 (16:59 -0800)]
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>
8 years agoMerge pull request #13289 from songbaisen/s13
Yuri Weinstein [Fri, 3 Mar 2017 00:57:23 +0000 (16:57 -0800)]
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>
8 years agoos/bluestore: remove unneeded indirection in BitMapZone. 13743/head
Radoslaw Zarzynski [Wed, 1 Mar 2017 15:54:39 +0000 (16:54 +0100)]
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>
8 years agoMerge pull request #13599 from kylinstorage/cleanup_bitmapallocator
Sage Weil [Thu, 2 Mar 2017 22:50:22 +0000 (16:50 -0600)]
Merge pull request #13599 from kylinstorage/cleanup_bitmapallocator

os/bluestore/BitMapAllocator: rm unused variable

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13744 from smithfarm/wip-19129
Sage Weil [Thu, 2 Mar 2017 22:39:46 +0000 (16:39 -0600)]
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>