]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agolibrbd: journal::Replay no longer holds lock while completing callback 9881/head
Jason Dillaman [Wed, 22 Jun 2016 22:09:29 +0000 (18:09 -0400)]
librbd: journal::Replay no longer holds lock while completing callback

Fixes: http://tracker.ceph.com/issues/16433
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #9451 from s09816/master
Jason Dillaman [Wed, 22 Jun 2016 18:02:42 +0000 (14:02 -0400)]
Merge pull request #9451 from s09816/master

librbd: enable/disable of features is not allowed when already enabled/disabled

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #9715 from trociny/wip-16321
Jason Dillaman [Wed, 22 Jun 2016 18:02:01 +0000 (14:02 -0400)]
Merge pull request #9715 from trociny/wip-16321

librbd: re-register watch on old format image rename

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #9874 from athanatos/wip-16185
Samuel Just [Wed, 22 Jun 2016 17:26:49 +0000 (10:26 -0700)]
Merge pull request #9874 from athanatos/wip-16185

OSDMonitor::prepare_pgtemp: only update up_thru if newer

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #9875 from athanatos/wip-16127
Samuel Just [Wed, 22 Jun 2016 17:26:35 +0000 (10:26 -0700)]
Merge pull request #9875 from athanatos/wip-16127

OSDMonitor: drop pg temp from sources other than the current primary

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #9850 from dillaman/wip-16404
Mykola Golub [Wed, 22 Jun 2016 17:12:59 +0000 (20:12 +0300)]
Merge pull request #9850 from dillaman/wip-16404

librbd: flag image as updated after proxying maintenance op

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #8370 from jack-changtao/pg_del
Samuel Just [Wed, 22 Jun 2016 16:55:23 +0000 (09:55 -0700)]
Merge pull request #8370 from jack-changtao/pg_del

osd/PG: cleanup: delete find_best_info again

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #9802 from yuyuyu101/wip-16378
Samuel Just [Wed, 22 Jun 2016 16:51:01 +0000 (09:51 -0700)]
Merge pull request #9802 from yuyuyu101/wip-16378

msg/async: fix test stuck into STATE_WAIT

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8195 from tchaikov/wip-cmake-visibility
Kefu Chai [Wed, 22 Jun 2016 15:37:38 +0000 (23:37 +0800)]
Merge pull request #8195 from tchaikov/wip-cmake-visibility

cmake changes

Reviewed-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: use ${CEPH_SHARED} when adding libradosstriper 8195/head
Kefu Chai [Wed, 22 Jun 2016 15:19:02 +0000 (23:19 +0800)]
cmake: use ${CEPH_SHARED} when adding libradosstriper

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #9827 from liewegas/wip-bluestore-invalidate
Sage Weil [Wed, 22 Jun 2016 14:56:02 +0000 (10:56 -0400)]
Merge pull request #9827 from liewegas/wip-bluestore-invalidate

os/bluestore: discard unreferenced buffers as they are overwritten

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoMerge pull request #9868 from liewegas/wip-bluestore-lba
Sage Weil [Wed, 22 Jun 2016 14:55:19 +0000 (10:55 -0400)]
Merge pull request #9868 from liewegas/wip-bluestore-lba

include/small_encoding: fix lba encoding with many low zeros

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoMerge pull request #9863 from trociny/fixup-comp-warn
Jason Dillaman [Wed, 22 Jun 2016 14:43:41 +0000 (10:43 -0400)]
Merge pull request #9863 from trociny/fixup-comp-warn

test: fix compilation warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #9821 from dx9/wip-ac-alpine
Kefu Chai [Wed, 22 Jun 2016 14:42:46 +0000 (22:42 +0800)]
Merge pull request #9821 from dx9/wip-ac-alpine

