]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agomds: remove duplicated log in handle_client_readdir 11806/head
Zhi Zhang [Mon, 7 Nov 2016 08:41:39 +0000 (16:41 +0800)]
mds: remove duplicated log in handle_client_readdir

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
8 years agoMerge pull request #11343 from ceph/wip-civetweb-1.8
Yehuda Sadeh [Sat, 5 Nov 2016 19:53:23 +0000 (12:53 -0700)]
Merge pull request #11343 from ceph/wip-civetweb-1.8

Update version of civetweb to 1.8

8 years agoMerge pull request #11251 from stiopaa1/osd_replicatedpg_removeCount2
Kefu Chai [Sat, 5 Nov 2016 17:50:37 +0000 (01:50 +0800)]
Merge pull request #11251 from stiopaa1/osd_replicatedpg_removeCount2

osd/ReplicatedPG: remove unneeded use of count

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11510 from vshankar/wip-17356
Jason Dillaman [Sat, 5 Nov 2016 17:15:27 +0000 (13:15 -0400)]
Merge pull request #11510 from vshankar/wip-17356

librbd: batch object map updates during trim

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11766 from trociny/wip-rbd-info-fix-upgrade-client
Jason Dillaman [Sat, 5 Nov 2016 17:15:08 +0000 (13:15 -0400)]
Merge pull request #11766 from trociny/wip-rbd-info-fix-upgrade-client

librbd: snap_get_limit compatibility check

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #10907 from jecluis/wip-mon-features
Sage Weil [Sat, 5 Nov 2016 12:58:14 +0000 (07:58 -0500)]
Merge pull request #10907 from jecluis/wip-mon-features

mon: have mon-specific features & rework internal monmap structures

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11772 from liewegas/wip-sortbitwise
Sage Weil [Sat, 5 Nov 2016 12:57:17 +0000 (07:57 -0500)]
Merge pull request #11772 from liewegas/wip-sortbitwise

osd,mon: require sortbitwise flag to upgrade beyond jewel

8 years agoMerge pull request #11791 from liewegas/wip-remove-move-ranges
Sage Weil [Sat, 5 Nov 2016 12:57:07 +0000 (07:57 -0500)]
Merge pull request #11791 from liewegas/wip-remove-move-ranges

os: remove move_ranges_destroy_src

8 years agoMerge pull request #10447 from stiopaa1/msg_pipe_moveDelayedDelivery2
Kefu Chai [Sat, 5 Nov 2016 06:53:13 +0000 (14:53 +0800)]
Merge pull request #10447 from stiopaa1/msg_pipe_moveDelayedDelivery2

msg/Pipe: move DelayedDelivery class to cc file

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11780 from xiexingguo/xxg-wip-bluestore-1104
Sage Weil [Sat, 5 Nov 2016 02:33:54 +0000 (21:33 -0500)]
Merge pull request #11780 from xiexingguo/xxg-wip-bluestore-1104

os/bluestore: a few more cleanups

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #11498 from liewegas/wip-stop-at-jewel
Sage Weil [Sat, 5 Nov 2016 02:24:50 +0000 (21:24 -0500)]
Merge pull request #11498 from liewegas/wip-stop-at-jewel

mon: prevent post-jewel OSDs from booting if require_jewel_osds is not set

8 years agoos/bluestore: fix output message when passing the end of list range 11780/head
xie xingguo [Sat, 5 Nov 2016 00:28:30 +0000 (08:28 +0800)]
os/bluestore: fix output message when passing the end of list range

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: fix typo in comments
xie xingguo [Sat, 5 Nov 2016 00:26:36 +0000 (08:26 +0800)]
os/bluestore: fix typo in comments

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: add sanity check against collection existence
xie xingguo [Fri, 4 Nov 2016 06:50:49 +0000 (14:50 +0800)]
os/bluestore: add sanity check against collection existence

To keep pace with other methods.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: narrow boundary check for fiemap
xie xingguo [Fri, 4 Nov 2016 06:47:53 +0000 (14:47 +0800)]
os/bluestore: narrow boundary check for fiemap

By including off-by-one.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11527 from wjwithagen/wip-wjw-readable.sh
Sage Weil [Fri, 4 Nov 2016 22:16:32 +0000 (17:16 -0500)]
Merge pull request #11527 from wjwithagen/wip-wjw-readable.sh

