]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agorgw: fix update_bucket_id, reshard blocking logic
Yehuda Sadeh [Thu, 11 May 2017 17:39:26 +0000 (10:39 -0700)]
rgw: fix update_bucket_id, reshard blocking logic

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw_admin: add rgw-admin reshard status command and initial blocking logic
Yehuda Sadeh [Wed, 10 May 2017 23:58:41 +0000 (16:58 -0700)]
rgw_admin: add rgw-admin reshard status command and initial blocking logic

A command that returns the reshard status field on the bucket index objects (all
shards).
Also, initial implementation of identifying and blocking while reshard in
progress.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw: more detailed resharding status kept in bucket header
Yehuda Sadeh [Wed, 10 May 2017 18:46:57 +0000 (11:46 -0700)]
rgw: more detailed resharding status kept in bucket header

So that we can differentiate between in-progress and complete status.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw: a few fixes
Yehuda Sadeh [Wed, 10 May 2017 16:39:55 +0000 (09:39 -0700)]
rgw: a few fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw: mark source bucket shards when starting reshard
Yehuda Sadeh [Tue, 9 May 2017 22:38:57 +0000 (15:38 -0700)]
rgw: mark source bucket shards when starting reshard

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw: move resharding code to BucketReshard class
Yehuda Sadeh [Tue, 9 May 2017 22:19:10 +0000 (15:19 -0700)]
rgw: move resharding code to BucketReshard class

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw: split per-bucket resharding logic out from general resharding
Yehuda Sadeh [Tue, 9 May 2017 20:41:30 +0000 (13:41 -0700)]
rgw: split per-bucket resharding logic out from general resharding

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw: revert some reshard blocking logic
Yehuda Sadeh [Mon, 8 May 2017 22:42:11 +0000 (15:42 -0700)]
rgw: revert some reshard blocking logic

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agocls/rgw: create an objclass method to guard in-progress resharding
Yehuda Sadeh [Mon, 8 May 2017 21:43:37 +0000 (14:43 -0700)]
cls/rgw: create an objclass method to guard in-progress resharding

This method will be called on the bucket index shard.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw: RGWReshard update to new cls API
Orit Wasserman [Mon, 8 May 2017 13:41:35 +0000 (16:41 +0300)]
rgw: RGWReshard update to new cls API

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agocls/rgw: adjust types and ops
Yehuda Sadeh [Thu, 4 May 2017 22:11:09 +0000 (15:11 -0700)]
cls/rgw: adjust types and ops

 - don't keep data bufferlist in struct cls_rgw_bucket_instance_entry
 - remove rgw_get_bucket_instance

