]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agomsg: make loopback Connection feature accurate all the time 11183/head
Sage Weil [Mon, 10 Oct 2016 13:55:54 +0000 (09:55 -0400)]
msg: make loopback Connection feature accurate all the time

In 626360aab05545ddacb0ac28e54a70e31fd5695d we made the
OSD cluster loopback connection CEPH_FEATURES_ALL, but
all other loopback connections got features == 0.  I
can't come up with any reason we wouldn't want those
connections to have accurate feature bits, so let's just
use CEPH_FEATURES_ALL for all of them.

While we're here, make the cflags argument required.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11281 from jcsp/wip-17466
John Spray [Mon, 10 Oct 2016 11:21:07 +0000 (13:21 +0200)]
Merge pull request #11281 from jcsp/wip-17466

mds: handle bad standby_for_fscids in fsmap

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #10722 from stiopaa1/mon_moncap_addMoveToStrings
Kefu Chai [Mon, 10 Oct 2016 06:47:21 +0000 (14:47 +0800)]
Merge pull request #10722 from stiopaa1/mon_moncap_addMoveToStrings

mon/MonCap.h: add std::move for std::string

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #10916 from jordan41177/fix-17169
Kefu Chai [Mon, 10 Oct 2016 06:39:56 +0000 (14:39 +0800)]
Merge pull request #10916 from jordan41177/fix-17169

mon: OSDMonitor: fix the check error of pg creating

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #10720 from wjwithagen/wip-wjw-freebsd-socket-shutdown
Kefu Chai [Mon, 10 Oct 2016 06:38:56 +0000 (14:38 +0800)]
Merge pull request #10720 from wjwithagen/wip-wjw-freebsd-socket-shutdown

msg/simple/Accepter.cc: replace shutdown() with selfpipe event in poll() (FreeBSD)

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10601 from stiopaa1/mon_monclient_subwantRemoveCount
Kefu Chai [Mon, 10 Oct 2016 06:33:54 +0000 (14:33 +0800)]
Merge pull request #10601 from stiopaa1/mon_monclient_subwantRemoveCount

mon/MonClient.h: remove repeated searching of map

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11145 from atheism/msg-async-fix-specifier
Kefu Chai [Mon, 10 Oct 2016 06:32:31 +0000 (14:32 +0800)]
Merge pull request #11145 from atheism/msg-async-fix-specifier

msg: fix format specifier for unsigned value id

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11379 from zealoussnow/fix-dead-link
Kefu Chai [Sun, 9 Oct 2016 05:53:28 +0000 (13:53 +0800)]
Merge pull request #11379 from zealoussnow/fix-dead-link

doc: fix dead link "Hardware Recommendations"

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodoc: fix dead link "Hardware Recommendations" 11379/head
Leo Zhang [Sat, 8 Oct 2016 14:41:59 +0000 (22:41 +0800)]
doc: fix dead link "Hardware Recommendations"

Signed-off-by: Leo Zhang <nguzcf@gmail.com>
8 years agoMerge pull request #10057 from Yan-waller/yj-wip-rgwradosccremover-0701
Yehuda Sadeh [Fri, 7 Oct 2016 21:04:45 +0000 (14:04 -0700)]
Merge pull request #10057 from Yan-waller/yj-wip-rgwradosccremover-0701

rgw: minor cleanup

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #10674 from ceph/wip-rgw-no-empty-amzrqid
Yehuda Sadeh [Fri, 7 Oct 2016 21:02:27 +0000 (14:02 -0700)]
Merge pull request #10674 from ceph/wip-rgw-no-empty-amzrqid

rgw/rest: don't print empty x-amz-request-id

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #10849 from zhangsw/master
Yehuda Sadeh [Fri, 7 Oct 2016 20:57:18 +0000 (13:57 -0700)]
Merge pull request #10849 from zhangsw/master