test/encoding/readable.sh: fix shell script warning

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11775 from jdurgin/wip-jewel-osds-warning
Sage Weil [Fri, 4 Nov 2016 22:15:30 +0000 (17:15 -0500)]
Merge pull request #11775 from jdurgin/wip-jewel-osds-warning

mon/OSDMonitor: remove duplicate jewel/kraken flag warning

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #9345 from SUSE/wip_remove_mon_startup_magic
Sage Weil [Fri, 4 Nov 2016 22:14:37 +0000 (17:14 -0500)]
Merge pull request #9345 from SUSE/wip_remove_mon_startup_magic

mon: remove ceph-create-keys from mon startup

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agosrc/init-ceph.in:Remove ceph-create-keys for sysv 9345/head
Owen Synge [Tue, 10 May 2016 08:59:12 +0000 (10:59 +0200)]
src/init-ceph.in:Remove ceph-create-keys for sysv

ceph-create-keys should not be started on boot of mons with sysv init.

Signed-off-by: Owen Synge <osynge@suse.com>
8 years agosystemd/CMakeLists.txt:Remove ceph-create-keys cmake
Owen Synge [Mon, 12 Sep 2016 10:08:03 +0000 (12:08 +0200)]
systemd/CMakeLists.txt:Remove ceph-create-keys cmake

ceph-create-keys should not be started on boot of mons with systemd so should
not exist as 'After' or 'Wants' for the ceph-mon.service

Signed-off-by: Owen Synge <osynge@suse.com>
8 years agosystemd/ceph-mon@.service:Remove ceph-create-keys for mon in systemd
Owen Synge [Wed, 25 May 2016 11:18:37 +0000 (13:18 +0200)]
systemd/ceph-mon@.service:Remove ceph-create-keys for mon in systemd

ceph-create-keys should not be started on boot of mons with systemd so should
not exist as 'After' or 'Wants' for the ceph-mon.service

Signed-off-by: Owen Synge <osynge@suse.com>
8 years agosystemd/ceph-create-keys@.service:Remove ceph-create-keys for systemd
Owen Synge [Tue, 10 May 2016 09:06:31 +0000 (11:06 +0200)]
systemd/ceph-create-keys@.service:Remove ceph-create-keys for systemd

ceph-create-keys should not be started on boot of mons with systemd so should
not exist in the systemd files

Signed-off-by: Owen Synge <osynge@suse.com>
8 years agosrc/upstart/ceph-create-keys.conf:Remove ceph-create-keys for upstart
Owen Synge [Tue, 10 May 2016 09:05:49 +0000 (11:05 +0200)]
src/upstart/ceph-create-keys.conf:Remove ceph-create-keys for upstart

ceph-create-keys should not be started on boot of mons with upstart so should
not exist in the upstart files

Signed-off-by: Owen Synge <osynge@suse.com>
8 years agodebian/rules:Remove ceph-create-keys for deb packaging
Owen Synge [Tue, 10 May 2016 09:04:07 +0000 (11:04 +0200)]
debian/rules:Remove ceph-create-keys for deb packaging

ceph-create-keys should not be started on boot of mons with upstart so should
not exist in the deb.

Signed-off-by: Owen Synge <osynge@suse.com>
8 years agoceph.spec.in:Remove ceph-create-keys for systemd
Owen Synge [Tue, 10 May 2016 08:58:11 +0000 (10:58 +0200)]
ceph.spec.in:Remove ceph-create-keys for systemd

ceph-create-keys should not be started on boot of mons with systemd so should
not exist in the rpm.

Signed-off-by: Owen Synge <osynge@suse.com>
8 years agoMerge pull request #11749 from ceph/wip-17753
Tamilarasi Muthamizhan [Fri, 4 Nov 2016 20:27:55 +0000 (13:27 -0700)]
Merge pull request #11749 from ceph/wip-17753

ceph-create-keys should not try forever to do things

8 years agoMerge pull request #11788 from liewegas/wip-bluestore-blackhole
Sage Weil [Fri, 4 Nov 2016 18:37:50 +0000 (13:37 -0500)]
Merge pull request #11788 from liewegas/wip-bluestore-blackhole

os: make filestore_blackhole -> objectstore_blackhole

8 years agoos: remove move_ranges_destroy_src 11791/head
Sage Weil [Fri, 4 Nov 2016 18:22:05 +0000 (14:22 -0400)]
os: remove move_ranges_destroy_src