We need to keep the reshard info as part of the bucket index header (for
each source bucket shard), and not in a separate object. Otherwise it'll
be impossible to have the resharding check atomic as part of the regular
bucket index updates.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agocls/rgw: minor changes
Yehuda Sadeh [Thu, 4 May 2017 20:50:26 +0000 (13:50 -0700)]
cls/rgw: minor changes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agocls/rgw: generate_reshard_key, change output param
Yehuda Sadeh [Thu, 4 May 2017 20:39:54 +0000 (13:39 -0700)]
cls/rgw: generate_reshard_key, change output param

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agocls/rgw: return default header if not initialized
Yehuda Sadeh [Thu, 4 May 2017 20:36:38 +0000 (13:36 -0700)]
cls/rgw: return default header if not initialized

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agorgw: cls_reshard_get remove unneeded check for bufferlist length
Orit Wasserman [Mon, 8 May 2017 05:06:48 +0000 (08:06 +0300)]
rgw: cls_reshard_get remove unneeded check for bufferlist length

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: get_bucket_header will return -ENOENT when there is no header
Orit Wasserman [Wed, 3 May 2017 08:48:49 +0000 (11:48 +0300)]
rgw: get_bucket_header will return -ENOENT when there is no header

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add guard class for bucket index lock
Orit Wasserman [Mon, 1 May 2017 06:24:19 +0000 (09:24 +0300)]
rgw: add guard class for bucket index lock

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add reshard_pool_ctx
Orit Wasserman [Mon, 1 May 2017 06:23:34 +0000 (09:23 +0300)]
rgw: add reshard_pool_ctx

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: check for exisiting entries in cls_rgw_reshard_add
Orit Wasserman [Sun, 30 Apr 2017 07:16:18 +0000 (10:16 +0300)]
rgw: check for exisiting entries in cls_rgw_reshard_add

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: use pointer for is_truncated
Orit Wasserman [Sun, 30 Apr 2017 05:31:30 +0000 (08:31 +0300)]
rgw: use pointer for is_truncated

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: cls_rgw_reshard use helper function the generate key
Orit Wasserman [Fri, 28 Apr 2017 13:59:52 +0000 (16:59 +0300)]
rgw: cls_rgw_reshard use helper function the generate key

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: limit op.max and add extra entry to handle tuncation in cls_rgw_reshard_list
Orit Wasserman [Fri, 28 Apr 2017 10:13:07 +0000 (13:13 +0300)]
rgw: limit op.max and add extra entry to handle tuncation in cls_rgw_reshard_list

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: use .rgw.log:reshard pool for resharding
Orit Wasserman [Fri, 28 Apr 2017 10:03:11 +0000 (13:03 +0300)]
rgw: use .rgw.log:reshard pool for resharding

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: remove RGWReshard::get_head
Orit Wasserman [Thu, 27 Apr 2017 20:53:37 +0000 (23:53 +0300)]
rgw: remove RGWReshard::get_head

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: replace dout with ldout
Orit Wasserman [Thu, 27 Apr 2017 20:40:08 +0000 (23:40 +0300)]
rgw: replace dout with ldout

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: remove cls_reshard_get_head
Orit Wasserman [Thu, 27 Apr 2017 20:24:32 +0000 (23:24 +0300)]
rgw: remove cls_reshard_get_head

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: store resharding information in bucket header
Orit Wasserman [Thu, 27 Apr 2017 20:13:52 +0000 (23:13 +0300)]
rgw: store resharding information in bucket header

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: handle correctly when there is no bucket or it doesn't have resharding flag
Orit Wasserman [Thu, 20 Apr 2017 14:50:09 +0000 (17:50 +0300)]
rgw: handle correctly when there is no bucket or it doesn't have resharding flag

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: block on bucket index operation when resharding the index
Orit Wasserman [Tue, 18 Apr 2017 15:50:32 +0000 (18:50 +0300)]
rgw: block on bucket index operation when resharding the index

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add RGWReshard object to RGWRados
Orit Wasserman [Tue, 18 Apr 2017 09:37:23 +0000 (12:37 +0300)]
rgw: add RGWReshard object to RGWRados

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: Add lock/unlock bucket instance and block_while_resharding methods
Orit Wasserman [Tue, 18 Apr 2017 09:30:07 +0000 (12:30 +0300)]
rgw: Add lock/unlock bucket instance and block_while_resharding methods

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add cls_rgw_get_resharding
Orit Wasserman [Fri, 14 Apr 2017 11:35:54 +0000 (14:35 +0300)]
rgw: add cls_rgw_get_resharding

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoradosgw-admin: implement reshard execute command
Orit Wasserman [Thu, 13 Apr 2017 09:47:33 +0000 (12:47 +0300)]
radosgw-admin: implement reshard execute command

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoradsogw-admin add create_new_bucket_instance
Orit Wasserman [Thu, 13 Apr 2017 08:36:34 +0000 (11:36 +0300)]
radsogw-admin add create_new_bucket_instance

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: use const string for oid in get_bucket_instance_from_oid
Orit Wasserman [Fri, 14 Apr 2017 10:00:39 +0000 (13:00 +0300)]
rgw: use const string for oid in get_bucket_instance_from_oid

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add RGWReshard::clear_bucket_resharding
Orit Wasserman [Mon, 10 Apr 2017 09:14:07 +0000 (12:14 +0300)]
rgw: add RGWReshard::clear_bucket_resharding

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add RGWReshard::set_bucket_resharding
Orit Wasserman [Sun, 9 Apr 2017 18:29:17 +0000 (21:29 +0300)]
rgw: add RGWReshard::set_bucket_resharding

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add missing handles for set_resharding, clear_resharding
Orit Wasserman [Thu, 13 Apr 2017 15:44:33 +0000 (18:44 +0300)]
rgw: add missing handles for set_resharding, clear_resharding

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add cls _bucket_resharding_set and cls_bucket_resharding_clear
Orit Wasserman [Thu, 6 Apr 2017 18:58:37 +0000 (21:58 +0300)]
rgw: add cls _bucket_resharding_set and cls_bucket_resharding_clear

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: Add resharding flag and the new bucket instance id to RGWBucketInfo
Orit Wasserman [Thu, 6 Apr 2017 19:48:28 +0000 (22:48 +0300)]
rgw: Add resharding flag and the new bucket instance id to RGWBucketInfo

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoradosgw-admin: Add reshard add, list, execute and cancel commands
Orit Wasserman [Tue, 21 Mar 2017 13:57:58 +0000 (15:57 +0200)]
radosgw-admin: Add reshard add, list, execute and cancel commands

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoradosgw-admin: move resharding into a separate function
Orit Wasserman [Thu, 20 Oct 2016 14:30:54 +0000 (16:30 +0200)]
radosgw-admin: move resharding into a separate function

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add RGWReshard class
Orit Wasserman [Wed, 8 Mar 2017 15:56:39 +0000 (17:56 +0200)]
rgw: add RGWReshard class

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add reshard_pool
Orit Wasserman [Sun, 12 Mar 2017 12:49:20 +0000 (14:49 +0200)]
rgw: add reshard_pool

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agorgw: add cls_rgw_reshard ops
Orit Wasserman [Tue, 28 Feb 2017 14:09:51 +0000 (16:09 +0200)]
rgw: add cls_rgw_reshard ops

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #15119 from ceph/wip-rgw-config-docs
Casey Bodley [Fri, 2 Jun 2017 18:09:33 +0000 (14:09 -0400)]
Merge pull request #15119 from ceph/wip-rgw-config-docs