rgw: remove a redundant judgement when listng objects.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #11353 from dillaman/wip-17423
Mykola Golub [Fri, 7 Oct 2016 19:04:15 +0000 (22:04 +0300)]
Merge pull request #11353 from dillaman/wip-17423

librbd: API changes to support separate data pool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11361 from batrick/fs-rm-formatting
Sage Weil [Fri, 7 Oct 2016 13:49:46 +0000 (08:49 -0500)]
Merge pull request #11361 from batrick/fs-rm-formatting

mon: add missing space in warning message

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11364 from badone/wip-_lsb_release_-dead-declarations
Sage Weil [Fri, 7 Oct 2016 13:47:45 +0000 (08:47 -0500)]
Merge pull request #11364 from badone/wip-_lsb_release_-dead-declarations

osd: Remove unused '_lsb_release_' declarations

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11349 from liewegas/wip-compressor
Sage Weil [Fri, 7 Oct 2016 13:42:23 +0000 (08:42 -0500)]
Merge pull request #11349 from liewegas/wip-compressor

compressor: fixes and tests; disable zlib isal (it's broken)

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #11366 from xiexingguo/xxg-wip-bluestore-1007
Sage Weil [Fri, 7 Oct 2016 13:41:35 +0000 (08:41 -0500)]
Merge pull request #11366 from xiexingguo/xxg-wip-bluestore-1007

os/bluestore: simplify blob status checking for small writes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agounittest_compression: naming nit 11349/head
Sage Weil [Thu, 6 Oct 2016 17:49:18 +0000 (13:49 -0400)]
unittest_compression: naming nit

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agounittest_compression: restore zlib_isal setting
Sage Weil [Thu, 6 Oct 2016 17:47:56 +0000 (13:47 -0400)]
unittest_compression: restore zlib_isal setting

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11236 from renhwztetecs/renhw-wip-cephfs-journal-tool
John Spray [Fri, 7 Oct 2016 13:16:06 +0000 (15:16 +0200)]
Merge pull request #11236 from renhwztetecs/renhw-wip-cephfs-journal-tool

tool/cephfs: displaying "list" in journal event mode

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #10021 from rzarzynski/wip-rgw-swift-auth-errors
Orit Wasserman [Fri, 7 Oct 2016 09:52:43 +0000 (11:52 +0200)]
Merge pull request #10021 from rzarzynski/wip-rgw-swift-auth-errors

rgw: handle Swift auth errors in a way compatible with new Tempests.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoos/bluestore: make randomizing value process of kvpair faster 11366/head
xie xingguo [Fri, 7 Oct 2016 08:07:23 +0000 (16:07 +0800)]
os/bluestore: make randomizing value process of kvpair faster

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: fsck() on idempotent mkfs() request
xie xingguo [Fri, 7 Oct 2016 07:24:17 +0000 (15:24 +0800)]
os/bluestore: fsck() on idempotent mkfs() request

E.g., if the fsck() found something during the first mkfs() try,
it can still be caught by the following retry.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: fix comment
xie xingguo [Fri, 7 Oct 2016 03:34:53 +0000 (11:34 +0800)]
os/bluestore: fix comment

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoosd: Remove unused '_lsb_release_' declarations 11364/head
Brad Hubbard [Fri, 7 Oct 2016 03:19:42 +0000 (13:19 +1000)]
osd: Remove unused '_lsb_release_' declarations

_lsb_release_set and _lsb_release_parse declarations still exist despite their
definitions being removed some time ago.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoos/bluestore: sanity check iterator of BufferSpace::_rm_buffer()
xie xingguo [Fri, 7 Oct 2016 03:20:49 +0000 (11:20 +0800)]
os/bluestore: sanity check iterator of BufferSpace::_rm_buffer()

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: simplify blob status checking for small writes
xie xingguo [Fri, 7 Oct 2016 01:49:28 +0000 (09:49 +0800)]
os/bluestore: simplify blob status checking for small writes

If a blob is marked as compressed and still mutable, something
is wrong.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11302 from asheplyakov/rados-doc-fixup
Josh Durgin [Thu, 6 Oct 2016 23:24:52 +0000 (16:24 -0700)]
Merge pull request #11302 from asheplyakov/rados-doc-fixup

doc: fix librados example programs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agomon: add missing space in warning message 11361/head
Patrick Donnelly [Thu, 6 Oct 2016 22:08:54 +0000 (18:08 -0400)]
mon: add missing space in warning message

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agounittest_compression: subsume plugin test
Sage Weil [Thu, 6 Oct 2016 17:44:59 +0000 (13:44 -0400)]
unittest_compression: subsume plugin test

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agounittest_compression: subsume _zlib and _snappy test cases
Sage Weil [Thu, 6 Oct 2016 17:43:13 +0000 (13:43 -0400)]
unittest_compression: subsume _zlib and _snappy test cases

This includes zlib and isal interop.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agounittest_compressor: smaller big test
Sage Weil [Thu, 6 Oct 2016 15:58:52 +0000 (11:58 -0400)]
unittest_compressor: smaller big test

Just so it runs a bit faster!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocompressor/zlib: disable ISA-L
Sage Weil [Thu, 6 Oct 2016 15:50:31 +0000 (11:50 -0400)]
compressor/zlib: disable ISA-L

This fails the unit tests.  Do not reenable until it is fixed!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocompressor/zlib: add compressor_zlib_isal config option to disable ISA-L
Sage Weil [Thu, 6 Oct 2016 15:49:14 +0000 (11:49 -0400)]
compressor/zlib: add compressor_zlib_isal config option to disable ISA-L

We dynamically enable this if the necessary processor features are present.
Allow this probing to be disabled explicitly.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocompressor/snappy: fix decompress buffer sizing for large buffers
Sage Weil [Thu, 6 Oct 2016 15:36:33 +0000 (11:36 -0400)]
compressor/snappy: fix decompress buffer sizing for large buffers

4 bytes is enough for small buffers, but fails for larger buffers because
snappy encodes the length as a varint.  8 is enough.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agounittest_compressor: unified compression tests, parameterized by plugin
Sage Weil [Thu, 6 Oct 2016 15:25:56 +0000 (11:25 -0400)]
unittest_compressor: unified compression tests, parameterized by plugin

This obsoletes the per-plugin plugin tests, which are tedious anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorbd: utilize new API methods for image id and block name prefix 11353/head
Jason Dillaman [Thu, 6 Oct 2016 16:56:31 +0000 (12:56 -0400)]
rbd: utilize new API methods for image id and block name prefix

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: new API methods to retrieve image id and block name prefix
Jason Dillaman [Thu, 6 Oct 2016 16:48:22 +0000 (12:48 -0400)]
librbd: new API methods to retrieve image id and block name prefix

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: relocate image option processing to create state machine
Jason Dillaman [Thu, 6 Oct 2016 14:57:21 +0000 (10:57 -0400)]
librbd: relocate image option processing to create state machine

Replace the individual image option parameters with the ImageOptions
wrapper and extract the options within the state machine itself.
This will simplify adding support for the data pool and other options
in the future.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: add data pool option to API and config
Jason Dillaman [Thu, 6 Oct 2016 13:41:42 +0000 (09:41 -0400)]
librbd: add data pool option to API and config

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agocls_rbd: fix compiler warning due to feature bit macro type change
Jason Dillaman [Thu, 6 Oct 2016 13:38:25 +0000 (09:38 -0400)]
cls_rbd: fix compiler warning due to feature bit macro type change

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11326 from dillaman/wip-17416
Mykola Golub [Thu, 6 Oct 2016 18:47:45 +0000 (21:47 +0300)]
Merge pull request #11326 from dillaman/wip-17416

rbd-mirror: improve resiliency of stress test case

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11327 from dillaman/wip-17422
Mykola Golub [Thu, 6 Oct 2016 18:46:48 +0000 (21:46 +0300)]
Merge pull request #11327 from dillaman/wip-17422

librbd: cls_rbd updates for separate data pool

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11329 from atheism/rgw-b64-remove-ostr
Sage Weil [Thu, 6 Oct 2016 17:23:38 +0000 (12:23 -0500)]
Merge pull request #11329 from atheism/rgw-b64-remove-ostr

rgw: remove unused variable "ostr" in rgw_b64.h and fix the comment

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11351 from ifed01/wip-bluestore-misc2
Sage Weil [Thu, 6 Oct 2016 17:22:27 +0000 (12:22 -0500)]
Merge pull request #11351 from ifed01/wip-bluestore-misc2

os/bluestore: Fix invalid compression statfs caused by clone op

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11350 from liewegas/wip-bluestore-compression
Sage Weil [Thu, 6 Oct 2016 16:35:37 +0000 (11:35 -0500)]
Merge pull request #11350 from liewegas/wip-bluestore-compression

os/bluestore: fix up compression tests and debug output

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: Fix invalid compression statfs caused by clone op 11351/head
Igor Fedotov [Thu, 6 Oct 2016 16:29:47 +0000 (16:29 +0000)]
os/bluestore: Fix invalid compression statfs caused by clone op

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #11317 from liewegas/wip-bluestore-aios
Igor Fedotov [Thu, 6 Oct 2016 16:27:09 +0000 (19:27 +0300)]
Merge pull request #11317 from liewegas/wip-bluestore-aios

os/bluestore: fix has_aios

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoceph_test_objectstore: adjust SyntheticMatrixCsumVsCompression parameters 11350/head
Sage Weil [Thu, 6 Oct 2016 16:05:04 +0000 (12:05 -0400)]
ceph_test_objectstore: adjust SyntheticMatrixCsumVsCompression parameters

- larger writes
- test both codecs
- use smaller min_alloc_size so that it's easier to write compressed data
- don't bother with compression off; other matrices cover that.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: clean up compression debug output
Sage Weil [Thu, 6 Oct 2016 16:03:05 +0000 (12:03 -0400)]
os/bluestore: clean up compression debug output

The previous output was impossible to interpret properly.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph_test_objectstore: limit entropy in 'random' data so it can compress
Sage Weil [Thu, 6 Oct 2016 16:02:10 +0000 (12:02 -0400)]
ceph_test_objectstore: limit entropy in 'random' data so it can compress

Both zlib and snappy weren't able to do anything with the current data.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: fix build error
Sage Weil [Thu, 6 Oct 2016 15:17:01 +0000 (11:17 -0400)]
os/bluestore: fix build error

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11346 from ifed01/wip-bluestore-misc
Sage Weil [Thu, 6 Oct 2016 14:37:56 +0000 (09:37 -0500)]
Merge pull request #11346 from ifed01/wip-bluestore-misc

os/bluestore: misc cleanup and test fixes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11328 from liewegas/wip-bluestore-more-types
Sage Weil [Thu, 6 Oct 2016 14:33:59 +0000 (09:33 -0500)]
Merge pull request #11328 from liewegas/wip-bluestore-more-types

os/bluestore: pack a few more in-memory types

8 years agotest/store_test: BluestoreStatFSTest fixes for issues introduced with bluestore_compr... 11346/head
Igor Fedotov [Thu, 6 Oct 2016 14:17:40 +0000 (14:17 +0000)]
test/store_test: BluestoreStatFSTest fixes for issues introduced with bluestore_compression_min_blob_size adjustment

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: some cleanup around garbage collector
Igor Fedotov [Wed, 5 Oct 2016 15:14:10 +0000 (15:14 +0000)]
os/bluestore: some cleanup around garbage collector

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #11344 from xiexingguo/xxg-wip-bluestore-1006
Igor Fedotov [Thu, 6 Oct 2016 10:47:03 +0000 (13:47 +0300)]
Merge pull request #11344 from xiexingguo/xxg-wip-bluestore-1006

os/bluestore: fix write_big counter and some more cleanups

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: fix comment 11344/head
xie xingguo [Thu, 6 Oct 2016 09:33:00 +0000 (17:33 +0800)]
os/bluestore: fix comment

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: simplify bluestore_gc_merge_data checking
xie xingguo [Thu, 6 Oct 2016 08:59:31 +0000 (16:59 +0800)]
os/bluestore: simplify bluestore_gc_merge_data checking

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: fix counter of l_bluestore_write_big_bytes
xie xingguo [Thu, 6 Oct 2016 08:44:30 +0000 (16:44 +0800)]
os/bluestore: fix counter of l_bluestore_write_big_bytes

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: more cleanups on _do_write_small()
xie xingguo [Thu, 6 Oct 2016 08:33:00 +0000 (16:33 +0800)]
os/bluestore: more cleanups on _do_write_small()

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: add _dump_transaction to reduce code redundancy
xie xingguo [Thu, 6 Oct 2016 07:54:42 +0000 (15:54 +0800)]
os/bluestore: add _dump_transaction to reduce code redundancy

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: upgrade wal_seq to std::atomic
xie xingguo [Thu, 6 Oct 2016 07:36:20 +0000 (15:36 +0800)]
os/bluestore: upgrade wal_seq to std::atomic

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11336 from liewegas/wip-bluestore-spanning-map
Sage Weil [Wed, 5 Oct 2016 22:36:20 +0000 (17:36 -0500)]
Merge pull request #11336 from liewegas/wip-bluestore-spanning-map

os/bluestore: switch spanning_blob_map to std::map

8 years agoMerge pull request #11340 from yehudasa/wip-13286
Casey Bodley [Wed, 5 Oct 2016 20:34:14 +0000 (16:34 -0400)]
Merge pull request #11340 from yehudasa/wip-13286

rgw-admin: allow unsetting user's email

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11334 from ceph/wip-make-dist-tag
Alfredo Deza [Wed, 5 Oct 2016 19:30:24 +0000 (15:30 -0400)]
Merge pull request #11334 from ceph/wip-make-dist-tag

make-dist: set rpm_release correctly for release builds

Reviewed-by: Alfredo Deza <adeza@redhat.com>
8 years agorgw: remove user email index using helper function 11340/head
Yehuda Sadeh [Wed, 5 Oct 2016 18:41:42 +0000 (11:41 -0700)]
rgw: remove user email index using helper function

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw:user email can modify to empty
Weijun Duan [Sat, 27 Feb 2016 09:28:14 +0000 (04:28 -0500)]
rgw:user email can modify to empty

Fixes: http://tracker.ceph.com/issues/13286
Signed-off-by: Weijun Duan <duanweijun@h3c.com>
8 years agomake-dist: set rpm_release correctly for release builds 11334/head
Dan Mick [Wed, 5 Oct 2016 18:01:26 +0000 (11:01 -0700)]
make-dist: set rpm_release correctly for release builds

Similar to autobuild-ceph 17591db, only try to set rpm_release if there
is a release part to the git describe output (i.e. if it's not at a
version tag)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoos/bluestore: switch spanning_blob_map to std::map 11336/head
Sage Weil [Wed, 5 Oct 2016 16:17:07 +0000 (12:17 -0400)]
os/bluestore: switch spanning_blob_map to std::map

The intrusive map overhead on Blob is expensive when a tiny fraction of
Blobs actually end up in the spanning_blob_map.  Let's pay the extra
allocation overhead (for the map node holding the BlobRef) for those rare
cases.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11127 from SirishaGuduru/multitenancy-doc-change
Yehuda Sadeh [Wed, 5 Oct 2016 16:07:17 +0000 (09:07 -0700)]
Merge pull request #11127 from SirishaGuduru/multitenancy-doc-change

Changed config parameter "rgw keystone make new tenants" in radosgw multitenancy

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #10159 from mhackett/wip-mhackett-16604
Yehuda Sadeh [Wed, 5 Oct 2016 16:04:02 +0000 (09:04 -0700)]
Merge pull request #10159 from mhackett/wip-mhackett-16604

doc: add rgw_enable_usage_log option in Rados Gateway admin guide

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #10641 from weiqiaomiao/wqm-wip-rgw-s3api
Yehuda Sadeh [Wed, 5 Oct 2016 15:55:34 +0000 (08:55 -0700)]
Merge pull request #10641 from weiqiaomiao/wqm-wip-rgw-s3api

doc/radosgw: fix description of response elements 'Part'

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #11286 from yehudasa/wip-16930
Casey Bodley [Wed, 5 Oct 2016 14:51:08 +0000 (10:51 -0400)]
Merge pull request #11286 from yehudasa/wip-16930

rgw: don't fail if lost race when setting acls

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: remove unused variable "ostr" in rgw_b64.h and fix the comment 11329/head
Weibing Zhang [Wed, 5 Oct 2016 14:34:33 +0000 (22:34 +0800)]
rgw: remove unused variable "ostr" in rgw_b64.h and fix the comment

Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
8 years agoMerge pull request #11319 from markhpc/wip-bluestore-optimize-size
Sage Weil [Wed, 5 Oct 2016 14:15:22 +0000 (09:15 -0500)]
Merge pull request #11319 from markhpc/wip-bluestore-optimize-size

os/bluestore: optimize intrusive sets for size.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11313 from ceph/wip-krbd-lock-on-read-option
Jason Dillaman [Wed, 5 Oct 2016 14:00:29 +0000 (10:00 -0400)]
Merge pull request #11313 from ceph/wip-krbd-lock-on-read-option

rbd: recognize lock_on_read option

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoos/bluestore: simplify BufferSpace writing_map / list 11328/head
Sage Weil [Wed, 5 Oct 2016 13:56:09 +0000 (09:56 -0400)]
os/bluestore: simplify BufferSpace writing_map / list

We were tracking buffers by seq.  In reality, though, we
won't have very many buffers that have in flight IO to
the same blob at the same time, so we can get by with
just a list here.  We can rely on the fact that the
list will be sorted (seq's increase, and we put new
buffers at the end).

This saves us a memory allocation.  No change in size of
BufferSpace and Blob (std::list -> intrusive::list).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agounittest_bluestore_types: more type sizeofs
Sage Weil [Wed, 5 Oct 2016 13:44:53 +0000 (09:44 -0400)]
unittest_bluestore_types: more type sizeofs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11264 from liewegas/wip-bluestore-blob-split
Sage Weil [Wed, 5 Oct 2016 13:44:30 +0000 (08:44 -0500)]
Merge pull request #11264 from liewegas/wip-bluestore-blob-split

os/bluestore: try to split blobs instead of spanning them

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: make Buffer smaller
Sage Weil [Wed, 5 Oct 2016 13:43:07 +0000 (09:43 -0400)]
os/bluestore: make Buffer smaller

160 -> 152 bytes

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agocls_rbd: add initial support for separate data pools 11327/head
Jason Dillaman [Wed, 5 Oct 2016 03:38:12 +0000 (23:38 -0400)]
cls_rbd: add initial support for separate data pools

Fixes: http://tracker.ceph.com/issues/17422
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: new RBD_FEATURE_DATA_POOL feature bit
Jason Dillaman [Wed, 5 Oct 2016 02:48:16 +0000 (22:48 -0400)]
librbd: new RBD_FEATURE_DATA_POOL feature bit

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11323 from liewegas/wip-bluestore-more-types
Igor Fedotov [Wed, 5 Oct 2016 11:04:01 +0000 (14:04 +0300)]
Merge pull request #11323 from liewegas/wip-bluestore-more-types

unittest_bluestore_types: a few more types for sizeof

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoqa/workunits: reduce amount of client IO for rbd-mirror stress 11326/head
Jason Dillaman [Wed, 5 Oct 2016 01:29:31 +0000 (21:29 -0400)]
qa/workunits: reduce amount of client IO for rbd-mirror stress

Journal IO is faster now, resulting in OSDs quickly filling up
under the stress test case.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-mirror: potential race allocating tag during shut down
Jason Dillaman [Tue, 4 Oct 2016 16:22:06 +0000 (12:22 -0400)]
rbd-mirror: potential race allocating tag during shut down

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: ignore attempts to request lock if already lock owner
Jason Dillaman [Fri, 30 Sep 2016 16:32:37 +0000 (12:32 -0400)]
librbd: ignore attempts to request lock if already lock owner

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agojournal: clean up object recorder closed/overflow callback
Jason Dillaman [Fri, 30 Sep 2016 16:59:16 +0000 (12:59 -0400)]
journal: clean up object recorder closed/overflow callback

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agojournal: delay moving overflowed buffers until quiesced
Jason Dillaman [Thu, 29 Sep 2016 12:36:53 +0000 (08:36 -0400)]
journal: delay moving overflowed buffers until quiesced

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agojournal: use reverse iterator search to find flush record
Jason Dillaman [Thu, 29 Sep 2016 12:19:52 +0000 (08:19 -0400)]
journal: use reverse iterator search to find flush record

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agojournal: avoid holding lock while sending journal append
Jason Dillaman [Wed, 28 Sep 2016 12:35:36 +0000 (08:35 -0400)]
journal: avoid holding lock while sending journal append

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #10223 from mikulely/doc-s3-static-website-support
Yehuda Sadeh [Wed, 5 Oct 2016 00:12:30 +0000 (17:12 -0700)]
Merge pull request #10223 from mikulely/doc-s3-static-website-support

doc: update s3 static webiste feature support status

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #11325 from yehudasa/wip-17499
Yehuda Sadeh [Wed, 5 Oct 2016 00:02:51 +0000 (17:02 -0700)]
Merge pull request #11325 from yehudasa/wip-17499

rgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_…

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_ObjStore_S3... 11325/head
weiqiaomiao [Sat, 4 Jun 2016 09:21:33 +0000 (17:21 +0800)]
rgw: need to 'open_object_section' before dump stats in 'RGWGetUsage_ObjStore_S3::send_response()' function

Fixes: http://tracker.ceph.com/issues/17499
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
8 years agoMerge pull request #10820 from yanghonggang/master
Yehuda Sadeh [Tue, 4 Oct 2016 23:20:51 +0000 (16:20 -0700)]
Merge pull request #10820 from yanghonggang/master

rgw: fix get object instance  returned NoSuchKey error

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #10726 from weiqiaomiao/wqm-wip-remove-ret
Yehuda Sadeh [Tue, 4 Oct 2016 22:48:05 +0000 (15:48 -0700)]
Merge pull request #10726 from weiqiaomiao/wqm-wip-remove-ret

rgw: remove the field ret from class RGWPutLC

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoos/bluestore: make BufferSpace smaller
Sage Weil [Tue, 4 Oct 2016 22:14:16 +0000 (18:14 -0400)]
os/bluestore: make BufferSpace smaller

Saves 24 bytes!

BufferSpace  104 -> 80 bytes
SharedBlob   216 -> 192 bytes

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: pack SharedBlob
Sage Weil [Tue, 4 Oct 2016 22:04:49 +0000 (18:04 -0400)]
os/bluestore: pack SharedBlob

224 -> 216 bytes

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: pack Blob members
Sage Weil [Tue, 4 Oct 2016 22:03:06 +0000 (18:03 -0400)]
os/bluestore: pack Blob members

272 -> 264 bytes

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agounittest_bluestore_types: a few more types for sizeof 11323/head
Sage Weil [Tue, 4 Oct 2016 17:38:48 +0000 (13:38 -0400)]
unittest_bluestore_types: a few more types for sizeof

Signed-off-by: Sage Weil <sage@redhat.com>