We are going to take a different path (rollback support in ObjectStore
instead of roll-forward via splicing data from a temp object).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11747 from jecluis/wip-17725
Sage Weil [Fri, 4 Nov 2016 18:13:09 +0000 (13:13 -0500)]
Merge pull request #11747 from jecluis/wip-17725

mon: MonmapMonitor: return success when monitor will be removed

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #9768 from cxwshawn/wip-tc1-fix
Sage Weil [Fri, 4 Nov 2016 18:01:08 +0000 (13:01 -0500)]
Merge pull request #9768 from cxwshawn/wip-tc1-fix

log: optimize header file dependency

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #9288 from yuyuyu101/wip-add-shutdown-log
Sage Weil [Fri, 4 Nov 2016 18:00:38 +0000 (13:00 -0500)]
Merge pull request #9288 from yuyuyu101/wip-add-shutdown-log

osd: print log when osd want to kill self

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11770 from liewegas/wip-kill-tbl
Sage Weil [Fri, 4 Nov 2016 17:40:57 +0000 (12:40 -0500)]
Merge pull request #11770 from liewegas/wip-kill-tbl

os/ObjectStore: remove legacy tbl support

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11785 from Liuchang0812/patch-1
Sage Weil [Fri, 4 Nov 2016 16:09:12 +0000 (11:09 -0500)]
Merge pull request #11785 from Liuchang0812/patch-1

doc: Update crush-map.rst, fix a typo mistake

8 years agoos/bluestore: implement blackhole 11788/head
Sage Weil [Fri, 4 Nov 2016 15:29:21 +0000 (11:29 -0400)]
os/bluestore: implement blackhole

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos: add objectstore_blackhole option; deprecate filestore_blackhole
Sage Weil [Fri, 4 Nov 2016 15:24:14 +0000 (11:24 -0400)]
os: add objectstore_blackhole option; deprecate filestore_blackhole

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11531 from yuyuyu101/wip-rdma
Yuri Weinstein [Fri, 4 Nov 2016 14:43:38 +0000 (07:43 -0700)]
Merge pull request #11531 from yuyuyu101/wip-rdma

msg/async: ibverbs/rdma support

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Mellanox <adirl@mellanox.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
8 years agoMerge pull request #11637 from liupan1111/master
Yuri Weinstein [Fri, 4 Nov 2016 14:38:18 +0000 (07:38 -0700)]
Merge pull request #11637 from liupan1111/master

common: make l_finisher_complete_lat more accurate

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoUpdate crush-map.rst 11785/head
whu_liuchang [Fri, 4 Nov 2016 14:14:39 +0000 (22:14 +0800)]
Update crush-map.rst

fix typo

8 years agoMerge pull request #11771 from liewegas/wip-bluestore-collection-end
Sage Weil [Fri, 4 Nov 2016 13:26:17 +0000 (08:26 -0500)]
Merge pull request #11771 from liewegas/wip-bluestore-collection-end

os/bluestore: fix collection_list end bound off-by-one

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11784 from jcsp/wip-jcsp-docs
Kefu Chai [Fri, 4 Nov 2016 13:14:17 +0000 (21:14 +0800)]
Merge pull request #11784 from jcsp/wip-jcsp-docs

Documentation syntax cleanup

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodoc/cephfs: separate front page section for dev stuff 11784/head
John Spray [Fri, 4 Nov 2016 10:07:45 +0000 (10:07 +0000)]
doc/cephfs: separate front page section for dev stuff

The "additional details" section was getting longer
and longer, and I don't want developer-only stuff
in there anyway.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agodoc/mgr: fix rst syntax in plugin guide
John Spray [Fri, 4 Nov 2016 10:07:12 +0000 (10:07 +0000)]
doc/mgr: fix rst syntax in plugin guide

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agodoc/cephfs: fix rst syntax in mantle.rst
John Spray [Fri, 4 Nov 2016 10:06:46 +0000 (10:06 +0000)]
doc/cephfs: fix rst syntax in mantle.rst

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agocephfs/capabilities: fix rst syntax
John Spray [Fri, 4 Nov 2016 10:05:57 +0000 (10:05 +0000)]
cephfs/capabilities: fix rst syntax