configure.ac: add --with-reentrant-strsignal and --with-thread-safe-r…

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoos/bluestore: discard unreferenced buffers as they are overwritten 9827/head
Sage Weil [Wed, 22 Jun 2016 14:30:22 +0000 (10:30 -0400)]
os/bluestore: discard unreferenced buffers as they are overwritten

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoinclude/small_encoding: fix lba encoding with many low zeros 9868/head
Sage Weil [Wed, 22 Jun 2016 14:28:28 +0000 (10:28 -0400)]
include/small_encoding: fix lba encoding with many low zeros

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomsg/async: recover lock to continue later 9802/head
Haomai Wang [Wed, 22 Jun 2016 14:26:46 +0000 (22:26 +0800)]
msg/async: recover lock to continue later

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #9865 from liewegas/wip-bluestore-encoding
Sage Weil [Wed, 22 Jun 2016 14:19:18 +0000 (10:19 -0400)]
Merge pull request #9865 from liewegas/wip-bluestore-encoding

os/bluestore: fix blob_t encoding test cases, and clean up initialization

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoconfigure.ac: add --with-reentrant-strsignal and --with-thread-safe-res-query options... 9821/head
John Coyle [Sun, 6 Mar 2016 19:00:49 +0000 (14:00 -0500)]
configure.ac: add --with-reentrant-strsignal and --with-thread-safe-res-query options for Alpine support

Signed-off-by: John Coyle <dx9err@gmail.com>
9 years agotest: fix compilation warnings 9863/head
Mykola Golub [Wed, 22 Jun 2016 11:55:51 +0000 (14:55 +0300)]
test: fix compilation warnings

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoos/bluestore/bluestore_types: fix blob initializers, test instances 9865/head
Sage Weil [Wed, 22 Jun 2016 13:23:31 +0000 (09:23 -0400)]
os/bluestore/bluestore_types: fix blob initializers, test instances

- initialize members in c++11 style
- drop pextent ctor
- fix up test instances
- make csum_order default to 0, so it matches the
  CSUM_NONE decoding logic.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/bluestore_types: drop unused var
Sage Weil [Wed, 22 Jun 2016 12:41:05 +0000 (08:41 -0400)]
os/bluestore/bluestore_types: drop unused var

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #9813 from jcsp/wip-kernel-doc
John Spray [Wed, 22 Jun 2016 08:08:49 +0000 (09:08 +0100)]
Merge pull request #9813 from jcsp/wip-kernel-doc

doc/cephfs: add advice about kernel versions

9 years agoMerge pull request #9823 from dillaman/wip-16362
Mykola Golub [Wed, 22 Jun 2016 06:50:46 +0000 (09:50 +0300)]
Merge pull request #9823 from dillaman/wip-16362

rbd-mirror: keep events from different epochs independent

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agocmake: include Group.cc in rbd cli
Kefu Chai [Wed, 22 Jun 2016 03:21:22 +0000 (11:21 +0800)]
cmake: include Group.cc in rbd cli

to match with automake, and the "group" command is missing in the cmake
build of "rbd" cli tool.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: install dso into ${CMAKE_INSTALL_LIBDIR} instead of "lib"
Kefu Chai [Wed, 22 Jun 2016 02:30:40 +0000 (10:30 +0800)]
cmake: install dso into ${CMAKE_INSTALL_LIBDIR} instead of "lib"

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: add visibility flags for exported dso
Kefu Chai [Fri, 18 Mar 2016 05:03:45 +0000 (13:03 +0800)]
cmake: add visibility flags for exported dso

* no regression found, and there's a substantial reduction in the size of
  generated librados library (both stripped and not).
* also remove the duplicated set_target_properties(librbd...) command

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: move snap_set_diff.cc out of librados
Kefu Chai [Wed, 22 Jun 2016 03:04:20 +0000 (11:04 +0800)]
cmake: move snap_set_diff.cc out of librados

snap_set_diff.cc is used internally and is not exposed via librados. we
cannot use the function implemented in it by linking against librados. so
compile it as an OBJECT target and link against it individualy if
necessary.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge branch 'wip-dmick-install-deps-master'
Josh Durgin [Tue, 21 Jun 2016 23:38:58 +0000 (16:38 -0700)]
Merge branch 'wip-dmick-install-deps-master'

install-deps.sh: use mk-build-deps instead of processing control

Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoinstall-deps.sh: use mk-build-deps instead of processing control
Dan Mick [Thu, 24 Mar 2016 00:43:53 +0000 (17:43 -0700)]
install-deps.sh: use mk-build-deps instead of processing control

