]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agodeb: Moved ceph-client-debug from ceph-base to ceph-test package 10872/head
Ricardo Dias [Tue, 30 Aug 2016 07:29:00 +0000 (08:29 +0100)]
deb: Moved ceph-client-debug from ceph-base to ceph-test package

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agorpm: Added ceph_test_package bcond flag to control the build of ceph-test package
Ricardo Dias [Tue, 23 Aug 2016 11:36:55 +0000 (13:36 +0200)]
rpm: Added ceph_test_package bcond flag to control the build of ceph-test package

Fixes: http://tracker.ceph.com/issues/16776
Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agocmake: Use WITH_TESTS flag to guard the build of ceph-test scripts/binaries
Ricardo Dias [Tue, 23 Aug 2016 11:32:47 +0000 (13:32 +0200)]
cmake: Use WITH_TESTS flag to guard the build of ceph-test scripts/binaries

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agorpm: Renamed bcond tests flag to make_check
Ricardo Dias [Tue, 23 Aug 2016 11:31:05 +0000 (13:31 +0200)]
rpm: Renamed bcond tests flag to make_check

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agorpm: Moved ceph-client-debug from ceph-base to ceph-test package
Ricardo Dias [Tue, 19 Jul 2016 09:51:01 +0000 (11:51 +0200)]
rpm: Moved ceph-client-debug from ceph-base to ceph-test package

Signed-off-by: Ricardo Dias <rdias@suse.com>
8 years agoMerge pull request #10723 from ceph/wip-os-fuse
Kefu Chai [Fri, 9 Sep 2016 08:26:38 +0000 (16:26 +0800)]
Merge pull request #10723 from ceph/wip-os-fuse

os/FuseStore: fix several FuseStore issues

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #9767 from dx9/wip-safe-io
Kefu Chai [Fri, 9 Sep 2016 05:47:40 +0000 (13:47 +0800)]
Merge pull request #9767 from dx9/wip-safe-io

safe_io: Improve portability by replacing loff_t type usage with off_t.

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11028 from ceph/wip-17450
Kefu Chai [Fri, 9 Sep 2016 05:21:08 +0000 (13:21 +0800)]
Merge pull request #11028 from ceph/wip-17450

cmake: set ARM_CRC_FLAGS from the CRC test rather than ARM_NEON_FLAGS

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoSet ARM_CRC_FLAGS from the CRC test rather than ARM_NEON_FLAGS 11028/head
Dan Mick [Fri, 9 Sep 2016 03:28:55 +0000 (20:28 -0700)]
Set ARM_CRC_FLAGS from the CRC test rather than ARM_NEON_FLAGS

Fixes: http://tracker.ceph.com/issues/17250
Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #10302 from stiopaa1/msg_asyncconn_addConstToMemFun
Haomai Wang [Fri, 9 Sep 2016 02:56:21 +0000 (10:56 +0800)]
Merge pull request #10302 from stiopaa1/msg_asyncconn_addConstToMemFun

msg/AsyncConnection: add const to mem functions

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #10114 from stiopaa1/msg_asyncmess_get_proto_version_addConst
Haomai Wang [Fri, 9 Sep 2016 02:56:08 +0000 (10:56 +0800)]
Merge pull request #10114 from stiopaa1/msg_asyncmess_get_proto_version_addConst

msg/AsyncMessenger: add const to function

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #11015 from tchaikov/wip-optional-py3
Kefu Chai [Fri, 9 Sep 2016 02:55:24 +0000 (10:55 +0800)]
Merge pull request #11015 from tchaikov/wip-optional-py3

cmake: make py3 a nice-to-have

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge branch 'rgwfs-fix-rgw-lookup' of https://github.com/cmgitdream/ceph into cmgitd...
Matt Benjamin [Fri, 9 Sep 2016 01:48:38 +0000 (21:48 -0400)]
Merge branch 'rgwfs-fix-rgw-lookup' of https://github.com/cmgitdream/ceph into cmgitdream-rgwfs-fix-rgw-lookup

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agomsg/AsyncMessenger: add const to function 10114/head
Michal Jarzabek [Sat, 2 Jul 2016 16:02:36 +0000 (17:02 +0100)]
msg/AsyncMessenger: add const to function

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agomsg/AsyncConnection: add const to mem functions 10302/head
Michal Jarzabek [Thu, 14 Jul 2016 17:50:38 +0000 (18:50 +0100)]
msg/AsyncConnection: add const to mem functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #11003 from ceph/wip-cmake
Dan Mick [Thu, 8 Sep 2016 19:12:39 +0000 (12:12 -0700)]
Merge pull request #11003 from ceph/wip-cmake