doc: mention certain conf vars should be in global

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14351 from yehudasa/wip-rgw-mdsearch
Yehuda Sadeh [Fri, 2 Jun 2017 16:16:07 +0000 (09:16 -0700)]
Merge pull request #14351 from yehudasa/wip-rgw-mdsearch

rgw: metadata search part 2

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #15427 from tchaikov/wip-vstart-osd-id
Sage Weil [Fri, 2 Jun 2017 15:34:45 +0000 (10:34 -0500)]
Merge pull request #15427 from tchaikov/wip-vstart-osd-id

vstart: print "start osd.$id" instead of "start osd$id"

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15217 from badone/wip-async-sleep-timer-fix
Sage Weil [Fri, 2 Jun 2017 15:32:15 +0000 (10:32 -0500)]
Merge pull request #15217 from badone/wip-async-sleep-timer-fix

osd: Move scrub sleep timer to osdservice

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15396 from jcsp/wip-ceph-status
Sage Weil [Fri, 2 Jun 2017 15:30:55 +0000 (10:30 -0500)]
Merge pull request #15396 from jcsp/wip-ceph-status

mon: revise "ceph status" output

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15011 from xiexingguo/wip-crush-tool
Sage Weil [Fri, 2 Jun 2017 15:20:44 +0000 (10:20 -0500)]
Merge pull request #15011 from xiexingguo/wip-crush-tool

tools/crushtool: replicated-rule API support

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15176 from SUSE/wip-mgr-fix-help
Sage Weil [Fri, 2 Jun 2017 15:20:27 +0000 (10:20 -0500)]
Merge pull request #15176 from SUSE/wip-mgr-fix-help

mgr,osd:  ceph-mgr --help, unify usage text of other daemons

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15395 from liewegas/wip-log-entity
Sage Weil [Fri, 2 Jun 2017 15:19:58 +0000 (10:19 -0500)]
Merge pull request #15395 from liewegas/wip-log-entity

common/LogEntry: include EntityName in log entries

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15398 from liewegas/wip-bluestore-leak
Sage Weil [Fri, 2 Jun 2017 15:19:26 +0000 (10:19 -0500)]
Merge pull request #15398 from liewegas/wip-bluestore-leak

os/bluestore: fix buffers pinned by indefinitely deferred writes

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #15402 from liewegas/wip-bluestore-mempools
Sage Weil [Fri, 2 Jun 2017 15:19:03 +0000 (10:19 -0500)]
Merge pull request #15402 from liewegas/wip-bluestore-mempools

os/bluestore: improve mempool usage

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #15403 from liewegas/wip-mempool-dump
Sage Weil [Fri, 2 Jun 2017 15:18:38 +0000 (10:18 -0500)]
Merge pull request #15403 from liewegas/wip-mempool-dump