mk-build-deps is designed to handle installing build dependencies;
use that instead, so '|' indications are handled properly.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #9791 from ceph/wip-cmake-compile-flags
Casey Bodley [Tue, 21 Jun 2016 19:22:44 +0000 (15:22 -0400)]
Merge pull request #9791 from ceph/wip-cmake-compile-flags

cmake: Wip cmake compile flags

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #9481 from yehudasa/wip-rgw-hold-lease-1
Casey Bodley [Tue, 21 Jun 2016 19:21:33 +0000 (15:21 -0400)]
Merge pull request #9481 from yehudasa/wip-rgw-hold-lease-1

rgw: stop bucket lease only after draining object sync operations

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agocmake: CMAKE_BUILD_TYPE defaulted to RelWithDebInfo 9791/head
Ali Maredia [Fri, 17 Jun 2016 19:55:52 +0000 (15:55 -0400)]
cmake: CMAKE_BUILD_TYPE defaulted to RelWithDebInfo

Default build type is RelWithDebInfo unless
CMAKE_BUILD_TYPE is specified when running the
`cmake` command.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #9066 from yangdongsheng/rbd_bench
Mykola Golub [Tue, 21 Jun 2016 18:59:28 +0000 (21:59 +0300)]
Merge pull request #9066 from yangdongsheng/rbd_bench

rbd: introduce a simple bench for read

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agolibrbd: flag image as updated after proxying maintenance op 9850/head
Jason Dillaman [Tue, 21 Jun 2016 18:56:43 +0000 (14:56 -0400)]
librbd: flag image as updated after proxying maintenance op

Fixes: http://tracker.ceph.com/issues/16404
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocmake: eliminate FORTIFY_SOURCE warnings
Ali Maredia [Fri, 17 Jun 2016 19:31:45 +0000 (15:31 -0400)]
cmake: eliminate FORTIFY_SOURCE warnings

"-werr" was added to CHECK_C_COMPILER_FLAG to
make sure FORTIFY_SOURCE is only turned on if
the flag generates no warnings.

Added "-U_FORTIFY_SOURCE" to CMAKE_C_FLAGS to
mimic PR #9761.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #9728 from liewegas/wip-bluestore-encoding
Sage Weil [Tue, 21 Jun 2016 17:30:53 +0000 (13:30 -0400)]
Merge pull request #9728 from liewegas/wip-bluestore-encoding

os/bluestore: space efficient int encoding

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agorbd-mirror: keep events from different epochs independent 9823/head
Jason Dillaman [Mon, 20 Jun 2016 15:41:31 +0000 (11:41 -0400)]
rbd-mirror: keep events from different epochs independent

Fixes: http://tracker.ceph.com/issues/16362
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoos/bluestore/bluestore_types: delta encode for ref_map offsets 9728/head
Sage Weil [Tue, 21 Jun 2016 16:37:47 +0000 (12:37 -0400)]
os/bluestore/bluestore_types: delta encode for ref_map offsets

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: make blob csum info encoding conditional
Sage Weil [Sun, 19 Jun 2016 13:05:30 +0000 (09:05 -0400)]
os/bluestore: make blob csum info encoding conditional

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: use FLAG_CSUM to indicate if checksums are present
Sage Weil [Sun, 19 Jun 2016 13:05:01 +0000 (09:05 -0400)]
os/bluestore: use FLAG_CSUM to indicate if checksums are present

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fsck: print intervals in hex
Sage Weil [Sun, 19 Jun 2016 13:12:09 +0000 (09:12 -0400)]
os/bluestore: fsck: print intervals in hex

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: use varint for pextent count
Sage Weil [Sun, 19 Jun 2016 13:02:18 +0000 (09:02 -0400)]
os/bluestore: use varint for pextent count

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: varint or lba encode pextent, lextent, ref_map, onode
Sage Weil [Sun, 19 Jun 2016 10:29:40 +0000 (06:29 -0400)]
os/bluestore: varint or lba encode pextent, lextent, ref_map, onode