cmake: include(SIMDExt) in src/CMakeLists.txt

8 years agoMerge pull request #11023 from liewegas/wip-bluefs-extent-append
Sage Weil [Thu, 8 Sep 2016 18:39:29 +0000 (13:39 -0500)]
Merge pull request #11023 from liewegas/wip-bluefs-extent-append

os/bluestore/BlueFS: only extend extent on same bdev

8 years agoos/bluestore/BlueFS: only extend extent on same bdev 11023/head
Sage Weil [Thu, 8 Sep 2016 18:29:58 +0000 (14:29 -0400)]
os/bluestore/BlueFS: only extend extent on same bdev

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10822 from Yan-waller/yj-wip-rgwfile-0823
Matt Benjamin [Thu, 8 Sep 2016 18:26:40 +0000 (14:26 -0400)]
Merge pull request #10822 from Yan-waller/yj-wip-rgwfile-0823

rgw_file: fix return value signedness (rgw_readdir)

verified: f23

8 years agoMerge pull request #10321 from stiopaa1/async_EventSelect_addoverride
Haomai Wang [Thu, 8 Sep 2016 16:47:46 +0000 (00:47 +0800)]
Merge pull request #10321 from stiopaa1/async_EventSelect_addoverride

msg/EventSelect.h: add override to virtual funct

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #10318 from stiopaa1/async_eventkqueue_addOverride
Haomai Wang [Thu, 8 Sep 2016 16:47:21 +0000 (00:47 +0800)]
Merge pull request #10318 from stiopaa1/async_eventkqueue_addOverride

msg/EventKqueue.h: add override to virtual func

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #10314 from stiopaa1/async_eventpoll_addOverride
Haomai Wang [Thu, 8 Sep 2016 16:47:01 +0000 (00:47 +0800)]
Merge pull request #10314 from stiopaa1/async_eventpoll_addOverride

msg/EventPoll.h: add override to virtual functions

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #10882 from stiopaa1/rgw_rgw_coroutine_moveWaitContextClass
Matt Benjamin [Thu, 8 Sep 2016 16:13:56 +0000 (12:13 -0400)]
Merge pull request #10882 from stiopaa1/rgw_rgw_coroutine_moveWaitContextClass

rgw/rgw_coroutine: move WaitContext to .cc file

verified: f23

8 years agoMerge pull request #10929 from atheism/rgw-lc-fix-typo
Matt Benjamin [Thu, 8 Sep 2016 15:14:39 +0000 (11:14 -0400)]
Merge pull request #10929 from atheism/rgw-lc-fix-typo

rgw: fix typo of "minite" to "minute" in rgw_lc.cc

verified: f23

8 years agoMerge pull request #11010 from liewegas/wip-bluefs-compaction-race
Sage Weil [Thu, 8 Sep 2016 14:10:09 +0000 (09:10 -0500)]
Merge pull request #11010 from liewegas/wip-bluefs-compaction-race

os/bluestore/BlueFS: do not start racing async compaction

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
8 years agoMerge pull request #11013 from xiexingguo/xxg-wip-fix-cmake-check
Sage Weil [Thu, 8 Sep 2016 14:07:33 +0000 (09:07 -0500)]
Merge pull request #11013 from xiexingguo/xxg-wip-fix-cmake-check

build: drop dryrun of autogen.sh from run-cmake-check.sh script

8 years agoMerge pull request #11012 from majianpeng/bluefs-buffered-io
Sage Weil [Thu, 8 Sep 2016 14:03:14 +0000 (09:03 -0500)]
Merge pull request #11012 from majianpeng/bluefs-buffered-io

os/bluestore/BlueFS: For logs of rocksdb & bluefs only use directio.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11009 from liewegas/wip-bluestore-keys
Sage Weil [Thu, 8 Sep 2016 14:02:07 +0000 (09:02 -0500)]
Merge pull request #11009 from liewegas/wip-bluestore-keys

