]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoos/bluestore: make 2q cache kin/kout size tunable 11599/head
haodong [Fri, 21 Oct 2016 06:05:56 +0000 (14:05 +0800)]
os/bluestore: make 2q cache kin/kout size tunable

default kin/hot queue size is 50% of max buffer size.
50% is a better choice for the number of page slot in kout.
we make it tunable.

Signed-off-by: Haodong Tang <haodong.tang@intel.com>
8 years agoMerge pull request #11575 from ceph/wip-17260
Kefu Chai [Fri, 21 Oct 2016 03:54:53 +0000 (11:54 +0800)]
Merge pull request #11575 from ceph/wip-17260

cmake: link tests against static librados

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #10490 from Yan-waller/yj-wip-msgtest-0729
xiexingguo [Fri, 21 Oct 2016 03:01:32 +0000 (11:01 +0800)]
Merge pull request #10490 from Yan-waller/yj-wip-msgtest-0729

msg/test: fix the guided compile-command to ceph_test_msgr

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11436 from chhabaramesh/master
Sage Weil [Fri, 21 Oct 2016 01:26:16 +0000 (20:26 -0500)]
Merge pull request #11436 from chhabaramesh/master

kv/MemDB: making memdb code adapt to generic maps

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11455 from stiopaa1/mds_mutation_simplifyConstructors
John Spray [Thu, 20 Oct 2016 21:55:17 +0000 (23:55 +0200)]
Merge pull request #11455 from stiopaa1/mds_mutation_simplifyConstructors

mds/Mutation.h: simplify constructors

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11509 from stiopaa1/mds_fsmapuser_makeAssignCopyDefault
John Spray [Thu, 20 Oct 2016 21:43:58 +0000 (23:43 +0200)]
Merge pull request #11509 from stiopaa1/mds_fsmapuser_makeAssignCopyDefault

mds/FSMapUser.h: remove copy ctr and assign op

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #10359 from songbaisen/b11
Yuri Weinstein [Thu, 20 Oct 2016 21:34:34 +0000 (14:34 -0700)]
Merge pull request #10359 from songbaisen/b11

mon:  paxos add the timeout function when peon recovery

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
8 years agoMerge pull request #11165 from xiexingguo/xxg-wip-throttle-0921
Yuri Weinstein [Thu, 20 Oct 2016 21:33:08 +0000 (14:33 -0700)]
Merge pull request #11165 from xiexingguo/xxg-wip-throttle-0921

common/throttle: simplify Throttle::_wait()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11583 from stiopaa1/mds_snapserver_addOverride
John Spray [Thu, 20 Oct 2016 21:21:28 +0000 (23:21 +0200)]
Merge pull request #11583 from stiopaa1/mds_snapserver_addOverride

mds/SnapServer.h: add override to virtual functs

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11523 from stiopaa1/mds_migrator_removeUnneededCount
John Spray [Thu, 20 Oct 2016 21:14:58 +0000 (23:14 +0200)]
Merge pull request #11523 from stiopaa1/mds_migrator_removeUnneededCount

mds/Migrator.cc: remove unneeded use of count

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11543 from batrick/cdir-unique-ptr
John Spray [Thu, 20 Oct 2016 21:14:26 +0000 (23:14 +0200)]
Merge pull request #11543 from batrick/cdir-unique-ptr

mds: use unique_ptr to simplify resource mgmt

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11581 from yehudasa/wip-17635
Casey Bodley [Thu, 20 Oct 2016 21:14:06 +0000 (17:14 -0400)]
Merge pull request #11581 from yehudasa/wip-17635

rgw: handle empty POST condition

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11565 from stiopaa1/mds_sessionmap_removeUnneededFunction
John Spray [Thu, 20 Oct 2016 21:04:17 +0000 (23:04 +0200)]
Merge pull request #11565 from stiopaa1/mds_sessionmap_removeUnneededFunction

mds/SessionMap.h: remove unneeded function

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agorgw: handle empty POST condition 11581/head
Yehuda Sadeh [Thu, 20 Oct 2016 17:17:36 +0000 (10:17 -0700)]
rgw: handle empty POST condition