Certainly not done here, but this is a start.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoinclude/small_encoding: small encode/decode helpers
Sage Weil [Sat, 18 Jun 2016 16:54:10 +0000 (12:54 -0400)]
include/small_encoding: small encode/decode helpers

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #9819 from dillaman/wip-16363
Mykola Golub [Tue, 21 Jun 2016 16:50:28 +0000 (19:50 +0300)]
Merge pull request #9819 from dillaman/wip-16363

librbd: fix lockdep issue when duplicate event detected

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #9816 from dillaman/wip-16198
Mykola Golub [Tue, 21 Jun 2016 16:49:37 +0000 (19:49 +0300)]
Merge pull request #9816 from dillaman/wip-16198

librbd: potential race when replaying journal ops

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #9788 from dillaman/wip-16230
Mykola Golub [Tue, 21 Jun 2016 16:48:47 +0000 (19:48 +0300)]
Merge pull request #9788 from dillaman/wip-16230

rbd-mirror: potential race condition accessing local image journal

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #9787 from batrick/mds-rename-enotempty
John Spray [Tue, 21 Jun 2016 14:47:22 +0000 (15:47 +0100)]
Merge pull request #9787 from batrick/mds-rename-enotempty

mds: improve comments for ENOTEMPTY checks

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #9840 from xiexingguo/xxg-wip-fix-bmap-fm
Sage Weil [Tue, 21 Jun 2016 14:26:06 +0000 (10:26 -0400)]
Merge pull request #9840 from xiexingguo/xxg-wip-fix-bmap-fm

os/bluestore: minor improvements for bitmap-freelist-manager

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agomsg/async/AsyncConnection: shorter handshake step deps
Haomai Wang [Sun, 19 Jun 2016 18:32:10 +0000 (02:32 +0800)]
msg/async/AsyncConnection: shorter handshake step deps

Originally connect side will wait for accept side sending banner, actually
we don't need this logic to ensure anything.

So connect side will issue banner after tcp handshake straightway. It will
help for reducing session handshake period, then it avoid peer side drop this
connection in low level but connect side don't know right now.

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #9815 from xiexingguo/xxg-wip-fix-blue-cache
Sage Weil [Tue, 21 Jun 2016 13:55:01 +0000 (09:55 -0400)]
Merge pull request #9815 from xiexingguo/xxg-wip-fix-blue-cache

os/bluestore: cache relevant cleanups

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: make bytes_per_key a global member 9840/head
xie xingguo [Tue, 21 Jun 2016 07:38:36 +0000 (15:38 +0800)]
os/bluestore: make bytes_per_key a global member

So we don't have to figure it out everywhere.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore: fix a typo(nonexistant->nonexistent)
xie xingguo [Tue, 21 Jun 2016 06:33:32 +0000 (14:33 +0800)]
os/bluestore: fix a typo(nonexistant->nonexistent)

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore: simplify BufferSpace::read() a little 9815/head
xie xingguo [Mon, 20 Jun 2016 12:16:33 +0000 (20:16 +0800)]
os/bluestore: simplify BufferSpace::read() a little

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore: simplify BufferSpace::read() a little
xie xingguo [Mon, 20 Jun 2016 12:02:41 +0000 (20:02 +0800)]
os/bluestore: simplify BufferSpace::read() a little

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore: change type of length of region_t from uint32_t to uint64_t
xie xingguo [Mon, 20 Jun 2016 10:56:51 +0000 (18:56 +0800)]
os/bluestore: change type of length of region_t from uint32_t to uint64_t

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore: add sanity check when try to rm_buffer
xie xingguo [Mon, 20 Jun 2016 10:52:51 +0000 (18:52 +0800)]
os/bluestore: add sanity check when try to rm_buffer

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #9828 from liewegas/wip-bluestore-read-before-write
Sage Weil [Tue, 21 Jun 2016 13:31:00 +0000 (09:31 -0400)]
Merge pull request #9828 from liewegas/wip-bluestore-read-before-write

os/bluestore: limit read-amp on overwrite

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
9 years agoMerge pull request #9826 from liewegas/wip-bluefs
Sage Weil [Tue, 21 Jun 2016 13:30:18 +0000 (09:30 -0400)]
Merge pull request #9826 from liewegas/wip-bluefs