os/bluestore: make onode keys more efficient (and sort correctly)

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agocmake: make py3 a nice-to-have 11015/head
Kefu Chai [Thu, 8 Sep 2016 08:47:59 +0000 (16:47 +0800)]
cmake: make py3 a nice-to-have

python3 is not a hard requirement to build ceph, so make it optional.
add an option named "WITH_PYTHON3" which accepts ON, OFF, or CHECK.

Fixes: http://tracker.ceph.com/issues/17103
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11017 from ifed01/wip-bluestore-cleanup
Sage Weil [Thu, 8 Sep 2016 13:35:47 +0000 (08:35 -0500)]
Merge pull request #11017 from ifed01/wip-bluestore-cleanup

os/bluestore: remove some copy-pastes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: remove some copy-pastes 11017/head
Igor Fedotov [Thu, 8 Sep 2016 13:20:01 +0000 (13:20 +0000)]
os/bluestore: remove some copy-pastes

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #11011 from liewegas/wip-bluestore-inline-bl
Igor Fedotov [Thu, 8 Sep 2016 13:17:00 +0000 (16:17 +0300)]
Merge pull request #11011 from liewegas/wip-bluestore-inline-bl

os/bluestore: fix a few memory utilization leaks and wasters

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore/BlueFS: For logs of rocksdb & bluefs only use directio. 11012/head
Jianpeng Ma [Thu, 8 Sep 2016 11:40:41 +0000 (19:40 +0800)]
os/bluestore/BlueFS: For logs of rocksdb & bluefs only use directio.

Now it use bluefs_buffered_io to control whether use buffer or directio
when write. But in fact for logs of rocksdb & bluefs, whether
bluefs_buffer_io is true or false, the logs only need directio.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agoMerge pull request #10957 from ukernel/wip-17172
John Spray [Thu, 8 Sep 2016 09:30:45 +0000 (10:30 +0100)]
Merge pull request #10957 from ukernel/wip-17172

client: properly set inode number of created inode in replay request

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #9936 from onyb/wip-ceph-disk-py3
Kefu Chai [Thu, 8 Sep 2016 09:15:43 +0000 (17:15 +0800)]
Merge pull request #9936 from onyb/wip-ceph-disk-py3

ceph-disk: Compatibility fixes for Python 3

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agobuild: drop dryrun of autogen.sh from run-cmake-check.sh script 11013/head
xie xingguo [Thu, 8 Sep 2016 06:10:10 +0000 (14:10 +0800)]
build: drop dryrun of autogen.sh from run-cmake-check.sh script

Introduced by https://github.com/ceph/ceph/pull/11007.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/FuseStore: only flush if dirty 10723/head
Sage Weil [Mon, 27 Jun 2016 20:09:22 +0000 (13:09 -0700)]
os/FuseStore: only flush if dirty

No need to rewrite the object unless it was changed.

This partially fixes truncate.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/workunits/objectstore: fix test_fuse.sh
Sage Weil [Mon, 27 Jun 2016 18:59:24 +0000 (11:59 -0700)]
qa/workunits/objectstore: fix test_fuse.sh

We switched from @ to # a while back.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: do not waste memory on cached encoded blobs 11011/head
Sage Weil [Wed, 7 Sep 2016 20:46:57 +0000 (16:46 -0400)]
os/bluestore: do not waste memory on cached encoded blobs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuffer: implement buffer::list::reserve(n)
Sage Weil [Wed, 7 Sep 2016 20:45:29 +0000 (16:45 -0400)]
buffer: implement buffer::list::reserve(n)

Make sure we have N bytes of append_buffer reserved. On
a new or cleared list, this allocates exactly that much
runway, allowing us to control memory usage.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore/BlueFS: fix Dir memory leak
Sage Weil [Wed, 7 Sep 2016 19:58:26 +0000 (15:58 -0400)]
os/bluestore/BlueFS: fix Dir memory leak

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore/BlueFS: do not start racing async compaction 11010/head
Sage Weil [Wed, 7 Sep 2016 19:29:30 +0000 (15:29 -0400)]
os/bluestore/BlueFS: do not start racing async compaction