mempool: improve dump; fix buffer accounting bugs

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15431 from rzarzynski/wip-rgw-vim-modeline-for-orhpantool
Casey Bodley [Fri, 2 Jun 2017 14:05:17 +0000 (10:05 -0400)]
Merge pull request #15431 from rzarzynski/wip-rgw-vim-modeline-for-orhpantool

rgw: add the Vim's modeline into rgw_orphan.cc.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15425 from yaozongyou/fix-build-error
Kefu Chai [Fri, 2 Jun 2017 13:56:03 +0000 (21:56 +0800)]
Merge pull request #15425 from yaozongyou/fix-build-error

cmake: link against fcgi only if enabled

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agorgw: add the Vim's modeline into rgw_orphan.cc. 15431/head
Radoslaw Zarzynski [Fri, 2 Jun 2017 12:03:44 +0000 (14:03 +0200)]
rgw: add the Vim's modeline into rgw_orphan.cc.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agovstart: print "start osd.$id" instead of "start osd$id" 15427/head
Kefu Chai [Fri, 2 Jun 2017 07:10:38 +0000 (15:10 +0800)]
vstart: print "start osd.$id" instead of "start osd$id"

"osd.9" is more consistent with other places where an osd is referenced.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15408 from yonghengdexin735/wip-zzz-add_const
Jos Collin [Fri, 2 Jun 2017 05:41:58 +0000 (11:11 +0530)]
Merge pull request #15408 from yonghengdexin735/wip-zzz-add_const

include/lru.h: add const to member functions

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoFix cmake build error. 15425/head
Yao Zongyou [Fri, 2 Jun 2017 04:11:59 +0000 (12:11 +0800)]
Fix cmake build error.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
8 years agoMerge pull request #15420 from yuriw/wip_remove_default_idle_timeout
Sage Weil [Fri, 2 Jun 2017 03:08:31 +0000 (22:08 -0500)]
Merge pull request #15420 from yuriw/wip_remove_default_idle_timeout

qa: Removed all 'default_idle_timeout' due to chnage in rwg task

8 years agoMerge pull request #15397 from dzafman/wip-20089
Sage Weil [Fri, 2 Jun 2017 02:40:29 +0000 (21:40 -0500)]
Merge pull request #15397 from dzafman/wip-20089

osd: Object level shard errors are tracked and used if no auth available

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa/workunits/cephtool/test.sh: adjust watch test 15395/head
Sage Weil [Fri, 2 Jun 2017 02:22:24 +0000 (22:22 -0400)]
qa/workunits/cephtool/test.sh: adjust watch test

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15417 from smithfarm/wip-cond-epoch-2
Sage Weil [Fri, 2 Jun 2017 02:14:13 +0000 (21:14 -0500)]
Merge pull request #15417 from smithfarm/wip-cond-epoch-2

build/ops: rpm: move _epoch_prefix below Epoch definition

8 years agoinclude/lru: add const to member function 15408/head
yonghengdexin735 [Thu, 1 Jun 2017 08:20:55 +0000 (16:20 +0800)]
include/lru: add const to member function

Signed-off-by: yonghengdexin735 <zhang.zezhu@zte.com.cn>
8 years agoRemoved all 'default_idle_timeout' due to chnage in rwg task 15420/head
Yuri Weinstein [Thu, 1 Jun 2017 21:01:30 +0000 (14:01 -0700)]
Removed all 'default_idle_timeout' due to chnage in rwg task
https://github.com/ceph/ceph/commit/8c74c8a639cd3dead52e1942b36f6eb3f1ceab2c#diff-995b04809fcabacc3e3ecfaea903a41aL539

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
8 years agoqa/tasks/rgw_multisite.py: adjust zone init 14351/head
Yehuda Sadeh [Thu, 1 Jun 2017 18:28:22 +0000 (11:28 -0700)]
qa/tasks/rgw_multisite.py: adjust zone init

zone is now a ZoneConn object. Also, change import to make it relative
so that qa task can locate it.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agobuild/ops: rpm: move _epoch_prefix below Epoch definition 15417/head
Nathan Cutler [Thu, 1 Jun 2017 19:37:09 +0000 (21:37 +0200)]
build/ops: rpm: move _epoch_prefix below Epoch definition

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #15400 from yehudasa/wip-20128
Sage Weil [Thu, 1 Jun 2017 19:22:39 +0000 (14:22 -0500)]
Merge pull request #15400 from yehudasa/wip-20128