os/bluestore/BlueFS: instrument which file types we write to

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
9 years agoMerge pull request #9834 from tchaikov/wip-silence-warnings
Kefu Chai [Tue, 21 Jun 2016 10:53:37 +0000 (18:53 +0800)]
Merge pull request #9834 from tchaikov/wip-silence-warnings

test, bluestore: silence warnings

Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
9 years agoMerge pull request #9635 from liewegas/wip-make-dist
Kefu Chai [Tue, 21 Jun 2016 10:17:25 +0000 (18:17 +0800)]
Merge pull request #9635 from liewegas/wip-make-dist

make-dist: include src/.git_version and src/ceph_ver.h

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #9836 from dx9/wip-hardcoded-tcmalloc
Kefu Chai [Tue, 21 Jun 2016 09:02:21 +0000 (17:02 +0800)]
Merge pull request #9836 from dx9/wip-hardcoded-tcmalloc

cmake: fix hard coded tcmalloc lib

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: fix hard coded tcmalloc lib 9836/head
John Coyle [Sat, 27 Feb 2016 19:20:22 +0000 (14:20 -0500)]
cmake: fix hard coded tcmalloc lib

Signed-off-by: John Coyle <dx9err@gmail.com>
9 years agoMerge pull request #9670 from ceph/wip-debian-clean
Kefu Chai [Tue, 21 Jun 2016 00:46:18 +0000 (08:46 +0800)]
Merge pull request #9670 from ceph/wip-debian-clean

debian: silence couple warnings

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agobluestore/BitAllocator: silence warnings of method hidden 9834/head
Kefu Chai [Mon, 20 Jun 2016 23:18:35 +0000 (07:18 +0800)]
bluestore/BitAllocator: silence warnings of method hidden

is_allocated(int64_t *blocks, int64_t num_blocks, int blk_off) only gets
called in BitMapAreaIN and its child classes. so it's safe to move this
method down to BitMapAreaIN.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoceph_test_objectstore: remove unused function
Kefu Chai [Mon, 20 Jun 2016 22:52:37 +0000 (06:52 +0800)]
ceph_test_objectstore: remove unused function

its caller was removed in 8a42e61

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #9832 from ceph/wip-cmake-librbd-unittest-fix
Sage Weil [Mon, 20 Jun 2016 21:28:16 +0000 (17:28 -0400)]
Merge pull request #9832 from ceph/wip-cmake-librbd-unittest-fix

cmake: unittest_librbd missing a source file

9 years agocmake: unittest_librbd missing a source file 9832/head
Ali Maredia [Mon, 20 Jun 2016 21:23:37 +0000 (17:23 -0400)]
cmake: unittest_librbd missing a source file

src/test/librbd/test_ConsistencyGroups.cc missing
from ${unittest_librbd_srcs}.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #9531 from yehudasa/wip-16175
Casey Bodley [Mon, 20 Jun 2016 20:11:51 +0000 (16:11 -0400)]
Merge pull request #9531 from yehudasa/wip-16175

rgw: data sync debug logging

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #9676 from efirs/fix_bitmap_freelist
Sage Weil [Mon, 20 Jun 2016 19:58:04 +0000 (15:58 -0400)]
Merge pull request #9676 from efirs/fix_bitmap_freelist

os/bluestore: Fix enumeration when only single key in BitmapFreelistManager

9 years agoos/bluestore/BlueFS: instrument which file types we write to 9826/head
Sage Weil [Mon, 20 Jun 2016 18:59:54 +0000 (14:59 -0400)]
os/bluestore/BlueFS: instrument which file types we write to

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: limit read-amp on overwrite 9828/head
Sage Weil [Mon, 20 Jun 2016 19:22:51 +0000 (15:22 -0400)]
os/bluestore: limit read-amp on overwrite

If we are doing a small overwrite over a blob with a large chunk size
(say, due to a large csum order), we are better off writing into a new
allocation than doing a large read/modify/write.  If the read amp will be
more than min_alloc_size, skip the read entirely and write into a new
blob.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotest: remove remaining references to compression_dir
Sage Weil [Mon, 20 Jun 2016 19:57:02 +0000 (15:57 -0400)]
test: remove remaining references to compression_dir