Compaction is triggred from sync_metadata.  If one compaction is
in progress and another thread also calls sync_metadata, do not
trigger a second async compaction!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agounittest_bluestore_types: resurrect blob and extent_map unit tests
Sage Weil [Wed, 7 Sep 2016 18:30:33 +0000 (14:30 -0400)]
unittest_bluestore_types: resurrect blob and extent_map unit tests

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: bits for unit tests
Sage Weil [Wed, 7 Sep 2016 19:25:15 +0000 (15:25 -0400)]
os/bluestore: bits for unit tests

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: remove faulted debug hackery
Sage Weil [Wed, 7 Sep 2016 19:25:03 +0000 (15:25 -0400)]
os/bluestore: remove faulted debug hackery

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: small put_ref cleanup
Sage Weil [Wed, 7 Sep 2016 18:30:22 +0000 (14:30 -0400)]
os/bluestore: small put_ref cleanup

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10978 from chhabaramesh/extent_alloc
Sage Weil [Wed, 7 Sep 2016 18:00:42 +0000 (13:00 -0500)]
Merge pull request #10978 from chhabaramesh/extent_alloc

os/bluestore: Hint based allocation in bitmap Allocator

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11007 from liewegas/wip-autotools-must-die
Kefu Chai [Wed, 7 Sep 2016 17:06:07 +0000 (01:06 +0800)]
Merge pull request #11007 from liewegas/wip-autotools-must-die

remove autotools

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: encode shard id in single byte 11009/head
Sage Weil [Wed, 7 Sep 2016 17:00:09 +0000 (13:00 -0400)]
os/bluestore: encode shard id in single byte

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: fix key+name sort wonkiness
Sage Weil [Wed, 7 Sep 2016 16:52:47 +0000 (12:52 -0400)]
os/bluestore: fix key+name sort wonkiness

We want to unconditoinally start with the name or key, *then* do < > or =
(and if not =, a trailing name).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: drop unnecessary separator between fields
xie xingguo [Wed, 7 Sep 2016 02:30:29 +0000 (10:30 +0800)]
os/bluestore: drop unnecessary separator between fields

We have fixed length/order for integer fields and use !
to terminate string fields, so there is no need to use
any extra separators, which is simpler as well as faster.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: remove never reachable asserts
xie xingguo [Mon, 5 Sep 2016 08:46:49 +0000 (16:46 +0800)]
os/bluestore: remove never reachable asserts

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: don't dirty onode if its size is already at desired offset
xie xingguo [Mon, 5 Sep 2016 08:42:12 +0000 (16:42 +0800)]
os/bluestore: don't dirty onode if its size is already at desired offset

for truncate operation.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: tunable prealloc size for ExtentMap inline_bl
Sage Weil [Wed, 7 Sep 2016 16:34:57 +0000 (12:34 -0400)]
os/bluestore: tunable prealloc size for ExtentMap inline_bl

Otherwise we eat 4KB for every Onode.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agobuffer: clear append_buffer on clear()
Sage Weil [Wed, 7 Sep 2016 16:34:24 +0000 (12:34 -0400)]
buffer: clear append_buffer on clear()

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11008 from liewegas/wip-libaio
Sage Weil [Wed, 7 Sep 2016 16:41:27 +0000 (11:41 -0500)]
Merge pull request #11008 from liewegas/wip-libaio

test/objectstore/CMakeLists.txt: fix libaio conditional

8 years agotest/objectstore/CMakeLists.txt: fix libaio conditional 11008/head
Sage Weil [Wed, 7 Sep 2016 16:40:31 +0000 (12:40 -0400)]
test/objectstore/CMakeLists.txt: fix libaio conditional

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoremove autotools 11007/head
Sage Weil [Wed, 7 Sep 2016 15:50:14 +0000 (11:50 -0400)]
remove autotools

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10963 from liewegas/wip-bluestore-sharded-extent-map
Sage Weil [Wed, 7 Sep 2016 15:36:34 +0000 (10:36 -0500)]
Merge pull request #10963 from liewegas/wip-bluestore-sharded-extent-map