Fixes: http://tracker.ceph.com/issues/17635
Before accessing json entity, need to check that iterator is valid.
If there is no entry return appropriate error code.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agomds/SnapServer.h: add override to virtual functs 11583/head
Michal Jarzabek [Thu, 20 Oct 2016 19:03:30 +0000 (20:03 +0100)]
mds/SnapServer.h: add override to virtual functs

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #11580 from cbodley/wip-rgw-deadlock-dump-crs
Yehuda Sadeh [Thu, 20 Oct 2016 18:36:51 +0000 (11:36 -0700)]
Merge pull request #11580 from cbodley/wip-rgw-deadlock-dump-crs

rgw: dump remaining coroutines when cr deadlock is detected

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #11526 from ukernel/wip-17591
Gregory Farnum [Thu, 20 Oct 2016 16:39:00 +0000 (09:39 -0700)]
Merge pull request #11526 from ukernel/wip-17591

client: get caller's uid/gid on every libcephfs operation

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agorgw: dump remaining coroutines when cr deadlock is detected 11580/head
Casey Bodley [Wed, 19 Oct 2016 17:01:39 +0000 (13:01 -0400)]
rgw: dump remaining coroutines when cr deadlock is detected

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11553 from Aran85/wip-datasync-status
Casey Bodley [Thu, 20 Oct 2016 15:13:07 +0000 (11:13 -0400)]
Merge pull request #11553 from Aran85/wip-datasync-status

rgw multisite: fix the increamtal bucket sync init

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11577 from jcsp/wip-17636
Kefu Chai [Thu, 20 Oct 2016 14:50:20 +0000 (22:50 +0800)]
Merge pull request #11577 from jcsp/wip-17636

denc: don't pass null instances into encoder fns

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoinclude/fs_types: fix crash in inodeno_t encode 11577/head
John Spray [Thu, 20 Oct 2016 14:14:07 +0000 (15:14 +0100)]
include/fs_types: fix crash in inodeno_t encode

Passing by value tries to copy from a null and segfaults.

Fixes: http://tracker.ceph.com/issues/17636
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11055 from gcharot/ceph-lazy
Loic Dachary [Thu, 20 Oct 2016 14:21:34 +0000 (16:21 +0200)]
Merge pull request #11055 from gcharot/ceph-lazy

Adding ceph-lazy tool

Reviewed-by: Sébastien Han <han.sebastien@gmail.com>
8 years agoMerge pull request #8316 from dx9/wip-ceph-detect-init
Loic Dachary [Thu, 20 Oct 2016 11:02:44 +0000 (13:02 +0200)]
Merge pull request #8316 from dx9/wip-ceph-detect-init

ceph_detect_init: add support for Alpine

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #11520 from dillaman/wip-17590
Venky Shankar [Thu, 20 Oct 2016 09:26:50 +0000 (14:56 +0530)]
Merge pull request #11520 from dillaman/wip-17590

journal: do not prematurely flag object recorder as closed

8 years agoMerge pull request #11480 from dillaman/wip-17566
Kefu Chai [Thu, 20 Oct 2016 09:13:15 +0000 (17:13 +0800)]
Merge pull request #11480 from dillaman/wip-17566

test: TestJournalReplay test cases need to wait for event commit

Reviewed-by: Venky Shankar <vshankar@redhat.com>
8 years agotest/encoding: do not include unused headers 11575/head
Kefu Chai [Thu, 20 Oct 2016 08:51:16 +0000 (16:51 +0800)]
test/encoding: do not include unused headers

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: link against rados_a instead of its objs
Kefu Chai [Thu, 20 Oct 2016 08:43:42 +0000 (16:43 +0800)]
cmake: link against rados_a instead of its objs

prior to this change, librbd tests link against librados_api_obj and
librados_objs, but since librados_a offers all the goodies, we can
just link against it instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: librados depends on osdc implicitly
Kefu Chai [Thu, 20 Oct 2016 07:58:13 +0000 (15:58 +0800)]
cmake: librados depends on osdc implicitly

