]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agorgw: handle errors via exceptions in RGWStreamIOEngine.
Radoslaw Zarzynski [Fri, 5 Aug 2016 12:48:06 +0000 (14:48 +0200)]
rgw: handle errors via exceptions in RGWStreamIOEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: cleanup in the LoadGen frontend.
Radoslaw Zarzynski [Thu, 4 Aug 2016 15:48:11 +0000 (17:48 +0200)]
rgw: cleanup in the LoadGen frontend.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: port the LoadGen frontend to the new RGWStreamIOEngine infrastructure.
Radoslaw Zarzynski [Thu, 4 Aug 2016 14:32:16 +0000 (16:32 +0200)]
rgw: port the LoadGen frontend to the new RGWStreamIOEngine infrastructure.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: ONLY improve formatting in the FCGI frontend.
Radoslaw Zarzynski [Thu, 4 Aug 2016 14:29:51 +0000 (16:29 +0200)]
rgw: ONLY improve formatting in the FCGI frontend.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: port the FCGI frontend to the new RGWStreamIOEngine infrastructure.
Radoslaw Zarzynski [Thu, 4 Aug 2016 13:38:44 +0000 (15:38 +0200)]
rgw: port the FCGI frontend to the new RGWStreamIOEngine infrastructure.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: port the ASIO frontend to the new RGWStreamIOEngine infrastructure.
Radoslaw Zarzynski [Wed, 3 Aug 2016 16:42:30 +0000 (18:42 +0200)]
rgw: port the ASIO frontend to the new RGWStreamIOEngine infrastructure.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: cleaning in the glue code for CivetWeb.
Radoslaw Zarzynski [Wed, 17 Aug 2016 11:18:02 +0000 (13:18 +0200)]
rgw: cleaning in the glue code for CivetWeb.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: switch out RGWCivetWeb to the new frontend infrastructure.
Radoslaw Zarzynski [Mon, 1 Aug 2016 16:07:09 +0000 (18:07 +0200)]
rgw: switch out RGWCivetWeb to the new frontend infrastructure.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: implement RGWStreamIOChunkingEngine.
Radoslaw Zarzynski [Wed, 3 Aug 2016 13:27:56 +0000 (15:27 +0200)]
rgw: implement RGWStreamIOChunkingEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: implement RGWStreamIOReorderingEngine.
Radoslaw Zarzynski [Tue, 2 Aug 2016 13:30:57 +0000 (15:30 +0200)]
rgw: implement RGWStreamIOReorderingEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: implement RGWStreamIOConLenControllingEngine.
Radoslaw Zarzynski [Mon, 1 Aug 2016 15:43:01 +0000 (17:43 +0200)]
rgw: implement RGWStreamIOConLenControllingEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: ONLY rename RGWMongooseFrontend to RGWCivetWebFrontend.
Radoslaw Zarzynski [Mon, 1 Aug 2016 12:00:34 +0000 (14:00 +0200)]
rgw: ONLY rename RGWMongooseFrontend to RGWCivetWebFrontend.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: ONLY rename RGWMongoose to RGWCivetWeb and marks overrides.
Radoslaw Zarzynski [Mon, 1 Aug 2016 10:58:13 +0000 (12:58 +0200)]
rgw: ONLY rename RGWMongoose to RGWCivetWeb and marks overrides.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: eradicate dynamic memory allocations from RGWEnv.
Radoslaw Zarzynski [Mon, 1 Aug 2016 10:12:30 +0000 (12:12 +0200)]
rgw: eradicate dynamic memory allocations from RGWEnv.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: implement RGWStreamIOBufferingEngine.
Radoslaw Zarzynski [Fri, 29 Jul 2016 13:42:51 +0000 (15:42 +0200)]
rgw: implement RGWStreamIOBufferingEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: RGWClientIO::get_env() is pure virtual now.
Radoslaw Zarzynski [Fri, 29 Jul 2016 10:31:45 +0000 (12:31 +0200)]
rgw: RGWClientIO::get_env() is pure virtual now.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: implement RGWStreamIOAccountingEngine.
Radoslaw Zarzynski [Thu, 28 Jul 2016 16:17:38 +0000 (18:17 +0200)]
rgw: implement RGWStreamIOAccountingEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: RGWMongoose uses RGWStreamIOEngine instead of RGWStreamIO.
Radoslaw Zarzynski [Thu, 28 Jul 2016 16:16:12 +0000 (18:16 +0200)]
rgw: RGWMongoose uses RGWStreamIOEngine instead of RGWStreamIO.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: implement RGWStreamIOLegacyWrapper for using new front-ends with RGWStreamIO.
Radoslaw Zarzynski [Thu, 28 Jul 2016 16:15:07 +0000 (18:15 +0200)]
rgw: implement RGWStreamIOLegacyWrapper for using new front-ends with RGWStreamIO.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: dissect non-core ops from RGWStreamIOEngine to RGWStreamIOFacade.
Radoslaw Zarzynski [Thu, 28 Jul 2016 16:04:09 +0000 (18:04 +0200)]
rgw: dissect non-core ops from RGWStreamIOEngine to RGWStreamIOFacade.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: dissect accounting interface from RGWClientIO.
Radoslaw Zarzynski [Thu, 28 Jul 2016 13:48:53 +0000 (15:48 +0200)]
rgw: dissect accounting interface from RGWClientIO.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: add basic infrastructure for decorators over RGWStreamIOBase.
Radoslaw Zarzynski [Tue, 26 Jul 2016 15:47:09 +0000 (17:47 +0200)]
rgw: add basic infrastructure for decorators over RGWStreamIOBase.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: rename RGWStreamIOBase to RGWStreamIOEngine.
Radoslaw Zarzynski [Thu, 28 Jul 2016 10:59:10 +0000 (12:59 +0200)]
rgw: rename RGWStreamIOBase to RGWStreamIOEngine.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: further cleaning in RGWStreamIOBase.
Radoslaw Zarzynski [Thu, 28 Jul 2016 10:25:22 +0000 (12:25 +0200)]
rgw: further cleaning in RGWStreamIOBase.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: strip out AWSv4 signature calculation from RGWStreamIOBase.
Radoslaw Zarzynski [Tue, 26 Jul 2016 13:05:14 +0000 (15:05 +0200)]
rgw: strip out AWSv4 signature calculation from RGWStreamIOBase.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: improve const-correctness in the front-end infrastructure.
Radoslaw Zarzynski [Tue, 26 Jul 2016 10:17:58 +0000 (12:17 +0200)]
rgw: improve const-correctness in the front-end infrastructure.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: move transfer accounting management from RGWClientIO to RGWStreamIO.
Radoslaw Zarzynski [Tue, 26 Jul 2016 09:31:11 +0000 (11:31 +0200)]
rgw: move transfer accounting management from RGWClientIO to RGWStreamIO.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: introduce RGWStreamIOBase to separate all non-IO related things.
Radoslaw Zarzynski [Tue, 26 Jul 2016 09:23:35 +0000 (11:23 +0200)]
rgw: introduce RGWStreamIOBase to separate all non-IO related things.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: mark asio frontend as experimental
Matt Benjamin [Wed, 13 Jul 2016 21:36:39 +0000 (17:36 -0400)]
rgw: mark asio frontend as experimental