qa/rgw_snaps: move default_idle_timeout config under the client

8 years agoosd: Object level shard errors are tracked and used if no auth available 15397/head
David Zafman [Wed, 31 May 2017 22:39:19 +0000 (15:39 -0700)]
osd: Object level shard errors are tracked and used if no auth available

Shards with object mismatch are tracked to mark them inconsistent
Fix test because storing omap_digest in object_info not behaving as before

Fixes: http://tracker.ceph.com/issues/20089
Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoosd-scrub-repair: Fix broken test and correctly handle ec overwrite testing
David Zafman [Thu, 1 Jun 2017 03:53:28 +0000 (20:53 -0700)]
osd-scrub-repair: Fix broken test and correctly handle ec overwrite testing

Caused by: 3ca750d41dfe33c6efea4abc96d2bd426a9742b9

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #15212 from neha-ojha/wip-fix-recovery-sleep-configurable
Sage Weil [Thu, 1 Jun 2017 16:54:58 +0000 (11:54 -0500)]
Merge pull request #15212 from neha-ojha/wip-fix-recovery-sleep-configurable

osd: Implement asynchronous recovery sleep

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15262 from Adirl/revert_cm
Sage Weil [Thu, 1 Jun 2017 16:54:33 +0000 (11:54 -0500)]
Merge pull request #15262 from Adirl/revert_cm

msg/async: Revert RDMA-CM

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #15307 from ovh/bp-64bit-mem-is-zero
Sage Weil [Thu, 1 Jun 2017 16:54:19 +0000 (11:54 -0500)]
Merge pull request #15307 from ovh/bp-64bit-mem-is-zero

inline_memory: optimized mem_is_zero for non-x64

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15340 from wjwithagen/wip-wjw-libcommon
Sage Weil [Thu, 1 Jun 2017 16:53:54 +0000 (11:53 -0500)]
Merge pull request #15340 from wjwithagen/wip-wjw-libcommon

cmake: do not link libcommon against some libs

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15342 from chardan/jfw-wip-add_VLA_warning
Sage Weil [Thu, 1 Jun 2017 16:53:32 +0000 (11:53 -0500)]
Merge pull request #15342 from chardan/jfw-wip-add_VLA_warning

build: Adds C++ warning flag for C Variable-Length Arrays.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15364 from joscollin/wip-cleanup-putto-operator-const
Sage Weil [Thu, 1 Jun 2017 16:52:57 +0000 (11:52 -0500)]
Merge pull request #15364 from joscollin/wip-cleanup-putto-operator-const

src: put-to operator function - const input cleanup

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15372 from ganeshmaharaj/reuse-isal
Sage Weil [Thu, 1 Jun 2017 16:52:40 +0000 (11:52 -0500)]
Merge pull request #15372 from ganeshmaharaj/reuse-isal

erasure-code: Remove duplicate of isa-l files

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoos/bluestore: release aios and pinned buffers on io complete 15398/head
Sage Weil [Wed, 31 May 2017 22:44:02 +0000 (18:44 -0400)]
os/bluestore: release aios and pinned buffers on io complete

Once we're done with our IO, clear the aio list so that the pinned buffers
are unpinned.  This ensures we release memory quickly, even if the
TransContext sticks around for a while (e.g., in the osr q).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: submit deferred if txc cleanup is blocked
Sage Weil [Wed, 31 May 2017 22:38:36 +0000 (18:38 -0400)]
os/bluestore: submit deferred if txc cleanup is blocked

If we have a single deferred write, and then a uniform workload with *no*
deferred writes, we will never actually submit it.  Meanwhile, the txc is
stuck on the osr q and nothing ever gets retired.

Simple fix is to submit any deferred ops if the osr queue is blocked by
a queued deferred write and the osr queue length is above some
threshold.  This prevents memory from being pinned indefinitely.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15209 from liewegas/wip-sortbitwise-notes 15644/head
Sage Weil [Thu, 1 Jun 2017 16:26:06 +0000 (11:26 -0500)]
Merge pull request #15209 from liewegas/wip-sortbitwise-notes

doc/release-notes: update which jewel version does sortbitwise warning

8 years agoMerge pull request #15274 from liewegas/wip-auto-ccache
Sage Weil [Thu, 1 Jun 2017 16:25:36 +0000 (11:25 -0500)]
Merge pull request #15274 from liewegas/wip-auto-ccache