so no need to put add_dependencies() explicitly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: do not link against global if not necessary
Kefu Chai [Thu, 20 Oct 2016 07:51:43 +0000 (15:51 +0800)]
cmake: do not link against global if not necessary

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: link tests against static librados
Kefu Chai [Thu, 20 Oct 2016 07:46:09 +0000 (15:46 +0800)]
cmake: link tests against static librados

Fixes: http://tracker.ceph.com/issues/17260
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: always create static lib librados_a
Kefu Chai [Thu, 20 Oct 2016 07:21:19 +0000 (15:21 +0800)]
cmake: always create static lib librados_a

so tests referencing internal symbols can use librados_a instead of
librados to avoid violating ODR (one definition rule).

Fixes: http://tracker.ceph.com/issues/17260
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11175 from asheplyakov/wip-rbd-default-features 11572/head
Jason Dillaman [Thu, 20 Oct 2016 01:25:41 +0000 (21:25 -0400)]
Merge pull request #11175 from asheplyakov/wip-rbd-default-features

librbd: parse rbd_default_features config option as a string

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agorgw multisite: fix the increamtal bucket sync init 11553/head
Zengran Zhang [Wed, 19 Oct 2016 09:05:27 +0000 (17:05 +0800)]
rgw multisite: fix the increamtal bucket sync init

in the `RGWBucketShardFullSyncCR::operate`, inc_marker will assigned with remote bilog's max_marker.
but the sync_status's inc_marker cant be assigned.so the next step inc sync will always sync
from null log,which means at beginning log.

Fixes: http://tracker.ceph.com/issues/17624
Signed-off-by: Zengran Zhang <zhangzengran@h3c.com>
8 years agoMerge pull request #11567 from ceph/wip-master-rgw-0lenfix2
Yehuda Sadeh [Wed, 19 Oct 2016 23:31:35 +0000 (16:31 -0700)]
Merge pull request #11567 from ceph/wip-master-rgw-0lenfix2

Don't loop forever when reading data from 0 sized segment.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoDon't loop forever when reading data from 0 sized segment. 11567/head
Marcus Watts [Fri, 14 Oct 2016 01:12:36 +0000 (21:12 -0400)]
Don't loop forever when reading data from 0 sized segment.