Users will need to set "rgw-asio-frontend" as an experimental
feature.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agorgw: s3 PutObj sends status first
Casey Bodley [Sun, 19 Jun 2016 18:58:00 +0000 (14:58 -0400)]
rgw: s3 PutObj sends status first

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: s3 GetObj sends status first
Casey Bodley [Sun, 19 Jun 2016 18:57:33 +0000 (14:57 -0400)]
rgw: s3 GetObj sends status first

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: asio frontend uses async_read
Casey Bodley [Mon, 20 Jun 2016 03:29:20 +0000 (23:29 -0400)]
rgw: asio frontend uses async_read

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: implement ClientIO interface for asio + beast
Casey Bodley [Sun, 19 Jun 2016 11:04:09 +0000 (07:04 -0400)]
rgw: implement ClientIO interface for asio + beast

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: asio frontend calls process_request
Casey Bodley [Sun, 19 Jun 2016 11:01:39 +0000 (07:01 -0400)]
rgw: asio frontend calls process_request

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: RGWEnv::set takes boost::string_ref
Casey Bodley [Sun, 19 Jun 2016 10:52:44 +0000 (06:52 -0400)]
rgw: RGWEnv::set takes boost::string_ref

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: implement Frontend interface for asio
Casey Bodley [Sat, 18 Jun 2016 14:15:18 +0000 (10:15 -0400)]
rgw: implement Frontend interface for asio

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agovstart: add --rgw_frontend option
Casey Bodley [Sat, 18 Jun 2016 13:28:57 +0000 (09:28 -0400)]
vstart: add --rgw_frontend option

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: add skeleton for boost::asio frontend
Casey Bodley [Sat, 18 Jun 2016 02:58:05 +0000 (22:58 -0400)]
rgw: add skeleton for boost::asio frontend

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: add submodule for Beast header-only library
Casey Bodley [Sat, 18 Jun 2016 02:32:48 +0000 (22:32 -0400)]
rgw: add submodule for Beast header-only library