Although we don't link this into built docs,
it generates warnings during build.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agodoc/cephfs: s/CephFS Quotas/Quotas/
John Spray [Fri, 4 Nov 2016 10:05:21 +0000 (10:05 +0000)]
doc/cephfs: s/CephFS Quotas/Quotas/

This looks odd in the TOC (we're already
in the cephfs section)

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agodoc/cephfs: fix header depths
John Spray [Fri, 4 Nov 2016 09:58:28 +0000 (09:58 +0000)]
doc/cephfs: fix header depths

Some files had multiple top-level headers resulting in
subsections being listed in the TOC alongside the
main page header.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agodoc/cephfs: link in mantle doc
John Spray [Fri, 4 Nov 2016 09:34:38 +0000 (09:34 +0000)]
doc/cephfs: link in mantle doc

...and add a warning at the very top of the document
that it is not for ordinary user use.

Considered just not linking this in at all, but it
seems a shame to have it here but not be able to
e.g. google it and link to it.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11741 from trociny/wip-17219
Jason Dillaman [Fri, 4 Nov 2016 12:54:41 +0000 (08:54 -0400)]
Merge pull request #11741 from trociny/wip-17219

rbd-nbd: disallow mapping images >2TB in size

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11744 from trociny/wip-16962
Jason Dillaman [Fri, 4 Nov 2016 12:53:51 +0000 (08:53 -0400)]
Merge pull request #11744 from trociny/wip-16962

rbd-mirror: snap protect of non-layered image results in split-brain

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11755 from trociny/wip-17791
Jason Dillaman [Fri, 4 Nov 2016 12:52:54 +0000 (08:52 -0400)]
Merge pull request #11755 from trociny/wip-17791

librbd: proper check for get_data_pool compatibility

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #10852 from wido/doc-mon-dns
Kefu Chai [Fri, 4 Nov 2016 11:30:29 +0000 (19:30 +0800)]
Merge pull request #10852 from wido/doc-mon-dns

doc: Add docs about looking up Monitors through DNS

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11774 from wjwithagen/wip-wjw-test_bloom_filter
Kefu Chai [Fri, 4 Nov 2016 06:46:06 +0000 (14:46 +0800)]
Merge pull request #11774 from wjwithagen/wip-wjw-test_bloom_filter

test_bloom_filter.cc: Fix a mismatch for the random_seed parameter

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11731 from kylinstorage/wip-avoid-unnecessary-verify
Kefu Chai [Fri, 4 Nov 2016 02:50:58 +0000 (10:50 +0800)]
Merge pull request #11731 from kylinstorage/wip-avoid-unnecessary-verify

FileStore: Only verify split when it has been really done and done correctly

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoOSDMonitor: remove duplicate jewel/kraken flag warning 11775/head
Josh Durgin [Thu, 3 Nov 2016 22:37:58 +0000 (15:37 -0700)]
OSDMonitor: remove duplicate jewel/kraken flag warning

Since 6244755a7051abe2e89d9f1ff75a10c4b76ee3b5 and
12e508313dbd5d1d38c76859cb7de2ce22404e12, the original check added in
ae0d6eb1c01aa74a2c44c017c0c5b06697348d2d (perhaps by a bad
rebase/merge?)  is duplicated and doubles the warning messages.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
8 years agotest/common/test_bloom_filter.cc: Fix a mismatch for the random_seed parameter 11774/head
Willem Jan Withagen [Thu, 3 Nov 2016 21:59:36 +0000 (22:59 +0100)]
test/common/test_bloom_filter.cc: Fix a mismatch for the random_seed parameter

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agomon/OSDMonitor: require 'sortbitwise' before 'require_jewel_osds' 11772/head
Sage Weil [Thu, 3 Nov 2016 20:55:53 +0000 (16:55 -0400)]
mon/OSDMonitor: require 'sortbitwise' before 'require_jewel_osds'

This forces users upgrading past jewel to first set
'sortbitwise', which in turn means that post-jewel OSDs
do not need to support nibblewise sort.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: do not boot unless SORTBITWISE and REQUIRE_JEWEL flags are set
Sage Weil [Thu, 3 Nov 2016 20:51:16 +0000 (16:51 -0400)]
osd: do not boot unless SORTBITWISE and REQUIRE_JEWEL flags are set

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoUpdated version of civetweb. 11343/head
Marcus Watts [Tue, 1 Mar 2016 08:22:19 +0000 (03:22 -0500)]
Updated version of civetweb.