os/bluestore: shard extent map

Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
8 years agoos/bluestore: assert shared blob cache cleared on split 10963/head
Sage Weil [Wed, 7 Sep 2016 14:32:50 +0000 (10:32 -0400)]
os/bluestore: assert shared blob cache cleared on split

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: dump some stats after fsck
Sage Weil [Tue, 6 Sep 2016 22:34:34 +0000 (18:34 -0400)]
os/bluestore: dump some stats after fsck

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: instrument onode reshard events
Sage Weil [Tue, 6 Sep 2016 21:45:04 +0000 (17:45 -0400)]
os/bluestore: instrument onode reshard events

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: instrument transaction count
Sage Weil [Tue, 6 Sep 2016 21:44:46 +0000 (17:44 -0400)]
os/bluestore: instrument transaction count

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: instrument big/small writes
Sage Weil [Tue, 6 Sep 2016 21:32:15 +0000 (17:32 -0400)]
os/bluestore: instrument big/small writes

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: make blob_t unused helpers use logical length
Sage Weil [Tue, 6 Sep 2016 20:50:46 +0000 (16:50 -0400)]
os/bluestore: make blob_t unused helpers use logical length

These were taking min_alloc_size, but this can change
across mounts; better to use the logical blob length
instead (that's what we want anyway!).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: use block_size for allocator unit
Sage Weil [Tue, 6 Sep 2016 19:28:14 +0000 (15:28 -0400)]
os/bluestore: use block_size for allocator unit

We need to handle objects written during previous mounts
that may have had a smaller min_alloc_size.  Use
block_size, which is a safe lower bound.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: fix fsck used_block bitmap
Sage Weil [Tue, 6 Sep 2016 19:16:52 +0000 (15:16 -0400)]
os/bluestore: fix fsck used_block bitmap

This has to be block_size bits because min_alloc_size
can vary over mounts.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: optimize compress_extent_map
Sage Weil [Fri, 2 Sep 2016 18:08:48 +0000 (14:08 -0400)]
os/bluestore: optimize compress_extent_map

Only examine the range we just wrote to (and to the left
and right).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: make nid and blobid allocation less racy
Sage Weil [Thu, 1 Sep 2016 18:31:52 +0000 (14:31 -0400)]
os/bluestore: make nid and blobid allocation less racy

We could bump the _max value for a TransContext in it's
prepare state, have it wait for a long time on IO, and
let another txc allocate and commit something with
an id higher than the previous max.

Fix this first by pushing the max ids into the
TransContext where we can deal with them at commit time,
and then making _kv_sync_thread bump the committed
max in a safe way.

Note that this will need to change if/when we do
these commits in parallel.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: shard extent map
Sage Weil [Fri, 2 Sep 2016 16:50:39 +0000 (12:50 -0400)]
os/bluestore: shard extent map

Rewrote much of the persistence of onode metadata.  The
highlights:

 - extents and blobs stored together (the blob with the
   first referencing extent).
 - extents sharded across multiple k/v keys
 - if a blob if referenced from multiple blobs, it's
   stored in the onode key (called a "spanning blob").
 - when we clone a blob we copy the metadata, but mark
   it shared and put (just) the ref_map on the underlying
   blocks in a shared_blob key.  at this point we also
   assign a globally unique id (sbid = shared blob id)
   so the key has a unique name.
 - we instantiate a SharedBlob in memory regardless of
   whether we need to load the ref_map (which is only
   needed for deallocations!).  the BufferSpace is
   attached to this SharedBlob so we get unified caching
   across clones.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10973 from wjwithagen/wip-wjw-freebsd-cmake-excludes-2
Kefu Chai [Wed, 7 Sep 2016 15:19:47 +0000 (23:19 +0800)]
Merge pull request #10973 from wjwithagen/wip-wjw-freebsd-cmake-excludes-2

cmake: FreeBSD specific excludes in CMakeLists.txt

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoHint argument in alloc_blocks + test case changes 10978/head
Ramesh Chander [Mon, 29 Aug 2016 17:16:11 +0000 (10:16 -0700)]
Hint argument in alloc_blocks + test case changes

Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
8 years agoremove wrap argument and handle in wrappers
Ramesh Chander [Mon, 29 Aug 2016 17:15:29 +0000 (10:15 -0700)]
remove wrap argument and handle in wrappers

Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
8 years agohint in extent_alloc code
Ramesh Chander [Mon, 29 Aug 2016 16:06:38 +0000 (09:06 -0700)]
hint in extent_alloc code

Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
8 years agoMerge pull request #10996 from jcsp/wip-16973
John Spray [Wed, 7 Sep 2016 14:43:14 +0000 (15:43 +0100)]
Merge pull request #10996 from jcsp/wip-16973

mds: log path with CDir damage messages

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #10928 from stiopaa1/rbd_mirror_imagesyncthrottler
Sage Weil [Wed, 7 Sep 2016 14:23:02 +0000 (09:23 -0500)]
Merge pull request #10928 from stiopaa1/rbd_mirror_imagesyncthrottler

rbd_mirror/ImageSynceThrottler: move struct to .cc

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10947 from atheism/radosgw-admin-help
Sage Weil [Wed, 7 Sep 2016 14:20:35 +0000 (09:20 -0500)]
Merge pull request #10947 from atheism/radosgw-admin-help

rgw: right parenthesis is missing in radosgw-admin help message on caps

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10954 from stiopaa1/rgw_rgwrados_removeUnneededClassCTick
Sage Weil [Wed, 7 Sep 2016 14:18:52 +0000 (09:18 -0500)]
Merge pull request #10954 from stiopaa1/rgw_rgwrados_removeUnneededClassCTick

rgw/rgw_rados.h: remove unneeded class C_Tick

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10967 from stiopaa1/osd_replicatedbackend_moveClasses
Sage Weil [Wed, 7 Sep 2016 14:16:55 +0000 (09:16 -0500)]
Merge pull request #10967 from stiopaa1/osd_replicatedbackend_moveClasses

osd/ReplicatedBackend: move classes to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10971 from stiopaa1/osd_replicatedpg_moveContextClasses
Sage Weil [Wed, 7 Sep 2016 14:15:39 +0000 (09:15 -0500)]
Merge pull request #10971 from stiopaa1/osd_replicatedpg_moveContextClasses

osd/ReplicatedPG: move classes to .cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10979 from wjwithagen/wip-wjw-cephtool-test
Sage Weil [Wed, 7 Sep 2016 14:13:34 +0000 (09:13 -0500)]
Merge pull request #10979 from wjwithagen/wip-wjw-cephtool-test

qa/workunits/cephtool/test.sh: fix omission of ceph-command

8 years agoMerge pull request #10988 from jazeltq/fix-compile-error
Sage Weil [Wed, 7 Sep 2016 14:13:18 +0000 (09:13 -0500)]
Merge pull request #10988 from jazeltq/fix-compile-error

autogen: Fix rocksdb error when make dist

8 years agomds: log path with CDir damage messages 10996/head
John Spray [Tue, 6 Sep 2016 12:16:04 +0000 (13:16 +0100)]
mds: log path with CDir damage messages

Previously you just got the inode number, which
wasn't terribly useful for e.g. a missing fragment
object, as you couldn't readily resolve the parent
path.

Fixes: http://tracker.ceph.com/issues/16973
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #10930 from atheism/rgw-lc-fix-sleep-time
Daniel Gryniewicz [Wed, 7 Sep 2016 13:48:39 +0000 (09:48 -0400)]
Merge pull request #10930 from atheism/rgw-lc-fix-sleep-time

rgw/rgw_lc.cc: fix sleep time according to the error message

8 years agocmake: include(SIMDExt) in src/CMakeLists.txt 11003/head
Kefu Chai [Wed, 7 Sep 2016 11:58:44 +0000 (19:58 +0800)]
cmake: include(SIMDExt) in src/CMakeLists.txt

as we need to check HAVE_ARMV8_CRC in src/CMakeLists.txt.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agosrc/test/objectstore/CMakeLists.txt: conditionaly build tests 10973/head
Willem Jan Withagen [Sat, 3 Sep 2016 14:29:37 +0000 (16:29 +0200)]
src/test/objectstore/CMakeLists.txt: conditionaly build tests

 - Honor WITH_AIO tests that depend on bluestore parts

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agosrc/tools/CMakeLists.txt: conditionaly build ceph-client-debug
Willem Jan Withagen [Sat, 3 Sep 2016 14:28:10 +0000 (16:28 +0200)]
src/tools/CMakeLists.txt: conditionaly build ceph-client-debug

 - Honor WITH_LIBCEPHFS

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agosrc/pybind/CMakeLists.txt: conditionaly build cython tools
Willem Jan Withagen [Sat, 3 Sep 2016 14:23:56 +0000 (16:23 +0200)]
src/pybind/CMakeLists.txt: conditionaly build cython tools

 - honor the WITH_RBD and WITH_LIBCEPHFS flags

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agosrc/CMakeLists.txt: exclude parts not buildable on FreeBSD
Willem Jan Withagen [Sat, 3 Sep 2016 14:23:02 +0000 (16:23 +0200)]
src/CMakeLists.txt: exclude parts not buildable on FreeBSD

 - FreeBSD does not have keyutils or any kernel type security store
   So using secret.c is not really relevant here
 - Have common/secret.c depend on KEYUTILS_FOUND
 - This also excludes building mount.cephfs,
   Next to the fact that this is 100% linux bases mount stuff
 - krbd is the Linux kernel version for RBD based disks, but again
   completely Linux based and porting to FreeBSD, if any, has to follow
   a different route

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMakfile: Fix rocksdb error when make dist 10988/head
tianqing [Tue, 6 Sep 2016 07:41:07 +0000 (15:41 +0800)]
Makfile: Fix rocksdb error when make dist

Rocksdb delete some files, so we should change another way
to get rocksdb's files.

Currently, if we do not run configure in googletest/googlemock,
we also will get a error when make dist. So fix it too.

Signed-off-by: tianqing <tianqing@unitedstack.com>
8 years agoMerge pull request #10972 from wjwithagen/wip-wjw-cmake-resolv
Kefu Chai [Wed, 7 Sep 2016 06:53:08 +0000 (14:53 +0800)]
Merge pull request #10972 from wjwithagen/wip-wjw-cmake-resolv

CmakeLists.txt: use LIB_RESOLV instead of resolv.

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #10378 from trociny/wip-14738
Jason Dillaman [Wed, 7 Sep 2016 02:50:15 +0000 (22:50 -0400)]
Merge pull request #10378 from trociny/wip-14738

librbd: optionally unregister "laggy" journal clients

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoceph_test_objectstore: test shards for longer
Sage Weil [Thu, 1 Sep 2016 21:55:37 +0000 (17:55 -0400)]
ceph_test_objectstore: test shards for longer

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph_test_objectstore: occasional umount/fsck/mount
Sage Weil [Thu, 1 Sep 2016 21:44:22 +0000 (17:44 -0400)]
ceph_test_objectstore: occasional umount/fsck/mount

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph_test_objectstore: add SyntheticMatrixSharding
Sage Weil [Fri, 2 Sep 2016 16:41:54 +0000 (12:41 -0400)]
ceph_test_objectstore: add SyntheticMatrixSharding

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10870 from ceph/wip_build_cls_rbd
Casey Bodley [Tue, 6 Sep 2016 21:47:32 +0000 (17:47 -0400)]
Merge pull request #10870 from ceph/wip_build_cls_rbd

cmake: add dependency from ceph_smalliobenchrbd to cls libraries

Reviewed-by: Jason Dillaman <jdillama@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #10912 from stiopaa1/journal_journaltimer_moveCRemoveSet
Jason Dillaman [Tue, 6 Sep 2016 20:20:54 +0000 (16:20 -0400)]
Merge pull request #10912 from stiopaa1/journal_journaltimer_moveCRemoveSet

journal: move JournalTrimmer::C_RemoveSet struct

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoAdd dependencies from ceph_smalliobenchrbd on cls_rbd, cls_journal, 10870/head
J. Eric Ivancich [Tue, 6 Sep 2016 17:27:43 +0000 (13:27 -0400)]
Add dependencies from ceph_smalliobenchrbd on cls_rbd, cls_journal,
and cls_lock.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
8 years agoMerge pull request #10984 from ceph/wip-kfsx-exclusive-lock
Jason Dillaman [Tue, 6 Sep 2016 15:39:32 +0000 (11:39 -0400)]
Merge pull request #10984 from ceph/wip-kfsx-exclusive-lock

test/librbd/fsx: enable exclusive-lock feature in krbd mode

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #10964 from liewegas/wip-bluefs-compaction
Sage Weil [Tue, 6 Sep 2016 15:10:43 +0000 (10:10 -0500)]
Merge pull request #10964 from liewegas/wip-bluefs-compaction

os/bluestore/BlueFS: fix async compaction logging bug