Beast is a c++ http protocol library build on top of boost::asio

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agoMerge pull request #11534 from ceph/wip-17607-ceph-disk
Kefu Chai [Wed, 19 Oct 2016 07:29:58 +0000 (15:29 +0800)]
Merge pull request #11534 from ceph/wip-17607-ceph-disk

tests: ceph-disk: force debug monc = 0

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11512 from wjwithagen/wip-wjw-freebsd-depends
Kefu Chai [Wed, 19 Oct 2016 03:32:59 +0000 (11:32 +0800)]
Merge pull request #11512 from wjwithagen/wip-wjw-freebsd-depends

FreeBSD: update require packages

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11204 from liewegas/wip-rados-ack
Sage Weil [Wed, 19 Oct 2016 02:40:44 +0000 (21:40 -0500)]
Merge pull request #11204 from liewegas/wip-rados-ack

librados: do not request osd ack if no completed completion is set

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #11213 from liewegas/wip-osd-fastinfo
Sage Weil [Wed, 19 Oct 2016 02:39:58 +0000 (21:39 -0500)]
Merge pull request #11213 from liewegas/wip-osd-fastinfo

osd: add a pg _fastinfo attribute to reduce per-io metadata updates

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #11354 from liewegas/wip-rocksdb
Sage Weil [Wed, 19 Oct 2016 02:38:53 +0000 (21:38 -0500)]
Merge pull request #11354 from liewegas/wip-rocksdb

rocksdb: update to latest, and make it the default for the mons

9 years agoMerge pull request #11500 from liewegas/wip-lttng
Sage Weil [Wed, 19 Oct 2016 02:38:40 +0000 (21:38 -0500)]
Merge pull request #11500 from liewegas/wip-lttng

CMakeLists.txt: enable LTTNG by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #11540 from liewegas/wip-bluestore-cow
Sage Weil [Tue, 18 Oct 2016 20:53:37 +0000 (15:53 -0500)]
Merge pull request #11540 from liewegas/wip-bluestore-cow

os/bluestore: default bluestore_clone_cow=true

9 years agoMerge pull request #11539 from liewegas/wip-bluestore-gc
Sage Weil [Tue, 18 Oct 2016 20:53:25 +0000 (15:53 -0500)]
Merge pull request #11539 from liewegas/wip-bluestore-gc

os/bluestore: no garbage collection for uncompressed blobs

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: default bluestore_clone_cow=true 11540/head
Sage Weil [Tue, 18 Oct 2016 20:52:49 +0000 (16:52 -0400)]
os/bluestore: default bluestore_clone_cow=true