Fixes here:
Pull civetweb from new branch/commit.
Build civetweb.c w/ USE_IPV6 (w/o depending on extra ceph-only build
logic inside of civetweb.)
Make several things "const" to please the compiler.
Remap port string at '+' -> ,; to avoid , overload.
Use new civetweb options validate_http_method=no canonicalize_url_path=no

Signed-off-by: Marcus Watts <mwatts@redhat.com>
8 years agoMerge pull request #11554 from mslovy/wip-fix-fiemap
Sage Weil [Thu, 3 Nov 2016 18:19:37 +0000 (13:19 -0500)]
Merge pull request #11554 from mslovy/wip-fix-fiemap

os/FileStore: fix fiemap issue in xfs when #extents > 1364

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agotest: add test for fiemap xfs issue when #extents > 1364 11554/head
Ning Yao [Thu, 13 Oct 2016 09:25:36 +0000 (17:25 +0800)]
test: add test for fiemap xfs issue when #extents > 1364

Signed-off-by: Ning Yao <yaoning@unitedstack.com>
8 years agoFileStore:: fix fiemap issue in xfs when #extents > 1364
Ning Yao [Thu, 13 Oct 2016 08:53:18 +0000 (16:53 +0800)]
FileStore:: fix fiemap issue in xfs when #extents > 1364

Signed-off-by: Ning Yao <yaoning@unitedstack.com>
8 years agoos/kstore: fix collection_list end bound off-by-one 11771/head
Sage Weil [Thu, 3 Nov 2016 18:14:33 +0000 (14:14 -0400)]
os/kstore: fix collection_list end bound off-by-one

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: fix collection_list end bound off-by-one
Sage Weil [Thu, 3 Nov 2016 18:14:23 +0000 (14:14 -0400)]
os/bluestore: fix collection_list end bound off-by-one

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph_test_objectstore: test collection_list end bound
Sage Weil [Thu, 3 Nov 2016 18:14:07 +0000 (14:14 -0400)]
ceph_test_objectstore: test collection_list end bound

Ensure that it is not included in the result!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11617 from umullan/brokenlinks
Kefu Chai [Thu, 3 Nov 2016 17:03:10 +0000 (01:03 +0800)]
Merge pull request #11617 from umullan/brokenlinks

doc: Fixing the broken hyperlinks by pointing to correct documentation.

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agolibrbd: snap_get_limit compatibility check 11766/head
Mykola Golub [Thu, 3 Nov 2016 14:05:23 +0000 (16:05 +0200)]
librbd: snap_get_limit compatibility check

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #10707 from SUSE/wip-fix-suse-usermod
Sage Weil [Thu, 3 Nov 2016 16:29:02 +0000 (11:29 -0500)]
Merge pull request #10707 from SUSE/wip-fix-suse-usermod

rpm: Remove trailing whitespace in usermod command (SUSE)

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11494 from aclamk/wip-rgw-compression
Orit Wasserman [Thu, 3 Nov 2016 16:25:02 +0000 (17:25 +0100)]
Merge pull request #11494 from aclamk/wip-rgw-compression

[RGW] Wip rgw compression
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoosd/ReplicatedBackend: let MOSDRepOP record the correctly largest_data_off_in_data_bl. 11770/head
Jianpeng Ma [Fri, 13 May 2016 15:13:34 +0000 (23:13 +0800)]
osd/ReplicatedBackend: let MOSDRepOP record the correctly largest_data_off_in_data_bl.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoos/ObjectStore: fix bug about calc largest_data_off_in_data_bl.
Jianpeng Ma [Fri, 13 May 2016 23:33:23 +0000 (07:33 +0800)]
os/ObjectStore: fix bug about calc largest_data_off_in_data_bl.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoos/ObjectStore: remove the legacy tbl support completely.
Jianpeng Ma [Thu, 20 Oct 2016 11:48:46 +0000 (19:48 +0800)]
os/ObjectStore: remove the legacy tbl support completely.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoos/bluestore: fix build error
Sage Weil [Thu, 3 Nov 2016 15:06:46 +0000 (11:06 -0400)]
os/bluestore: fix build error

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11768 from linuxbox2/xio-build-2
Matt Benjamin [Thu, 3 Nov 2016 15:07:17 +0000 (11:07 -0400)]
Merge pull request #11768 from linuxbox2/xio-build-2