Removed in 38c7f4a06673e4806d327931744338a7393b45ef

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #9829 from ceph/wip-cmake-readme
Sage Weil [Mon, 20 Jun 2016 19:27:10 +0000 (15:27 -0400)]
Merge pull request #9829 from ceph/wip-cmake-readme

cmake: updated CMake README instructions

9 years agoMerge pull request #9814 from songbaisen/a11
Sage Weil [Mon, 20 Jun 2016 19:19:11 +0000 (15:19 -0400)]
Merge pull request #9814 from songbaisen/a11

mon: remove the repeat quorum size jugement

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #9818 from ifed01/wip-zero-length-writes
Sage Weil [Mon, 20 Jun 2016 19:16:57 +0000 (15:16 -0400)]
Merge pull request #9818 from ifed01/wip-zero-length-writes

os/store_test: uniform zero length writes handling

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agocmake: updated CMake README instructions 9829/head
Ali Maredia [Mon, 20 Jun 2016 19:15:09 +0000 (15:15 -0400)]
cmake: updated CMake README instructions

Updated testing and cluster start up instructions
for CMake in README.md

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #9605 from liewegas/wip-statfs
Sage Weil [Mon, 20 Jun 2016 16:39:03 +0000 (12:39 -0400)]
Merge pull request #9605 from liewegas/wip-statfs

os: simplify store_statfs_t

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoMerge pull request #9261 from prallabh/user_quota
Daniel Gryniewicz [Mon, 20 Jun 2016 15:49:46 +0000 (11:49 -0400)]
Merge pull request #9261 from prallabh/user_quota

rgw: Let the default quota settings take effect during user creation

9 years agoMerge pull request #9817 from theanalyst/wip/boost-optional
Orit Wasserman [Mon, 20 Jun 2016 15:32:58 +0000 (17:32 +0200)]
Merge pull request #9817 from theanalyst/wip/boost-optional

rgw_swift: newer versions of boost/utility no longer include in_place
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agolibrbd: fix lockdep issue when duplicate event detected 9819/head
Jason Dillaman [Mon, 20 Jun 2016 14:32:04 +0000 (10:32 -0400)]
librbd: fix lockdep issue when duplicate event detected

Fixes: http://tracker.ceph.com/issues/16363
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoos/store_test: fix synthetic test cases to handle zero-writes properly, i.e. do not... 9818/head
Igor Fedotov [Mon, 20 Jun 2016 14:21:27 +0000 (17:21 +0300)]
os/store_test: fix synthetic test cases to handle zero-writes properly, i.e. do not increase object size.

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoos/memstore: zero-length write should not effect object size
Sage Weil [Mon, 20 Jun 2016 13:53:46 +0000 (09:53 -0400)]
os/memstore: zero-length write should not effect object size

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_objectstore: zero-length write should not affect object size
Sage Weil [Mon, 20 Jun 2016 13:51:56 +0000 (09:51 -0400)]
ceph_test_objectstore: zero-length write should not affect object size

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorgw_swift: newer versions of boost/utility no longer include in_place 9817/head
Abhishek Lekshmanan [Mon, 20 Jun 2016 13:56:50 +0000 (15:56 +0200)]
rgw_swift: newer versions of boost/utility no longer include in_place

boost > 1.58 no longer includes in_place in boost/utility, we need to
include in_place_factory explicitly. This causes build failures in
distros that ship with a higher version of boost. Since the only call is for
swift_ver_location, another possibility is to use emplace()
instead (though this requires boost ~ 1.56)

Fixes: http://tracker.ceph.com/issues/16391
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agoMerge pull request #9786 from pritha-srivastava/wip-multisite-error-msgs
Casey Bodley [Mon, 20 Jun 2016 13:52:40 +0000 (09:52 -0400)]
Merge pull request #9786 from pritha-srivastava/wip-multisite-error-msgs

rgw: modifying multi-site log messages.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agolibrbd: potential race when replaying journal ops 9816/head
Jason Dillaman [Mon, 20 Jun 2016 13:39:24 +0000 (09:39 -0400)]
librbd: potential race when replaying journal ops