This has been stable for a long time.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoRevert "ceph_test_objecstore: use 1TB block device" 11539/head
Sage Weil [Tue, 18 Oct 2016 20:50:28 +0000 (16:50 -0400)]
Revert "ceph_test_objecstore: use 1TB block device"

This reverts commit 5389133ff9a7783d77796ed73893e26f34c6e5d2.

This is too slow with the bitmap allocator.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: No garbage collection for uncompressed blobs
Roushan Ali [Tue, 18 Oct 2016 19:43:19 +0000 (12:43 -0700)]
os/bluestore: No garbage collection for uncompressed blobs

Signed-off-by: Roushan Ali<roushan.ali@sandisk.com>
9 years agoMerge pull request #11536 from liewegas/wip-fullbit-dump
Sage Weil [Tue, 18 Oct 2016 18:43:17 +0000 (13:43 -0500)]
Merge pull request #11536 from liewegas/wip-fullbit-dump

mds: fix EMetaBlob::fullbit xattr dump

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #11533 from ifed01/wip-kstore-rmcoll-fix
Sage Weil [Tue, 18 Oct 2016 18:22:11 +0000 (13:22 -0500)]
Merge pull request #11533 from ifed01/wip-kstore-rmcoll-fix

os/kstore: rmcoll fix to satisfy store_test

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agomds: fix EMetaBlob::fullbit xattr dump 11536/head
Sage Weil [Tue, 18 Oct 2016 18:02:47 +0000 (14:02 -0400)]
mds: fix EMetaBlob::fullbit xattr dump

- show xattr names!
- bound the values

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotests: ceph-disk: force debug monc = 0 11534/head
Loic Dachary [Tue, 18 Oct 2016 15:33:23 +0000 (17:33 +0200)]
tests: ceph-disk: force debug monc = 0

The sh function will collect both stderr and stdout and debug
will mess the json parsing.

Fixes: http://tracker.ceph.com/issues/17607
Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #11525 from wjwithagen/wip-wjw-freebsd-getopt
Sage Weil [Tue, 18 Oct 2016 14:45:24 +0000 (09:45 -0500)]
Merge pull request #11525 from wjwithagen/wip-wjw-freebsd-getopt

tools/ceph-monstore-update-crush.sh: FreeBSD getopt is not compatible…

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #11524 from wjin/filestore_perfcounter
Sage Weil [Tue, 18 Oct 2016 14:41:54 +0000 (09:41 -0500)]
Merge pull request #11524 from wjin/filestore_perfcounter

os/filestore: clean filestore perfcounters

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #11518 from umullan/uday
Sage Weil [Tue, 18 Oct 2016 14:31:54 +0000 (09:31 -0500)]
Merge pull request #11518 from umullan/uday

doc: fix broken links

9 years agoMerge pull request #11522 from wjwithagen/wip-wjw-freebsd-readable.sh
Sage Weil [Tue, 18 Oct 2016 14:30:06 +0000 (09:30 -0500)]
Merge pull request #11522 from wjwithagen/wip-wjw-freebsd-readable.sh

FreeBSD:test/encoding/readable.sh": fix nproc and ls -v calls

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #11528 from jcsp/wip-vstart-1osd
Sage Weil [Tue, 18 Oct 2016 14:28:26 +0000 (09:28 -0500)]
Merge pull request #11528 from jcsp/wip-vstart-1osd

vstart: decrease pool size if <3 OSDs

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoosd/PG: add perfcounters for pg info updates 11213/head
Sage Weil [Tue, 18 Oct 2016 14:16:13 +0000 (10:16 -0400)]
osd/PG: add perfcounters for pg info updates