do_cmake.sh: enable ccache if installed

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodo_cmake.sh: enable ccache if installed 15274/head
Sage Weil [Thu, 1 Jun 2017 16:25:11 +0000 (12:25 -0400)]
do_cmake.sh: enable ccache if installed

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15391 from liewegas/wip-authors
Sage Weil [Thu, 1 Jun 2017 15:15:30 +0000 (10:15 -0500)]
Merge pull request #15391 from liewegas/wip-authors

AUTHORS: update with release manager, backport team

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #15410 from dachary/wip-19941-ceph-disk
Loic Dachary [Thu, 1 Jun 2017 14:31:38 +0000 (16:31 +0200)]
Merge pull request #15410 from dachary/wip-19941-ceph-disk

ceph-disk: do not setup_statedir on trigger

Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15412 from dachary/wip-choose-args
Kefu Chai [Thu, 1 Jun 2017 12:57:25 +0000 (20:57 +0800)]
Merge pull request #15412 from dachary/wip-choose-args

crush: add missing tunable in tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agocrush: add missing tunable in tests 15412/head
Loic Dachary [Thu, 1 Jun 2017 11:50:51 +0000 (13:50 +0200)]
crush: add missing tunable in tests

Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #15286 from smithfarm/wip-cond-epoch
Kefu Chai [Thu, 1 Jun 2017 11:41:41 +0000 (19:41 +0800)]
Merge pull request #15286 from smithfarm/wip-cond-epoch

build/ops: rpm: apply epoch only if %epoch macro is defined

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15240 from ukernel/wip-20055
John Spray [Thu, 1 Jun 2017 10:33:51 +0000 (11:33 +0100)]
Merge pull request #15240 from ukernel/wip-20055

osdc/Journaler: avoid executing on_safe contexts prematurely

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15282 from david-z/wip-fix-mantle
John Spray [Thu, 1 Jun 2017 10:28:46 +0000 (11:28 +0100)]
Merge pull request #15282 from david-z/wip-fix-mantle

mds: Pass empty string to clear mantle balancer

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15314 from renhwztetecs/renhw-wip-client-cleanup
John Spray [Thu, 1 Jun 2017 10:25:44 +0000 (11:25 +0100)]
Merge pull request #15314 from renhwztetecs/renhw-wip-client-cleanup

client: fix display ino in the ldout

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #15300 from ukernel/wip-20083
John Spray [Thu, 1 Jun 2017 10:24:09 +0000 (11:24 +0100)]
Merge pull request #15300 from ukernel/wip-20083

mds: properly create aux subtrees for pinned directory

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #15278 from viCEnTECheNg/wip-data-pools-type
John Spray [Thu, 1 Jun 2017 10:23:33 +0000 (11:23 +0100)]
Merge pull request #15278 from viCEnTECheNg/wip-data-pools-type

mds: change the type of data_pools

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15205 from batrick/i20039
John Spray [Thu, 1 Jun 2017 10:23:02 +0000 (11:23 +0100)]
Merge pull request #15205 from batrick/i20039

mds: check export pin during replay

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoceph-disk: do not setup_statedir on trigger 15410/head
Loic Dachary [Thu, 1 Jun 2017 09:37:20 +0000 (11:37 +0200)]
ceph-disk: do not setup_statedir on trigger

trigger may run when statedir is unavailable and does not use it.

Fixes: http://tracker.ceph.com/issues/19941
Signed-off-by: Loic Dachary <loic@dachary.org>
8 years agoMerge pull request #15406 from tchaikov/wip-setuptools-vendors-six-or-not
Kefu Chai [Thu, 1 Jun 2017 07:17:15 +0000 (15:17 +0800)]
Merge pull request #15406 from tchaikov/wip-setuptools-vendors-six-or-not

install-deps.sh: workaround setuptools' dependency on six

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoinstall-deps.sh: workaround setuptools' dependency on six 15406/head
Kefu Chai [Thu, 1 Jun 2017 06:05:07 +0000 (14:05 +0800)]
install-deps.sh: workaround setuptools' dependency on six

see also https://github.com/pypa/setuptools/issues/1042

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: mempools for writing and writing_deferred 15402/head
Sage Weil [Thu, 1 Jun 2017 02:50:04 +0000 (22:50 -0400)]
os/bluestore: mempools for writing and writing_deferred

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