The 0 sized segment can arise depending on how
the client uploads the object in the first place.
The cpu loop then happens during a swift `GET'.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
8 years agoMerge pull request #11541 from stiopaa1/mds_sessionmap_addConst
John Spray [Wed, 19 Oct 2016 19:15:18 +0000 (21:15 +0200)]
Merge pull request #11541 from stiopaa1/mds_sessionmap_addConst

mds/SessionMap: add const to member functions

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agounittest_bluestore_types: add random put_ref test case
Sage Weil [Wed, 19 Oct 2016 18:13:20 +0000 (14:13 -0400)]
unittest_bluestore_types: add random put_ref test case

This appeared to fail under load, but works fine here.
:/

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agounittest_bluestore_types: fix gc tests
Sage Weil [Wed, 19 Oct 2016 18:12:42 +0000 (14:12 -0400)]
unittest_bluestore_types: fix gc tests

In ef8989ce7417034aa715de4fe83d1f0363c044f4 we disabled
gc for non-compressed blobs.  So mark these test ones as
compressed.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11438 from trociny/wip-17488
Jason Dillaman [Wed, 19 Oct 2016 15:41:26 +0000 (11:41 -0400)]
Merge pull request #11438 from trociny/wip-17488

rbd-nbd: support disabling auto-exclusive lock transition logic

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agomds: use unique_ptr to simplify resource mgmt 11543/head
Patrick Donnelly [Wed, 19 Oct 2016 00:33:27 +0000 (20:33 -0400)]
mds: use unique_ptr to simplify resource mgmt

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #11546 from umullan/uday
Sage Weil [Wed, 19 Oct 2016 13:58:34 +0000 (08:58 -0500)]
Merge pull request #11546 from umullan/uday

doc: Fix broken link for caps

8 years agoMerge pull request #11558 from ifed01/wip-rmcoll-more-fixes
Sage Weil [Wed, 19 Oct 2016 13:54:06 +0000 (08:54 -0500)]
Merge pull request #11558 from ifed01/wip-rmcoll-more-fixes

os/memstore, os/filestore: fix store_test's to satisfy rm_coll behavi…

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/memstore, os/filestore: fix store_test's to satisfy rm_coll behavior expected... 11558/head
Igor Fedotov [Wed, 19 Oct 2016 13:41:40 +0000 (13:41 +0000)]
os/memstore, os/filestore: fix store_test's to satisfy rm_coll behavior expected in store_test

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #11207 from yehudasa/wip-17372
Orit Wasserman [Wed, 19 Oct 2016 13:36:09 +0000 (15:36 +0200)]
Merge pull request #11207 from yehudasa/wip-17372

rgw: get_zonegroup() uses "default" zonegroup if empty
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #10919 from pritha-srivastava/wip-17076
Orit Wasserman [Wed, 19 Oct 2016 13:33:17 +0000 (15:33 +0200)]
Merge pull request #10919 from pritha-srivastava/wip-17076

rgw: Replacing '+' with "%20" in canonical uri for s3 v4 auth.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #11316 from stiopaa1/mds_sessionMapUnnamedNamespace
John Spray [Wed, 19 Oct 2016 13:28:51 +0000 (15:28 +0200)]
Merge pull request #11316 from stiopaa1/mds_sessionMapUnnamedNamespace

mds/SessionMap.cc:put classes in unnamed namespace

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #11450 from stiopaa1/mds_damagetable_moveClassesToCCfile
John Spray [Wed, 19 Oct 2016 13:27:58 +0000 (15:27 +0200)]
Merge pull request #11450 from stiopaa1/mds_damagetable_moveClassesToCCfile

mds/DamageTable: move classes to .cc file

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11511 from stiopaa1/mds_mdsmap_addConstToMemFunctions
John Spray [Wed, 19 Oct 2016 13:27:07 +0000 (15:27 +0200)]
Merge pull request #11511 from stiopaa1/mds_mdsmap_addConstToMemFunctions

mds/MDSMap.h: add const to member functions

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11550 from renhwztetecs/renhw-wip-mgr-doc
John Spray [Wed, 19 Oct 2016 13:21:45 +0000 (15:21 +0200)]
Merge pull request #11550 from renhwztetecs/renhw-wip-mgr-doc

doc/mgr: fix mgr how long to wait to failover

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11304 from ajarr/wip-volume-client-recovery-fixes
John Spray [Wed, 19 Oct 2016 13:18:34 +0000 (15:18 +0200)]
Merge pull request #11304 from ajarr/wip-volume-client-recovery-fixes

ceph_volume_client: fix recovery from partial auth update

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11386 from xiexingguo/xxg-wip-mgr-1008
John Spray [Wed, 19 Oct 2016 13:16:22 +0000 (15:16 +0200)]
Merge pull request #11386 from xiexingguo/xxg-wip-mgr-1008

mgr: misc minor changes

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11507 from ceph/wip-17579
Alfredo Deza [Wed, 19 Oct 2016 12:23:10 +0000 (08:23 -0400)]
Merge pull request #11507 from ceph/wip-17579

build/ops: deb: add python dependencies where needed

Reviewed-by: Alfredo Deza <adeza@redhat.com>
8 years agobuild/ops: deb: add python dependencies where needed 11507/head
Nathan Cutler [Sat, 15 Oct 2016 08:54:52 +0000 (10:54 +0200)]
build/ops: deb: add python dependencies where needed

this reverts 48f4576 and f140a8c

Fixes: http://tracker.ceph.com/issues/17579
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agobuild/ops: deb: put depends on separate lines
Nathan Cutler [Sat, 15 Oct 2016 08:53:37 +0000 (10:53 +0200)]
build/ops: deb: put depends on separate lines

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #11557 from xiexingguo/xxg-wip-bluestore-1019
Igor Fedotov [Wed, 19 Oct 2016 11:40:24 +0000 (14:40 +0300)]
Merge pull request #11557 from xiexingguo/xxg-wip-bluestore-1019

os/bluestore: kill overlay related options

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #11516 from david-z/wip-add-force-ro-ceph-string
John Spray [Wed, 19 Oct 2016 11:35:20 +0000 (13:35 +0200)]
Merge pull request #11516 from david-z/wip-add-force-ro-ceph-string

common/ceph_string: add ceph string constants for CEPH_SESSION_FORCE_RO

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11552 from tchaikov/wip-fix-enc
Kefu Chai [Wed, 19 Oct 2016 10:33:09 +0000 (18:33 +0800)]
Merge pull request #11552 from tchaikov/wip-fix-enc

include/object: pass "snapid_t&" to bound_encode()

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #11434 from batrick/mds-cmd-deprecated
John Spray [Wed, 19 Oct 2016 10:23:34 +0000 (12:23 +0200)]
Merge pull request #11434 from batrick/mds-cmd-deprecated

Flag deprecated mds commands and omit deprecated mon commands in help output

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11486 from batrick/client-gid
John Spray [Wed, 19 Oct 2016 10:20:44 +0000 (12:20 +0200)]
Merge pull request #11486 from batrick/client-gid

client: get gid from MonClient

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11373 from ukernel/wip-mds-recall-warning
John Spray [Wed, 19 Oct 2016 10:19:48 +0000 (12:19 +0200)]
Merge pull request #11373 from ukernel/wip-mds-recall-warning

mds: fix false "failing to respond to cache pressure" warning

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #11551 from wjwithagen/wip-wjw-freebsd-lltng
Kefu Chai [Wed, 19 Oct 2016 09:23:15 +0000 (17:23 +0800)]
Merge pull request #11551 from wjwithagen/wip-wjw-freebsd-lltng

do_freebsd.sh: Do not use LTTNG on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoinclude/object: pass "snapid_t&" to bound_encode() 11552/head
Kefu Chai [Wed, 19 Oct 2016 09:01:23 +0000 (17:01 +0800)]
include/object: pass "snapid_t&" to bound_encode()

otherwise the STL container's encoders will segfault when trying to
figure out the element size: they use "denc(*(A*)nullptr, elem_size)"
to do the calculation.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agodoc/mgr: fix mgr how long to wait to failover 11550/head
huanwen ren [Wed, 19 Oct 2016 09:01:28 +0000 (17:01 +0800)]
doc/mgr: fix mgr how long to wait to failover

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
8 years agodo_freebsd.sh: Do not use LLTNG on FreeBSD 11551/head
Willem Jan Withagen [Wed, 19 Oct 2016 08:58:22 +0000 (10:58 +0200)]
do_freebsd.sh: Do not use LLTNG on FreeBSD

  FreeBSD has Dtrace

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 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>
8 years agoos/bluestore: kill overlay related options 11557/head
xie xingguo [Wed, 19 Oct 2016 06:29:16 +0000 (14:29 +0800)]
os/bluestore: kill overlay related options

These two options are not used anymore.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agodoc: Fix broken link for caps 11546/head
Uday Mullangi [Wed, 19 Oct 2016 06:08:50 +0000 (11:38 +0530)]
doc: Fix broken link for caps
http://tracker.ceph.com/issues/17587
Signed-off-by: Uday udaymjl@gmail.com
8 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>
8 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>
8 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>
8 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

8 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>
8 years agomds/SessionMap.h: remove unneeded function 11565/head
Michal Jarzabek [Tue, 18 Oct 2016 20:59:03 +0000 (21:59 +0100)]
mds/SessionMap.h: remove unneeded function

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agomds/SessionMap: add const to member functions 11541/head
Michal Jarzabek [Tue, 18 Oct 2016 20:55:14 +0000 (21:55 +0100)]
mds/SessionMap: add const to member functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>