Note info updates (of any kind), fastinfo updates,
and biginfo updates.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: proper set resulting pnext to avoid returning local var 11533/head
Igor Fedotov [Tue, 18 Oct 2016 13:50:17 +0000 (13:50 +0000)]
os/bluestore: proper set resulting pnext to avoid returning local var

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoos/kstore: fix KStore rm_coll handler to behave similar to bluestore one
Igor Fedotov [Tue, 18 Oct 2016 13:42:12 +0000 (13:42 +0000)]
os/kstore: fix KStore rm_coll handler to behave similar to bluestore one

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoceph-objectstore-tool: relax cur_struct_v checks
Sage Weil [Mon, 17 Oct 2016 18:27:16 +0000 (14:27 -0400)]
ceph-objectstore-tool: relax cur_struct_v checks

All compat pg formats can handle past interval removal
and mark-complete.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: make fastinfo apply conditionally
Sage Weil [Thu, 6 Oct 2016 16:44:03 +0000 (12:44 -0400)]
osd: make fastinfo apply conditionally

This way we don't have to bother deleting the fastinfo
attr, which will reduce the amount of work the
underlying store has to do.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: add _fastinfo PG attr for common pg_info_t updates
Sage Weil [Mon, 26 Sep 2016 15:39:41 +0000 (11:39 -0400)]
osd: add _fastinfo PG attr for common pg_info_t updates

For most IO operations we only update a handful of fields
in the pg_info_t structure.  However, the full struct,
when encoded, is on the order of 800 bytes.

This adds a new attribute, _fastinfo, which contains only
the most commonly updated fields.  When present, the
fastinfo fields should be overlayed on top of the full
info struct contained in the existing info attr.  If
a field outside of the "fast" set is updated, we clear
the fastinfo attribute and update the full info attr.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd/PG: pass last_writen_info to _prepare_write_info
Sage Weil [Fri, 23 Sep 2016 15:32:11 +0000 (11:32 -0400)]
osd/PG: pass last_writen_info to _prepare_write_info

We'll use this shortly.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd/osd_types: operator== for pg hit sets, history, info
Sage Weil [Fri, 23 Sep 2016 15:26:36 +0000 (11:26 -0400)]
osd/osd_types: operator== for pg hit sets, history, info

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd/PG: drop unused args to _prepare_write_info
Sage Weil [Fri, 23 Sep 2016 15:08:45 +0000 (11:08 -0400)]
osd/PG: drop unused args to _prepare_write_info

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd/PG: pg_stat_t ondisk_log_size == log_size
Sage Weil [Fri, 23 Sep 2016 15:08:10 +0000 (11:08 -0400)]
osd/PG: pg_stat_t ondisk_log_size == log_size

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10325 from snakeAngel2015/rgw-support-s3subuser
Orit Wasserman [Tue, 18 Oct 2016 13:15:13 +0000 (15:15 +0200)]
Merge pull request #10325 from snakeAngel2015/rgw-support-s3subuser

rgw: add suport for creating S3 type subuser of admin rest api
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoos/kstore: uniform Collection implementation with BlueStore one
Igor Fedotov [Tue, 18 Oct 2016 13:04:43 +0000 (13:04 +0000)]
os/kstore: uniform Collection implementation with BlueStore one

Signed-off-by:Igor Fedotov <ifedotov@mirantis.com>

9 years agoMerge pull request #11481 from ddiss/cmake_rgw_deps
Kefu Chai [Tue, 18 Oct 2016 12:40:59 +0000 (20:40 +0800)]
Merge pull request #11481 from ddiss/cmake_rgw_deps

cmake: check WITH_RADOSGW for fcgi and expat dependencies

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agovstart: decrease pool size if <3 OSDs 11528/head
John Spray [Tue, 11 Oct 2016 17:11:42 +0000 (18:11 +0100)]
vstart: decrease pool size if <3 OSDs

Makes it easy to do OSD=1 for e.g. doing cephfs
stuff where we don't care much about the OSDs
behaviour.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #10239 from weiqiaomiao/wqm-wip-setolh
Orit Wasserman [Tue, 18 Oct 2016 10:20:16 +0000 (12:20 +0200)]
Merge pull request #10239 from weiqiaomiao/wqm-wip-setolh