xio: fix build

8 years agoMerge pull request #11769 from liewegas/wip-option-name
Sage Weil [Thu, 3 Nov 2016 15:05:35 +0000 (10:05 -0500)]
Merge pull request #11769 from liewegas/wip-option-name

kv/RocksDBStore: rename option

Reviewed-by: Mark Nelson <mnelson@redhat.com>
8 years agokv/RocksDBStore: rename option 11769/head
Sage Weil [Thu, 3 Nov 2016 14:55:41 +0000 (10:55 -0400)]
kv/RocksDBStore: rename option

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11767 from ceph/wip-cmake
Sage Weil [Thu, 3 Nov 2016 15:00:48 +0000 (10:00 -0500)]
Merge pull request #11767 from ceph/wip-cmake

cmake: pass CMAKE_BUILD_TYPE down to rocksdb

Reviewed-by: Bassam Tabbara <bassam.tabbara@quantum.com>
8 years agoxio: build fixes (some unittest targets need XIO_LIBRARY) 11768/head
Matt Benjamin [Thu, 3 Nov 2016 14:38:44 +0000 (10:38 -0400)]
xio: build fixes (some unittest targets need XIO_LIBRARY)

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #11748 from liewegas/wip-bluestore-split
Igor Fedotov [Thu, 3 Nov 2016 14:50:45 +0000 (17:50 +0300)]
Merge pull request #11748 from liewegas/wip-bluestore-split

os/bluestore: fix _split_collections race with osr_reap

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoxio: build fixes (XioMessenger lacks features argument)
Matt Benjamin [Thu, 3 Nov 2016 14:46:55 +0000 (10:46 -0400)]
xio: build fixes (XioMessenger lacks features argument)

Applies the constructor signature change to the uses in
xio_client and xio_server test programs.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoxio: compile fix removing undeclared 'features'
Marov Aleksey [Thu, 3 Nov 2016 13:41:51 +0000 (09:41 -0400)]
xio:  compile fix removing undeclared 'features'

This fix was proposed on ceph-devel and acked by Sage Weil.
The corresponding change in in the later print is obvious
from context.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoos/bluestore: fix _split_collections race with osr_reap 11748/head
Sage Weil [Thu, 3 Nov 2016 14:33:23 +0000 (10:33 -0400)]
os/bluestore: fix _split_collections race with osr_reap

The SharedBlobSet may not yet be empty at split time because previous
transactions may not have been reaped, leaving some Blobs still alive
even after the cache refs are cleared.  Drop them explicitly here (they
will go away shortly).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #9444 from Adirl/dout_prefix
Sage Weil [Thu, 3 Nov 2016 14:21:27 +0000 (09:21 -0500)]
Merge pull request #9444 from Adirl/dout_prefix

xio: provide dout_prefix for XioConnection

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agocmake: pass CMAKE_BUILD_TYPE down to rocksdb 11767/head
Kefu Chai [Thu, 3 Nov 2016 14:18:10 +0000 (22:18 +0800)]
cmake: pass CMAKE_BUILD_TYPE down to rocksdb

so rocksdb share the same ${CMAKE_BUILD_TYPE} with ceph

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11704 from dillaman/wip-17752
Mykola Golub [Thu, 3 Nov 2016 13:59:49 +0000 (15:59 +0200)]
Merge pull request #11704 from dillaman/wip-17752

librbd: do not create empty object map object on image creation

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11696 from tanghaodong25/rocksdb-breakdown-wip
Sage Weil [Thu, 3 Nov 2016 13:51:48 +0000 (08:51 -0500)]
Merge pull request #11696 from tanghaodong25/rocksdb-breakdown-wip

kv/rocksdb: enable rocksdb write path breakdown

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11752 from stiopaa1/mds_mdsrank_addConstToMemFunc
Sage Weil [Thu, 3 Nov 2016 13:48:37 +0000 (08:48 -0500)]
Merge pull request #11752 from stiopaa1/mds_mdsrank_addConstToMemFunc

mds/MDSRank: add const to member functions

8 years agoMerge pull request #11761 from xiexingguo/xxg-wip-fix-envmirror-cleanup
Sage Weil [Thu, 3 Nov 2016 13:43:15 +0000 (08:43 -0500)]
Merge pull request #11761 from xiexingguo/xxg-wip-fix-envmirror-cleanup

