]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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
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>
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>
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>
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>
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
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>
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>
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>
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>
Yehuda Sadeh [Wed, 2 Nov 2016 22:55:34 +0000 (15:55 -0700)]
rgw: support for x-robots-tag header
Fixes: http://tracker.ceph.com/issues/17790
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Wed, 2 Nov 2016 17:50:23 +0000 (12:50 -0500)]
Merge pull request #11331 from liewegas/wip-mempool
mempool: mempool infrastructure, bluestore changes to use it
Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
Sage Weil [Thu, 20 Oct 2016 15:10:08 +0000 (10:10 -0500)]
mempool: use function static for pool table
The compiler/linker guarantee this is initialized before any invocation
of this function... even if it is by a ctor in another compilation unit
that is initialized by the mempool.cc compilation unit.
Suggested by Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
Signed-off-by: Allen Samuels <allen.samuels@sandisk.com>
Sage Weil [Tue, 18 Oct 2016 16:12:43 +0000 (12:12 -0400)]
mempool: do not dump unused pools
Notably, unittest_[12]. :)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Oct 2016 16:09:39 +0000 (12:09 -0400)]
mempool: put pool namespaces within mempool::
e.g., mempool::bluestore_meta_other::list<...> ...
This avoids colliding with other names and types when the pool
name is something common (like "osd").
Signed-off-by: Sage Weil <sage@redhat.com>
# Conflicts:
# src/include/mempool.h
Sage Weil [Tue, 18 Oct 2016 16:06:27 +0000 (12:06 -0400)]
mempool: simplify debug settings
There's no need for a per-pool debug flag; just use the global
debug_mode bool!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Oct 2016 16:03:28 +0000 (12:03 -0400)]
mempool: force per-type factories to register with the pool
We want these to get their debug flag adjusted when it is turned
on and off.
(In contrast, we accept that STL containers will only be debugged
if mempool debug was on when they are constructed.)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Oct 2016 02:42:17 +0000 (22:42 -0400)]
include/encoding: parameterize stl containers encoders with allocator
This will let us encode/decode containers with custom allocators
(i.e., in mempools).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Oct 2016 16:01:52 +0000 (12:01 -0400)]
mempool: simplify initialization
Assume that the array will be zeroed when the process starts, and
avoid the possibility that it will be zeroed *again* when the
ctors run for this link module (potentially clobbering values
that have been filled in by other ctors who ran earlier than
ours).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 17 Oct 2016 18:19:27 +0000 (14:19 -0400)]
include/types: parameterize operator<< helpers on comparator, allocator
This allows these templates to apply to containers with
non-default comparators or allocators.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 17 Oct 2016 17:56:59 +0000 (13:56 -0400)]
include/mempool: fix comment
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Oct 2016 21:50:33 +0000 (17:50 -0400)]
mempool: dynamic index by type in pool_t
This avoids having to use statics for the pool_allocators and
guessing what intenral types the containers are going to need.
It'll be a bit slower in debug on on construction and destruction,
but who cares!
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Oct 2016 20:48:52 +0000 (16:48 -0400)]
include/mempool: define additional pair factory for unordered_map
This fixes build on debian jessie, libstdc++-4.9-dev:amd64 4.9.2-10.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 11 Oct 2016 22:20:03 +0000 (18:20 -0400)]
mempool: pick shard on every allocation; move types to pool_t
If we have a static choice of shard for every *type*
(pool_allocator_base_t) then we will hammer that shard from all
threads and play cacheline ping-pong. Instead, move the types
list to pool_t (there aren't that many anyway) and pick a shard
on every allocate/deallocate call.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 11 Oct 2016 22:17:41 +0000 (18:17 -0400)]
mempool: make num_shards a power of 2
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 11 Oct 2016 20:47:16 +0000 (16:47 -0400)]
include/mempool: rename containers -> types
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 11 Oct 2016 20:44:51 +0000 (16:44 -0400)]
include/mempool: note about runtime complexity
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 11 Oct 2016 19:46:42 +0000 (15:46 -0400)]
os/bluestore/bluestore_types: disable ref_map internal _check
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 11 Oct 2016 18:25:01 +0000 (14:25 -0400)]
os/bluestore: restructure cache trimming in terms of mempool
Trim cache based on overall memory utilization by cache objects,
as tracked by the bluestore_meta_* mempools. This lets you
configure the bluestore cache size in terms of bytes of memory.
Note that we do not account for other memory utilization by the
OSD.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 11 Oct 2016 18:23:52 +0000 (14:23 -0400)]
os/bluestore: move most cache types into mempools
Keep onodes separate so we can use onodes as a sentinal for
overall memory usage (this is what we trim in terms of anyway).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 11 Oct 2016 18:21:56 +0000 (14:21 -0400)]
global: introduce mempool_debug config option, asok command
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 11 Oct 2016 18:33:14 +0000 (14:33 -0400)]
include/mempool: introduce mempool infrastructure
This is heavily based on Allen Samuels' prototype.
Signed-off-by: Sage Weil <sage@redhat.com>
Adam Kupczyk [Wed, 2 Nov 2016 16:34:56 +0000 (17:34 +0100)]
Merge pull request #2 from cbodley/wip-rgw-compression-doc
doc/rgw: document rgw_compression_type
Casey Bodley [Wed, 2 Nov 2016 15:18:41 +0000 (11:18 -0400)]
rgw: remove unused rgw_compression_enabled
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 2 Nov 2016 15:18:19 +0000 (11:18 -0400)]
doc/rgw: document rgw_compression_type
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Wed, 2 Nov 2016 13:49:11 +0000 (08:49 -0500)]
Merge pull request #11726 from liewegas/wip-bluestore-fsck-omap
os/bluestore: fsck: fix omap_head check
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Wed, 2 Nov 2016 13:48:37 +0000 (09:48 -0400)]
os/bluestore: fsck: fix omap_head check
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 2 Nov 2016 13:47:53 +0000 (08:47 -0500)]
Merge pull request #11740 from xiexingguo/xxg-wip-bluestore-1102
os/bluestore: less code redundancy
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 2 Nov 2016 13:34:50 +0000 (08:34 -0500)]
Merge pull request #11725 from liewegas/wip-bluestore-shard-span
os/bluestore: fix extent shard span check
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Adam Kupczyk [Wed, 2 Nov 2016 10:13:41 +0000 (11:13 +0100)]
Fixed warnings.
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
Casey Bodley [Wed, 26 Oct 2016 18:54:37 +0000 (14:54 -0400)]
rgw: maintain uncompressed size in copy_obj_data
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Adam Kupczyk [Fri, 14 Oct 2016 10:09:20 +0000 (12:09 +0200)]
Fixed bad rebase on read_op.prepare()
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
Adam Kupczyk [Wed, 12 Oct 2016 13:40:29 +0000 (15:40 +0200)]
Fixed problem with isal-regular gzip compatibility.
Added tests.
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
Adam Kupczyk [Fri, 30 Sep 2016 11:54:54 +0000 (13:54 +0200)]
Fixed missing param to processor->complete().
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
Casey Bodley [Thu, 29 Sep 2016 21:30:29 +0000 (17:30 -0400)]
radosgw-admin: add 'size_utilized' to bucket stats
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 29 Sep 2016 21:04:30 +0000 (17:04 -0400)]
rgw: use RGWStorageStats::dump() to format 'bucket stats'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 29 Sep 2016 16:38:19 +0000 (12:38 -0400)]
rgw: Bucket::List::list_objects no longer reads compression attribute for size
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 29 Sep 2016 16:42:57 +0000 (12:42 -0400)]
rgw: remove compression attribute from bucket instance
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Adam Kupczyk [Fri, 30 Sep 2016 09:31:13 +0000 (11:31 +0200)]
Fixed possible problems when compression expands data.
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
Adam Kupczyk [Fri, 30 Sep 2016 09:26:29 +0000 (11:26 +0200)]
Fixed problem with snappy compressor when data size <=3.
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
Casey Bodley [Thu, 29 Sep 2016 16:34:17 +0000 (12:34 -0400)]
rgw: pass accounted_size directly into RGWPutObjProcessor::complete
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 29 Sep 2016 21:59:32 +0000 (17:59 -0400)]
rgw: add accounted_size to RGWUploadPartInfo
and use accounted_size for ListMultipart operations
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 29 Sep 2016 16:32:21 +0000 (12:32 -0400)]
rgw: add accounted_size argument to Write::write_meta
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 29 Sep 2016 16:30:19 +0000 (12:30 -0400)]
rgw: add accounted_size argument to UpdateIndex::complete
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 29 Sep 2016 16:28:10 +0000 (12:28 -0400)]
rgw: add accounted_size to RGWObjEnt
and use accounted_size for BucketList operations
Signed-off-by: Casey Bodley <cbodley@redhat.com>