]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Orit Wasserman [Tue, 11 Oct 2016 12:18:29 +0000 (14:18 +0200)]
rgw: avoid corruption when running old radosgw-admin on a newer rgw
Fixes:http://tracker.ceph.com/issues/17371
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 11 Oct 2016 09:19:01 +0000 (11:19 +0200)]
rgw: Fix missing master zone for default region conversion
Fixes:http://tracker.ceph.com/issues/17371
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 11 Oct 2016 09:00:00 +0000 (11:00 +0200)]
rgw: mark configuration as converted to avoid corruption when running older admins
Fixes: http://tracker.ceph.com/issues/17371
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Casey Bodley [Mon, 10 Oct 2016 17:51:10 +0000 (13:51 -0400)]
Merge pull request #10731 from yehudasa/wip-rgw-sync-plugins
rgw: sync modules, metadata search
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Mon, 10 Oct 2016 15:07:11 +0000 (11:07 -0400)]
Merge pull request #11363 from xiexingguo/xxg-wip-fix-rbd-warn
cls_rbd: silence compiler warnings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 10 Oct 2016 15:03:25 +0000 (10:03 -0500)]
Merge pull request #11371 from stiopaa1/mds_cinode_removeCount
mds/CInode.h: remove unneeded use of count
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 10 Oct 2016 15:00:05 +0000 (10:00 -0500)]
Merge pull request #11383 from stiopaa1/mds_fsmap_passSharedPtrByConstRef
mds/FSMap: pass shared_ptr by const ref
Jason Dillaman [Mon, 10 Oct 2016 14:41:25 +0000 (10:41 -0400)]
Merge pull request #11290 from trociny/wip-17017
rbd-mirror HA: move librbd::image_watcher::Notifier to librbd::object_watcher
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 10 Oct 2016 14:40:33 +0000 (10:40 -0400)]
Merge pull request #11260 from runsisi/wip-fix-mirror-image-disable
librbd: fix rollback if failed to disable mirroring for image
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 10 Oct 2016 14:40:06 +0000 (09:40 -0500)]
Merge pull request #11301 from liewegas/wip-bluestore-buffered-write
os/bluestore: allow default to buffered write
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Jason Dillaman [Mon, 10 Oct 2016 14:17:09 +0000 (10:17 -0400)]
Merge pull request #11370 from ceph/wip-krbd-unmap-options
rbd: expose rbd unmap options
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 10 Oct 2016 14:12:16 +0000 (09:12 -0500)]
Merge pull request #11255 from dzafman/wip-scrub-boundary
osd: fix scrub boundary to not include a SnapSet
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 10 Oct 2016 13:48:43 +0000 (08:48 -0500)]
Merge pull request #11377 from xiexingguo/xxg-wip-bluestore-1008
os/bluestore: drop inline_dirty from struct ExtentMap
Reviewed-by: Sage Weil <sage@redhat.com>
xie xingguo [Mon, 10 Oct 2016 11:39:18 +0000 (19:39 +0800)]
os/bluestore: narrow scope of 'pos'
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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>
xie xingguo [Mon, 10 Oct 2016 10:52:23 +0000 (18:52 +0800)]
os/bluestore: get rid of multiple call to dirty_blob()
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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>
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>
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>
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>
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>
Michal Jarzabek [Sun, 9 Oct 2016 12:50:54 +0000 (13:50 +0100)]
mds/FSMap: pass shared_ptr by const ref
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
xie xingguo [Sun, 9 Oct 2016 12:04:33 +0000 (20:04 +0800)]
os/bluestore: fix raw blob encoded size
The maximum length of fixed fields of bluestore_blob_t shall be:
uint64_t sbid ///< 8 bytes
uint32_t compressed_length_orig ///< 4 bytes
uint32_t compressed_length ///< 4 bytes
uint32_t flags ///< 4 bytes
uint8_t csum_type ///< 1 byte
uint8_t csum_chunk_order ///< 1 byte
unused_t unused; ///< 2 bytes
8 + 4 + 4 + 4 + 1 + 1 + 2 = 24
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sun, 9 Oct 2016 09:33:27 +0000 (17:33 +0800)]
os/bluestore: add counter to trace number of garbage collection reads
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sun, 9 Oct 2016 07:40:50 +0000 (15:40 +0800)]
os/bluestore: kill dead lines to keep code clean
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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>
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>
xie xingguo [Sat, 8 Oct 2016 08:24:22 +0000 (16:24 +0800)]
os/bluestore: drop inline_dirty from struct ExtentMap
We don't need this member as we can simply clear inline_bl
to mark it as dirty.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xiexingguo [Fri, 7 Oct 2016 22:44:32 +0000 (06:44 +0800)]
rbd/cls_rbd: silence compiler warnings
Signed-off-by: xiexingguo <xie.xingguo@zte.com.cn>
Michal Jarzabek [Fri, 7 Oct 2016 22:15:27 +0000 (23:15 +0100)]
mds/CInode.h: remove unneeded use of count
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
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>
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>
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>
Sage Weil [Fri, 7 Oct 2016 20:07:53 +0000 (16:07 -0400)]
os/bluestore: allow default to buffered write
Add config option to buffered writes (in the absense of
a client WILLNEED hint). Set the config option to false,
though, so that the default behavior is unchanged.
2Q should do a half-decent job of preventing this from
pushing actually-hot data from the cache when it's
enabled, but we'll need to do more testing first.
Signed-off-by: Sage Weil <sage@redhat.com>
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>
Yehuda Sadeh [Mon, 29 Aug 2016 18:18:43 +0000 (11:18 -0700)]
rgw: index metadata in elasticsearch using realm name for path
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 26 Aug 2016 23:43:23 +0000 (16:43 -0700)]
rgw_admin: sync status command shows if not syncing from zone
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 26 Aug 2016 21:54:06 +0000 (14:54 -0700)]
rgw: setting sync-from zone by name not by id
Using the zone name is easier and clearer.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 26 Aug 2016 21:37:37 +0000 (14:37 -0700)]
rgw_admin: update usage
add refrence to --sync-from*
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 26 Aug 2016 21:08:47 +0000 (14:08 -0700)]
rgw_admin: config options to set sync_from and sync_from_all
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 26 Aug 2016 21:09:00 +0000 (14:09 -0700)]
rgw: support partial mesh for zone sync
zone configuration now includes two new fields: sync_from_all
which is boolean, and sync_from, which is a least of zones to
sync from. By default sync_from_all is set to true. Sync will
only happen from all the zones, or from the specified zones if
sync_from all is false. We also check to see whether zone can
export data (depending on tier_type).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 Aug 2016 17:57:20 +0000 (10:57 -0700)]
rgw: es module, remove entry on delete
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 24 Aug 2016 17:56:43 +0000 (10:56 -0700)]
rgw: add cr to send DELETE to remove endpoint
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 23 Aug 2016 17:22:42 +0000 (10:22 -0700)]
rgw: rest conn functions cleanup, only append zonegroup if not empty
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 19 Aug 2016 12:31:09 +0000 (05:31 -0700)]
rgw: es sync module, store custom metadata
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 19 Aug 2016 11:39:38 +0000 (04:39 -0700)]
rgw: es sync module, keep object mtime
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 19 Aug 2016 11:39:06 +0000 (04:39 -0700)]
rgw: utility function to dump iso8601
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 19 Aug 2016 10:29:29 +0000 (03:29 -0700)]
rgw: es sync module, store acl information
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 19 Aug 2016 09:19:29 +0000 (02:19 -0700)]
rgw: es sync module, store object attrs
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 19 Aug 2016 10:37:44 +0000 (03:37 -0700)]
rgw: es sync module, send object info to elasticsearch
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 19 Aug 2016 10:37:07 +0000 (03:37 -0700)]
cmake: fix linkage of ceph_test_librgw_file_nfsns
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 17 Aug 2016 09:45:32 +0000 (02:45 -0700)]
rgw: initial implementation of elasticsearch sync module
sync module that will handle rgw metadata indexing.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 17 Aug 2016 09:00:04 +0000 (02:00 -0700)]
rgw: a new cr to send http PUT requests
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 17 Aug 2016 08:59:50 +0000 (01:59 -0700)]
rgw: allow null store in RGWRESTConn
We're not necessarily going to connect to rgw/s3 endpoints,
we only need store param to handle s3 signing.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 17 Aug 2016 08:44:02 +0000 (01:44 -0700)]
rgw: REST client, don't sign requests if empty key
If key is not passed in, don't try to sign the request.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 16 Aug 2016 13:25:51 +0000 (06:25 -0700)]
rgw: move the rgw sync code module around
No real code change
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 16 Aug 2016 09:01:24 +0000 (02:01 -0700)]
rgw: some abstraction around log sync module
Moving code that fetches remote object meta to its own classes.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 4 Aug 2016 20:00:53 +0000 (13:00 -0700)]
rgw: log sync module gets source object's meta
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 4 Aug 2016 16:17:54 +0000 (09:17 -0700)]
rgw: propagate attrs, mtime, size of remote object
Use new rgwx-stat http param that allows getting only object's
meta. Use that when calling stat_remote_object().
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 4 Aug 2016 00:27:09 +0000 (17:27 -0700)]
rgw: add cr to stat remote obj
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 3 Aug 2016 23:01:00 +0000 (16:01 -0700)]
rgw: helper to stat remote obj
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 3 Aug 2016 20:34:04 +0000 (13:34 -0700)]
rgw: add a simple logging sync module
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 3 Aug 2016 19:53:09 +0000 (12:53 -0700)]
rgw: non-rgw tier is not writeable
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 3 Aug 2016 18:22:00 +0000 (11:22 -0700)]
rgw: define sync_module on RGWRados
Instead of having it as part of the data sync module. Since we only have a
single sync_module, having it there will make it easier to get its properties.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 3 Aug 2016 17:24:44 +0000 (10:24 -0700)]
rgw_admin: can set/modify zone tier's config
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 3 Aug 2016 00:06:38 +0000 (17:06 -0700)]
rgw: add tier config for zone params
Needed for sync module instance configuration
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 2 Aug 2016 22:42:21 +0000 (15:42 -0700)]
rgw: define zone tier type, sync from appropriate tiers only
Can only sync from tiers that can export data.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 11 Jul 2016 21:09:29 +0000 (14:09 -0700)]
rgw: define sync modules manager, instance
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Ilya Dryomov [Fri, 7 Oct 2016 10:32:43 +0000 (12:32 +0200)]
rbd: expose rbd unmap options
Reuse rbd map -o infrastructure to expose rbd unmap options in
a similar fashion. Currently it's just one bool option, but we may
need more in the future.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Fri, 7 Oct 2016 09:14:16 +0000 (11:14 +0200)]
rbd: fix up terminology in help texts
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Yehuda Sadeh [Fri, 8 Jul 2016 01:56:44 +0000 (18:56 -0700)]
rgw: use data sync module callbacks
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 5 Jul 2016 22:38:45 +0000 (15:38 -0700)]
rgw: initial data plugin definition and default implementation
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>