Fixes: http://tracker.ceph.com/issues/16198
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #9812 from zhjwpku/cephx_protocol
Sage Weil [Mon, 20 Jun 2016 12:43:00 +0000 (08:43 -0400)]
Merge pull request #9812 from zhjwpku/cephx_protocol

doc: cephx_protocol typos

9 years agodoc/cephfs: add advice about kernel versions 9813/head
John Spray [Mon, 20 Jun 2016 11:28:45 +0000 (12:28 +0100)]
doc/cephfs: add advice about kernel versions

Signed-off-by: John Spray <john.spray@redhat.com>
9 years ago mon: remove the repeat quorum size jugement 9814/head
songbaisen [Mon, 20 Jun 2016 11:00:44 +0000 (19:00 +0800)]
  mon: remove the repeat quorum size jugement

  Signed-off-by:song baisen <song.baisen@zte.com.cn>

9 years agorgw: Add documentation for RGW default quota 9261/head
root [Sun, 19 Jun 2016 07:36:06 +0000 (13:06 +0530)]
rgw: Add documentation for RGW default quota

Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
9 years agoMerge pull request #9188 from rzarzynski/wip-rgw-swift-versioning-new-2
Orit Wasserman [Mon, 20 Jun 2016 10:36:53 +0000 (12:36 +0200)]
Merge pull request #9188 from rzarzynski/wip-rgw-swift-versioning-new-2

rgw: improve support for Swift's object versioning.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agotools/rbd: introduce a simple bench for read 9066/head
Dongsheng Yang [Fri, 13 May 2016 08:57:32 +0000 (04:57 -0400)]
tools/rbd: introduce a simple bench for read

Currently, we have a bench-write for in rbd tool, but we don't have
a simple bench for read.

This patch add a new subcommand of bench, with an option of --io-type.
Then we can do a simple bench for write or read.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
9 years agotools/rbd: make bench-write invisible to user
Dongsheng Yang [Fri, 13 May 2016 08:56:39 +0000 (04:56 -0400)]
tools/rbd: make bench-write invisible to user

rbd bench-write is going to be deprecated. This patch
makes it invisible in help message and manpage. But it
is still working.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
9 years agotools/rbd: introduce a new field of visible in Action Class
Dongsheng Yang [Fri, 13 May 2016 08:47:22 +0000 (04:47 -0400)]
tools/rbd: introduce a new field of visible in Action Class

The new field means whether we want to show this Action in
command help. Sometimes, we want to make one action to be
deprecated and invisible to user, but we have to keep it
working for compatibility.

Then we need to support this action but make it invisible.

Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
9 years agorgw: modifying multi-site log messages. 9786/head
Pritha Srivastava [Thu, 16 Jun 2016 09:15:57 +0000 (14:45 +0530)]
rgw: modifying multi-site log messages.

Increasing the log level and removing 'ERROR' from messages that appear during normal multi-site operation.
Fixes: http://tracker.ceph.com/issues/16121
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
9 years agoMerge pull request #9804 from ceph/revert-9801-msg_msg_types_entity_name_t_makeprivate
Kefu Chai [Mon, 20 Jun 2016 04:01:00 +0000 (12:01 +0800)]
Merge pull request #9804 from ceph/revert-9801-msg_msg_types_entity_name_t_makeprivate

Revert "msg/msg_types.h: make members private in ..."

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoRevert "msg/msg_types.h: make members private in ..." 9804/head
Haomai Wang [Mon, 20 Jun 2016 02:45:45 +0000 (10:45 +0800)]
Revert "msg/msg_types.h: make members private in ..."

9 years agoMerge pull request #9801 from stiopaa1/msg_msg_types_entity_name_t_makeprivate
Kefu Chai [Mon, 20 Jun 2016 02:11:41 +0000 (10:11 +0800)]
Merge pull request #9801 from stiopaa1/msg_msg_types_entity_name_t_makeprivate

msg/msg_types.h: make members private in `entity_name_t`

Reviewed-by: Kefu Chai <kchai@redhat.com>