rgw: should assign 'olh_bl" to state.attrset[RGW_ATTR_OLH_ID_TAG] instead of 'bl'
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #11324 from yehudasa/wip-14589
Orit Wasserman [Tue, 18 Oct 2016 09:40:34 +0000 (11:40 +0200)]
Merge pull request #11324 from yehudasa/wip-14589

rgw: dump objects in RGWBucket::check_object_index()
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agotools/ceph-monstore-update-crush.sh: FreeBSD getopt is not compatible, use the one... 11525/head
Willem Jan Withagen [Tue, 18 Oct 2016 09:33:09 +0000 (11:33 +0200)]
tools/ceph-monstore-update-crush.sh: FreeBSD getopt is not compatible, use the one from packages

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
9 years agoMerge pull request #11432 from hansbogert/patch-3
Kefu Chai [Tue, 18 Oct 2016 09:19:15 +0000 (17:19 +0800)]
Merge pull request #11432 from hansbogert/patch-3

doc: Update install-ceph-gateway.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoFixes: #17587 11518/head
Uday Mullangi [Tue, 18 Oct 2016 06:17:57 +0000 (11:47 +0530)]
Fixes: #17587
doc: Fixing the broken link which was refactored for authentication as part of other PR
Signed-off-by: uday udaymjl@gmail.com
9 years agoos/filestore: clean filestore perfcounters 11524/head
Wei Jin [Tue, 18 Oct 2016 02:41:19 +0000 (10:41 +0800)]
os/filestore: clean filestore perfcounters

Move filestore perfcounters from objectstore to filestore itself
and change internal index name.

Signed-off-by: Wei Jin <wjin.cn@gmail.com>
9 years agoMerge pull request #11027 from liewegas/wip-denc
Sage Weil [Tue, 18 Oct 2016 02:21:20 +0000 (21:21 -0500)]
Merge pull request #11027 from liewegas/wip-denc

fast denc encoding

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
9 years agoMerge remote-tracking branch 'gh/kraken'
Sage Weil [Mon, 17 Oct 2016 17:35:45 +0000 (13:35 -0400)]
Merge remote-tracking branch 'gh/kraken'

9 years agocmake: find GIT_VER variables if there is no .git dir
Ali Maredia [Fri, 14 Oct 2016 18:02:17 +0000 (14:02 -0400)]
cmake: find GIT_VER variables if there is no .git dir

find CEPH_GIT_VER & CEPH_GIT_NICE_VER if there is no
ceph/.git dir by parsing ceph/src/.git_version.

scenario is for building from source tarballs generated
by make-dist, since make-dist generates .git_version
by running make_version, and then packs .git_version
into the tarball.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit c5c6b59f296f0ace3a6cfd939027118e82ab50a4)

9 years agoMerge pull request #11502 from liewegas/wip-bluestore-keybug
Sage Weil [Mon, 17 Oct 2016 15:47:10 +0000 (10:47 -0500)]
Merge pull request #11502 from liewegas/wip-bluestore-keybug

os/bluestore: fix escaping of chars > 0x80

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoos/kstore: fix escaping of chars > 0x80 in keys 11502/head
Sage Weil [Fri, 14 Oct 2016 19:35:58 +0000 (15:35 -0400)]
os/kstore: fix escaping of chars > 0x80 in keys

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix escaping of odd chars >0x80 in keys
Sage Weil [Fri, 14 Oct 2016 19:35:33 +0000 (15:35 -0400)]
os/bluestore: fix escaping of odd chars >0x80 in keys

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_objectstore: test unprintable chars
Sage Weil [Fri, 14 Oct 2016 19:35:06 +0000 (15:35 -0400)]
ceph_test_objectstore: test unprintable chars

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoFreeBSD:test/encoding/readable.sh": fix nproc and ls -v calls 11522/head
Willem Jan Withagen [Mon, 17 Oct 2016 14:42:15 +0000 (16:42 +0200)]
FreeBSD:test/encoding/readable.sh": fix nproc and ls -v calls

 Neither of these is available in FreeBSD.
 But sort -n is Posix, and does the same ATM.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