os/bluestore: fixes and cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11762 from atheism/doc-rgw-s3-javaapi
Matt Benjamin [Thu, 3 Nov 2016 13:31:56 +0000 (09:31 -0400)]
Merge pull request #11762 from atheism/doc-rgw-s3-javaapi

doc: rgw: fix a typo in S3 java api example

8 years agolibrbd: proper check for get_data_pool compatibility 11755/head
Mykola Golub [Thu, 3 Nov 2016 08:34:35 +0000 (10:34 +0200)]
librbd: proper check for get_data_pool compatibility

Fixes: http://tracker.ceph.com/issues/17791
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agorbd-nbd: disallow mapping images >2TB in size 11741/head
Mykola Golub [Wed, 2 Nov 2016 08:49:23 +0000 (10:49 +0200)]
rbd-nbd: disallow mapping images >2TB in size

Fixes: http://tracker.ceph.com/issues/17219
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agodoc: rgw: fix a typo in S3 java api example 11762/head
Weibing Zhang [Thu, 3 Nov 2016 10:23:02 +0000 (18:23 +0800)]
doc: rgw: fix a typo in S3 java api example

    ObjectSummary.getSize() should be objectSummary.getSize()

Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
8 years agoMerge pull request #11753 from yehudasa/wip-17790
Orit Wasserman [Thu, 3 Nov 2016 10:07:24 +0000 (11:07 +0100)]
Merge pull request #11753 from yehudasa/wip-17790

rgw: support for x-robots-tag header
Reviewed-by: Orit wasserman <owasserm@redhat.com>
8 years agodoc: Fixing the broken hyperlinks by pointing to correct documentation. 11617/head
Uday Mullangi [Mon, 24 Oct 2016 08:46:57 +0000 (14:16 +0530)]
doc: Fixing the broken hyperlinks by pointing to correct documentation.
Signed-off-by: umullangi@walmartlabs.com
8 years agoos/bluestore: fix improper call of shutdown() to mempool_thread 11761/head
xie xingguo [Thu, 3 Nov 2016 07:15:36 +0000 (15:15 +0800)]
os/bluestore: fix improper call of shutdown() to mempool_thread

Because below here we haven't called mempool_thread.init() yet,
and call to mempool_thread.shutdown() will therefore raise an assert instead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: drop safe check against g_conf
xie xingguo [Thu, 3 Nov 2016 06:44:42 +0000 (14:44 +0800)]
os/bluestore: drop safe check against g_conf

We are using g_conf unconditionly everywhere...

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: drop redundant boundary check
xie xingguo [Thu, 3 Nov 2016 03:18:25 +0000 (11:18 +0800)]
os/bluestore: drop redundant boundary check

As we have done the sanity check ahead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: fix "rm -rf" cmd
xie xingguo [Thu, 3 Nov 2016 06:14:49 +0000 (14:14 +0800)]
os/bluestore: fix "rm -rf" cmd

The original cmd won't do the tidy-up work completedly.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agolibrbd: batch ObjectMap updations upon trim 11510/head
Venky Shankar [Sat, 15 Oct 2016 11:48:30 +0000 (17:18 +0530)]
librbd: batch ObjectMap updations upon trim

Shrinking a clone which has snapshots and does not share
majority of objects with its parent (i.e., there are less
objects to be copied up) involves huge number of object
map updates -- two (pre, post) per object. This results
in lots of requests to be send to OSDs especially when
trimming a gigantus image. This situation can be optimized
by sending batch ObjectMap updates for an object range
thereby significantly cutting down OSD traffic resulting
in faster trim times.

Fixes: http://tracker.ceph.com/issues/17356
Signed-off-by: Venky Shankar <vshankar@redhat.com>
8 years agotools: monmaptool: support monmap features 10907/head
Joao Eduardo Luis [Mon, 22 Aug 2016 21:51:29 +0000 (22:51 +0100)]
tools: monmaptool: support monmap features

Adds three new options:

  --feature-list     will list monmap features, as well as available
                     features.
  --feature-set      sets a feature on the monmap
  --feature-unset    unsets a feature on the monmap

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
8 years agotest/mon: few more cases for mon_feature_t
Joao Eduardo Luis [Sat, 20 Aug 2016 12:04:28 +0000 (13:04 +0100)]
test/mon: few more cases for mon_feature_t

Signed-off-by: Joao Eduardo Luis <joao@suse.de>