9 years agoMerge pull request #11521 from markhpc/wip-send_inline
Sage Weil [Mon, 17 Oct 2016 14:36:09 +0000 (09:36 -0500)]
Merge pull request #11521 from markhpc/wip-send_inline

msg/async: set ms_async_send_inline to false to improve small randread iops

9 years agoSet ms_async_send_inline to false to improve small randread iops. 11521/head
Mark Nelson [Mon, 17 Oct 2016 14:10:09 +0000 (09:10 -0500)]
Set ms_async_send_inline to false to improve small randread iops.

Signed-off-by: Mark Nelson <mnelson@redhat.com>
9 years agoMerge pull request #11262 from jcsp/wip-17270-master
John Spray [Mon, 17 Oct 2016 12:06:42 +0000 (14:06 +0200)]
Merge pull request #11262 from jcsp/wip-17270-master

Revert "osdc: After write try merge bh."

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years ago11.0.2 v11.0.2
Jenkins Build Slave User [Mon, 17 Oct 2016 11:16:50 +0000 (11:16 +0000)]
11.0.2

9 years agoMerge pull request #11211 from ceph/wip-no-recordlock-test
John Spray [Mon, 17 Oct 2016 11:04:41 +0000 (13:04 +0200)]
Merge pull request #11211 from ceph/wip-no-recordlock-test

test: temporarily remove fork()ing flock tests

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoFixes: #17587
Uday Mullangi [Mon, 17 Oct 2016 11:04:25 +0000 (16:34 +0530)]
Fixes: #17587
doc: Fixing the broken link which was refactored for authentication as part of other PR
Signed-off-by: uday udaymjl@gmail.com
9 years agoFixes: #17587
Uday Mullangi [Mon, 17 Oct 2016 09:43:43 +0000 (15:13 +0530)]
Fixes: #17587
doc: Fixing the broken link which was refactored for authentication as part of other PR
Signed-off-by: uday udaymjl@gmail.com
9 years agoMerge pull request #11440 from ceph/wip-jlayton-linkref
John Spray [Mon, 17 Oct 2016 10:37:47 +0000 (12:37 +0200)]
Merge pull request #11440 from ceph/wip-jlayton-linkref

client: don't take extra target inode reference in ll_link

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #11421 from ceph/wip-jlayton-cephfs
John Spray [Mon, 17 Oct 2016 10:36:22 +0000 (12:36 +0200)]
Merge pull request #11421 from ceph/wip-jlayton-cephfs

Small pile of random cephfs fixes and cleanup

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #11515 from badone/wip-find_best_info-typos
Brad Hubbard [Mon, 17 Oct 2016 04:48:13 +0000 (14:48 +1000)]
Merge pull request #11515 from badone/wip-find_best_info-typos

osd: Fix typos in PG::find_best_info

Reviewed-by: xiexingguo <xie.xingguo@zte.com.cn>
9 years agoosd: Fix typos in PG::find_best_info 11515/head
Brad Hubbard [Mon, 17 Oct 2016 03:11:53 +0000 (13:11 +1000)]
osd: Fix typos in PG::find_best_info

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
9 years agoMerge pull request #11513 from badone/clear_primary_state-typo
Sage Weil [Mon, 17 Oct 2016 02:27:15 +0000 (21:27 -0500)]
Merge pull request #11513 from badone/clear_primary_state-typo

osd: fix typo in PG::clear_primary_state

9 years agoMerge pull request #11514 from xiexingguo/xxg-wip-bluestore-1015
Sage Weil [Mon, 17 Oct 2016 02:27:00 +0000 (21:27 -0500)]
Merge pull request #11514 from xiexingguo/xxg-wip-bluestore-1015

os/bluestore: formatting nits

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