]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agomailmap: Luo Kexue name normalization 8522/head
Swami Reddy [Fri, 8 Apr 2016 09:27:38 +0000 (14:57 +0530)]
mailmap: Luo Kexue name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Ning Yao affiliation
Swami Reddy [Fri, 8 Apr 2016 09:21:18 +0000 (14:51 +0530)]
mailmap: Ning Yao affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Vitja Makarov affiliation
Swami Reddy [Fri, 8 Apr 2016 09:19:31 +0000 (14:49 +0530)]
mailmap: Vitja Makarov affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: sunspot affiliation
Swami Reddy [Fri, 8 Apr 2016 09:14:03 +0000 (14:44 +0530)]
mailmap: sunspot affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Qinghua Jin affiliation
Swami Reddy [Fri, 8 Apr 2016 09:10:01 +0000 (14:40 +0530)]
mailmap: Qinghua Jin affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Richard W.M. Jones affiliation
Swami Reddy [Fri, 8 Apr 2016 09:07:16 +0000 (14:37 +0530)]
mailmap: Richard W.M. Jones affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Ira Cooper affiliation
Swami Reddy [Fri, 8 Apr 2016 09:01:44 +0000 (14:31 +0530)]
mailmap: Ira Cooper affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Star Guo affiliation
Swami Reddy [Fri, 8 Apr 2016 08:57:57 +0000 (14:27 +0530)]
mailmap: Star Guo affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Xiaoxi Chen affiliation
Swami Reddy [Fri, 8 Apr 2016 08:55:49 +0000 (14:25 +0530)]
mailmap: Xiaoxi Chen affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Jenkins name normalization
Swami Reddy [Fri, 8 Apr 2016 08:53:06 +0000 (14:23 +0530)]
mailmap: Jenkins name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agoMerge pull request #8519 from dachary/wip-xenial
Loic Dachary [Sat, 9 Apr 2016 21:19:09 +0000 (23:19 +0200)]
Merge pull request #8519 from dachary/wip-xenial

tests: add Ubuntu 16.04 xenial dockerfile

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8517 from kjurka/rgw-admin-doc-region-list
Sage Weil [Sat, 9 Apr 2016 18:21:43 +0000 (14:21 -0400)]
Merge pull request #8517 from kjurka/rgw-admin-doc-region-list

doc: rgw admin uses "region list" not "regions list"

9 years agoMerge pull request #8518 from wjin/fix
Sage Weil [Sat, 9 Apr 2016 18:21:10 +0000 (14:21 -0400)]
Merge pull request #8518 from wjin/fix

crush: fix typo

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
9 years agoMerge pull request #8462 from xiexingguo/xxg-wip-scrub
Sage Weil [Sat, 9 Apr 2016 17:38:20 +0000 (13:38 -0400)]
Merge pull request #8462 from xiexingguo/xxg-wip-scrub

osd: fix two scrub relevant issues

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8485 from liewegas/wip-fuse-log
Sage Weil [Sat, 9 Apr 2016 17:35:15 +0000 (13:35 -0400)]
Merge pull request #8485 from liewegas/wip-fuse-log

ceph-fuse: rotate log file

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #8487 from liewegas/wip-copy-from-fail-cleanup
Sage Weil [Sat, 9 Apr 2016 17:34:39 +0000 (13:34 -0400)]
Merge pull request #8487 from liewegas/wip-copy-from-fail-cleanup

osd: clean up temp object if copy-from fails

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8486 from liewegas/wip-14695
Sage Weil [Sat, 9 Apr 2016 17:33:54 +0000 (13:33 -0400)]
Merge pull request #8486 from liewegas/wip-14695

librados: Revert "rados: Add new field flags for ceph_osd_op.copy_get."

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #7956 from xiexingguo/xxg-wip-fixfstat
Sage Weil [Sat, 9 Apr 2016 17:32:57 +0000 (13:32 -0400)]
Merge pull request #7956 from xiexingguo/xxg-wip-fixfstat

common: buffer: put a guard for stat() syscall during read_file

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8516 from runsisi/wip-fix-ret
Jason Dillaman [Sat, 9 Apr 2016 13:22:12 +0000 (09:22 -0400)]
Merge pull request #8516 from runsisi/wip-fix-ret

journal: fix final result for JournalTrimmer::C_RemoveSet

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: add Ubuntu 16.04 xenial dockerfile 8519/head
Loic Dachary [Sat, 9 Apr 2016 07:06:50 +0000 (09:06 +0200)]
tests: add Ubuntu 16.04 xenial dockerfile

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agocrush: fix typo 8518/head
Wei Jin [Sat, 9 Apr 2016 06:52:11 +0000 (14:52 +0800)]
crush: fix typo

Signed-off-by: Wei Jin <wjin.cn@gmail.com>
9 years agodoc: rgw admin uses "region list" not "regions list" 8517/head
Kris Jurka [Sat, 9 Apr 2016 04:47:28 +0000 (21:47 -0700)]
doc: rgw admin uses "region list" not "regions list"

9 years agojournal: fix final result for JournalTrimmer::C_RemoveSet 8516/head
runsisi [Sat, 9 Apr 2016 03:03:56 +0000 (11:03 +0800)]
journal: fix final result for JournalTrimmer::C_RemoveSet

if the first journal object got removed successfully while later objects
failed then the final result should be set to fail

Signed-off-by: runsisi <runsisi@zte.com.cn>
9 years agoMerge pull request #8453 from cbodley/wip-rgw-sync-master-down
Orit Wasserman [Fri, 8 Apr 2016 15:43:25 +0000 (17:43 +0200)]
Merge pull request #8453 from cbodley/wip-rgw-sync-master-down

rgw: retry RGWRemoteMetaLog::read_log_info() while master is down
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #8434 from theanalyst/rgw/typo-fix
Matt Benjamin [Fri, 8 Apr 2016 14:39:09 +0000 (10:39 -0400)]
Merge pull request #8434 from theanalyst/rgw/typo-fix

rgw: fix a typo in error message

9 years agoMerge pull request #8481 from weiqiaomiao/wq
Orit Wasserman [Fri, 8 Apr 2016 14:19:29 +0000 (16:19 +0200)]
Merge pull request #8481 from weiqiaomiao/wq

rgw: the map 'headers' is assigned a wrong value
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #8488 from oritwas/wip-15318
Matt Benjamin [Fri, 8 Apr 2016 13:57:44 +0000 (09:57 -0400)]
Merge pull request #8488 from oritwas/wip-15318

rgw: fix problem deleting objects begining with double underscores

9 years agorbd-mirror: fixed infinite loop when disabling image mirroringReviewed-by: Jason...
Jason Dillaman [Fri, 8 Apr 2016 12:36:55 +0000 (08:36 -0400)]
rbd-mirror: fixed infinite loop when disabling image mirroringReviewed-by: Jason Dillaman <dillaman@redhat.com>

librbd: fixed infinite loop when disabling image mirroring

9 years agorbd-mirror: fixed bug that caused infinite loop when disabling image mirroring 8504/head
Ricardo Dias [Fri, 8 Apr 2016 10:00:55 +0000 (11:00 +0100)]
rbd-mirror: fixed bug that caused infinite loop when disabling image mirroring

Signed-off-by: Ricardo Dias <rdias@suse.com>
9 years agoMerge pull request #8501 from dachary/wip-releases
Loic Dachary [Fri, 8 Apr 2016 09:41:08 +0000 (11:41 +0200)]
Merge pull request #8501 from dachary/wip-releases

releases: update the v10.1.0 release link

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
9 years agorelease-notes: v10.1.1 release notes 8501/head
Loic Dachary [Fri, 8 Apr 2016 09:19:13 +0000 (11:19 +0200)]
release-notes: v10.1.1 release notes

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agorelease-notes: v10.1.1 release notes (draft)
Loic Dachary [Fri, 8 Apr 2016 09:06:33 +0000 (11:06 +0200)]
release-notes: v10.1.1 release notes (draft)

cd src/script
virtualenv v
source v/bin/activate
pip install githubpy GitPython requests
GITHUB_ACCESS_TOKEN=xxxxxxx ./ceph-release-notes \
      -r tags/v10.1.0..tags/v10.1.1 $(git rev-parse --show-toplevel)

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoreleases: firefly was EOL december 2015
Loic Dachary [Fri, 8 Apr 2016 07:54:12 +0000 (09:54 +0200)]
releases: firefly was EOL december 2015

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoreleases: update the v10.1.0 release link
Loic Dachary [Fri, 8 Apr 2016 07:45:55 +0000 (09:45 +0200)]
releases: update the v10.1.0 release link

And add the v10.1.1 release notes as well.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #8500 from linuxbox2/ldap-include
Dan Mick [Fri, 8 Apr 2016 00:43:18 +0000 (17:43 -0700)]
Merge pull request #8500 from linuxbox2/ldap-include

rgw_ldap: make ldap.h inclusion conditional

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #8495 from athanatos/wip-14777
Sage Weil [Thu, 7 Apr 2016 23:40:56 +0000 (19:40 -0400)]
Merge pull request #8495 from athanatos/wip-14777

osd/ReplicatedPG::_rollback_to: update the OMAP flag

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agorgw_ldap: make ldap.h inclusion conditional 8500/head
Matt Benjamin [Thu, 7 Apr 2016 23:39:40 +0000 (19:39 -0400)]
rgw_ldap: make ldap.h inclusion conditional

The feature implementation is conditional, embarassingly, the
header inclusion is not.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agorgw: fix problem deleting objects begining with double underscore 8488/head
Orit Wasserman [Thu, 7 Apr 2016 22:43:19 +0000 (00:43 +0200)]
rgw: fix problem deleting objects begining with double underscore

Fixes: http://tracker.ceph.com/issues/15318
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #8493 from dillaman/wip-15354
Josh Durgin [Thu, 7 Apr 2016 21:49:22 +0000 (14:49 -0700)]
Merge pull request #8493 from dillaman/wip-15354

test: fix valgrind memcheck issues for rbd-mirror test cases

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8490 from dillaman/wip-15097
Josh Durgin [Thu, 7 Apr 2016 21:11:10 +0000 (14:11 -0700)]
Merge pull request #8490 from dillaman/wip-15097

rbd: journal reset should disable/re-enable journaling feature

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8477 from dillaman/wip-15364
Josh Durgin [Thu, 7 Apr 2016 21:07:51 +0000 (14:07 -0700)]
Merge pull request #8477 from dillaman/wip-15364

journal: fix race condition between Future and journal shutdown

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agotest: fix memory leaks in rbd-mirror test cases 8493/head
Jason Dillaman [Thu, 7 Apr 2016 20:40:45 +0000 (16:40 -0400)]
test: fix memory leaks in rbd-mirror test cases

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotest: avoid leaking librados connections when creating pools
Jason Dillaman [Thu, 7 Apr 2016 20:38:33 +0000 (16:38 -0400)]
test: avoid leaking librados connections when creating pools

Fixes: http://tracker.ceph.com/issues/15354
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd: journal reset should disable/re-enable journaling feature 8490/head
Jason Dillaman [Thu, 7 Apr 2016 19:39:06 +0000 (15:39 -0400)]
rbd: journal reset should disable/re-enable journaling feature

Fixes: http://tracker.ceph.com/issues/15097
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agomon: warn if 'sortbitwise' flag is not set and no legacy OSDs are presentReviewed...
Samuel Just [Thu, 7 Apr 2016 18:05:47 +0000 (11:05 -0700)]
mon: warn if 'sortbitwise' flag is not set and no legacy OSDs are presentReviewed-by: Samuel Just <sjust@redhat.com>

mon: warn if 'sortbitwise' flag is not set and no legacy OSDs are present

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8476 from dillaman/wip-rbd-mirror-lockdep
Josh Durgin [Thu, 7 Apr 2016 17:14:13 +0000 (10:14 -0700)]
Merge pull request #8476 from dillaman/wip-rbd-mirror-lockdep

rbd-mirror: workaround for intermingled lockdep singletons

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoosd/ReplicatedPG: clean up temp object if copy-from fails 8487/head
Sage Weil [Thu, 7 Apr 2016 15:41:55 +0000 (11:41 -0400)]
osd/ReplicatedPG: clean up temp object if copy-from fails

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_rados_api_misc: make CopyFrom omap test be a big object
Sage Weil [Thu, 7 Apr 2016 15:40:51 +0000 (11:40 -0400)]
ceph_test_rados_api_misc: make CopyFrom omap test be a big object

This makes it so we check single-shot path and the one where we have a
temp object to clean up.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8456 from dreamhost/wip-authtool-help
Sage Weil [Thu, 7 Apr 2016 15:44:30 +0000 (11:44 -0400)]
Merge pull request #8456 from dreamhost/wip-authtool-help

authtool: update --help and manpage to match code.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8446 from liewegas/wip-15366
Sage Weil [Thu, 7 Apr 2016 15:36:34 +0000 (11:36 -0400)]
Merge pull request #8446 from liewegas/wip-15366

osd: fix/clean up full map request handling

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoRevert "rados: Add new field flags for ceph_osd_op.copy_get." 8486/head
Sage Weil [Thu, 7 Apr 2016 15:13:03 +0000 (11:13 -0400)]
Revert "rados: Add new field flags for ceph_osd_op.copy_get."

This reverts commit 2b4acfb1b808b98132a771cf1089063c0f7a75b5.

We fixed this on the receiving end in
fc51ce2a837e8e878d46d8ca54531aa7bd5d01b2 a few weeks after this commit
was added.  It's ugly and no longer needed.

This *does* mean that we'll start to copy some data and then abort
partway through, but that's better than an kludgey protocol/interface.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8472 from jmunhoz/fix-aws4-subdomain-calling
Orit Wasserman [Thu, 7 Apr 2016 14:59:09 +0000 (16:59 +0200)]
Merge pull request #8472 from jmunhoz/fix-aws4-subdomain-calling

rgw: aws4 subdomain calling bugfix
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agorbd-mirror: workaround for intermingled lockdep singletons 8476/head
Jason Dillaman [Wed, 6 Apr 2016 20:08:15 +0000 (16:08 -0400)]
rbd-mirror: workaround for intermingled lockdep singletons

If librados constructs the CephContext, lockdep will be initialized
in both the librados shared address space and also within the app
address space.  This breaks lockdep's functionality and results in
a crash upon shutdown.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agologrotate.conf: poke ceph-fuse after log rotation 8485/head
Sage Weil [Thu, 7 Apr 2016 14:27:17 +0000 (10:27 -0400)]
logrotate.conf: poke ceph-fuse after log rotation

This still leaves other loggers with un-reopened log files,
unfortunately.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph-fuse: reopen log file on SIGHUP
Sage Weil [Thu, 7 Apr 2016 14:26:43 +0000 (10:26 -0400)]
ceph-fuse: reopen log file on SIGHUP

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8460 from linuxbox2/jewel-nfs-fixes-3
Matt Benjamin [Thu, 7 Apr 2016 14:26:11 +0000 (10:26 -0400)]
Merge pull request #8460 from linuxbox2/jewel-nfs-fixes-3

Jewel nfs fixes 3

9 years agolibrbd: restore out-of-band future callbacks to avoid lock cycles 8477/head
Jason Dillaman [Wed, 6 Apr 2016 21:30:11 +0000 (17:30 -0400)]
librbd: restore out-of-band future callbacks to avoid lock cycles

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorgw: aws4 subdomain calling bugfix 8472/head
Javier M. Mellid [Wed, 6 Apr 2016 13:23:17 +0000 (15:23 +0200)]
rgw: aws4 subdomain calling bugfix

Fixes: http://tracker.ceph.com/issues/15369
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
9 years agorgw: the map 'headers' is assigned a wrong value 8481/head
weiqiaomiao [Thu, 7 Apr 2016 06:12:51 +0000 (14:12 +0800)]
rgw: the map 'headers' is assigned a wrong value

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
9 years agoMerge pull request #8457 from dreamhost/wip-virtualenv-tmpdir
Loic Dachary [Thu, 7 Apr 2016 05:24:45 +0000 (07:24 +0200)]
Merge pull request #8457 from dreamhost/wip-virtualenv-tmpdir

build: Respect TMPDIR for virtualenv.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoauthtool: fix test output validation & minor whitespace. 8456/head
Robin H. Johnson [Wed, 6 Apr 2016 16:42:54 +0000 (09:42 -0700)]
authtool: fix test output validation & minor whitespace.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agojournal: fix context memory leak when shutting down live replay
Jason Dillaman [Wed, 6 Apr 2016 21:20:30 +0000 (17:20 -0400)]
journal: fix context memory leak when shutting down live replay

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agojournal: Future does not require metadata shared pointer
Jason Dillaman [Wed, 6 Apr 2016 21:18:33 +0000 (17:18 -0400)]
journal: Future does not require metadata shared pointer

Avoid keeping the metadata object alive through the lifespan of the
future.  Callers can expect to receive a re-entrant callback if the
future is already safe and flush/wait is invoked.

Fixes: http://tracker.ceph.com/issues/15364
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agomon: warn if 'sortbitwise' flag is not set and no legacy OSDs are present 8432/head
Sage Weil [Wed, 6 Apr 2016 21:03:53 +0000 (17:03 -0400)]
mon: warn if 'sortbitwise' flag is not set and no legacy OSDs are present

If the user has upgraded, they should set sortbitwise.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8418 from liewegas/wip-blk-probe
Sage Weil [Wed, 6 Apr 2016 20:57:11 +0000 (16:57 -0400)]
Merge pull request #8418 from liewegas/wip-blk-probe

os/ObjectStore: make device uuid probe output something friendly

9 years agoMerge pull request #8428 from liewegas/wip-rest-mds
Sage Weil [Wed, 6 Apr 2016 20:10:53 +0000 (16:10 -0400)]
Merge pull request #8428 from liewegas/wip-rest-mds

ceph-rest-api: fix fs/flag/set

9 years agoMerge pull request #7981 from liewegas/wip-14364
Sage Weil [Wed, 6 Apr 2016 19:52:10 +0000 (15:52 -0400)]
Merge pull request #7981 from liewegas/wip-14364

osdc/Objecter: fix narrow race with tid assignment

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8403 from dx9/wip-ceph-dencoder-esessions-fix
Sage Weil [Wed, 6 Apr 2016 19:51:40 +0000 (15:51 -0400)]
Merge pull request #8403 from dx9/wip-ceph-dencoder-esessions-fix

mds: Add cmapv to ESessions default constructor initializer list

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8419 from adamemerson/wip-32bit-time
Sage Weil [Wed, 6 Apr 2016 19:49:22 +0000 (15:49 -0400)]
Merge pull request #8419 from adamemerson/wip-32bit-time

common: fix time_t cast in decode

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8431 from liewegas/wip-bluestore
Sage Weil [Wed, 6 Apr 2016 19:48:45 +0000 (15:48 -0400)]
Merge pull request #8431 from liewegas/wip-bluestore

os/bluestore: revamp BlueFS bdev management and add perfcounters

9 years agoMerge pull request #8445 from jmunhoz/fix-aws4-uri-encoding
Orit Wasserman [Wed, 6 Apr 2016 18:37:58 +0000 (20:37 +0200)]
Merge pull request #8445 from jmunhoz/fix-aws4-uri-encoding

rgw: aws4 uri encoding bugfix
Review-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #8450 from javacruft/tasksmax-infinity 10932/head
Sage Weil [Wed, 6 Apr 2016 13:36:15 +0000 (09:36 -0400)]
Merge pull request #8450 from javacruft/tasksmax-infinity

systemd: drop any systemd imposed process/thread limits

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agodebian/rules: include ceph-mds-*.conf upstart files in ceph-mds
Sage Weil [Wed, 6 Apr 2016 12:55:49 +0000 (08:55 -0400)]
debian/rules: include ceph-mds-*.conf upstart files in ceph-mds

These were lost by a typo in 0cbe3dea69604730bc7dba7bc3844294f4c9ac5a

Fixes: http://tracker.ceph.com/issues/15395
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8459 from jdurgin/wip-rbd-op-threads
Jason Dillaman [Wed, 6 Apr 2016 11:46:53 +0000 (07:46 -0400)]
Merge pull request #8459 from jdurgin/wip-rbd-op-threads

librbd: disallow unsafe rbd_op_threads values

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8455 from liewegas/wip-legacy-layout-zero
John Spray [Wed, 6 Apr 2016 10:41:24 +0000 (11:41 +0100)]
Merge pull request #8455 from liewegas/wip-legacy-layout-zero

mds: fix file_layout_t legacy encoding snafu

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoosd: cancel scrub if noscrub is set for pool or all 8462/head
xie xingguo [Wed, 6 Apr 2016 02:42:20 +0000 (10:42 +0800)]
osd: cancel scrub if noscrub is set for pool or all

The sched_scrub() method can be called by various code path, such as
OSD::tick() or triggered by a scrub_reserve_reply message.

The sched_scrub() will check whether or not the noscrub is globally set or
set for a specified pool before really starting to schedule a scrub job.
However, if we set noscrub flag for a specified pool, there are other pools
for which scrub are still legal and thus shall be granted.

The problem here is that we may stopping a pg's scrub in an intermidate stage
due to setting of the corresponding pool's noscrub flag whithout releasing
the reservation. Which as a result shall prevent other pgs of a different
pool from going scrubbing because we have already hit the reservation limit.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoosd: reset tp handle when search for boundary of chunky-scrub
xie xingguo [Wed, 6 Apr 2016 01:45:21 +0000 (09:45 +0800)]
osd: reset tp handle when search for boundary of chunky-scrub

One of our tests in our local testbed shows that if the number of snapshots
become extremely huge, the process of chunky-scrub() may encouter
heart-beat failure. This is because it takes a real long time for the
procedure to traverse and determine the boundary for a single run of
chunk scrub under this case.

This pr tries to solve the above the problem by resetting the tp handle
passed in once in a while(after a certain number of loops, 64 by default)
since the search can become very time-consumptive. Furthermore, the
BUILD_MAP stage later on shall encouter the same problem but has already
got fixed in the same way. Therefore, although the test case is rare,
but this change is defensive and make our code strong and thus shall be
considered as worthwhile.

Fixes: tracker.ceph.com/issues/12892
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore: use short, relative paths with bluefs 8431/head
Sage Weil [Wed, 6 Apr 2016 01:26:06 +0000 (21:26 -0400)]
os/bluestore: use short, relative paths with bluefs

If we're using bluefs, only pass in the short relative
path (db, db.wal, db.slow).  The leading components
are ignored and only lead to errors if the configuration
provides relative paths that do not match (e.g., if one
if using ceph-objectstore-tool).

Fixes: http://tracker.ceph.com/issues/15376
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agolibrbd: disallow unsafe rbd_op_threads values 8459/head
Josh Durgin [Tue, 5 Apr 2016 22:30:18 +0000 (15:30 -0700)]
librbd: disallow unsafe rbd_op_threads values

Don't use this config option in librbd until
http://tracker.ceph.com/issues/15034 is avoided.

The option itself is still useful for mirroring threads, where
ordering is unimportant.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrgw/rgw_file: correctly handle object permissions 8460/head
Matt Benjamin [Tue, 5 Apr 2016 22:22:04 +0000 (18:22 -0400)]
librgw/rgw_file:  correctly handle object permissions

Implement the full object permission model for librgw (aka, NFS
and similar) operations.

Fixes DIRS1 unit tests.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agorgw_file: print DIRS1 read parameters at verbose
Matt Benjamin [Tue, 5 Apr 2016 20:19:53 +0000 (16:19 -0400)]
rgw_file: print DIRS1 read parameters at verbose

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agorgw_file: fix attributes for "special" test cases
Matt Benjamin [Sat, 2 Apr 2016 19:14:25 +0000 (15:14 -0400)]
rgw_file:  fix attributes for "special" test cases

If a caller does an atomic create using rgw_lookup() and
RGW_LOOKUP_FLAG_CREATE, it needs to fix up the attributes using
create_stat().

For use outside of test cases, it probably needs an interlock also,
but for now, do just enough to satisfy existing attribute checks.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agorgw_file unit tests: validate Unix owners in DIRS1
Matt Benjamin [Mon, 28 Mar 2016 20:36:57 +0000 (16:36 -0400)]
rgw_file unit tests: validate Unix owners in DIRS1

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agoauthtool: update --help and manpage to match code.
Robin H. Johnson [Tue, 5 Apr 2016 22:10:13 +0000 (22:10 +0000)]
authtool: update --help and manpage to match code.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agobuild: Respect TMPDIR for virtualenv. 8457/head
Robin H. Johnson [Tue, 5 Apr 2016 21:27:16 +0000 (21:27 +0000)]
build: Respect TMPDIR for virtualenv.

Gentoo's normal build process uses a sandbox to catch writes outside the
build environment; this includes providing a value other than /tmp for
TMPDIR. Use TMPDIR by default for CEPH_BUILD_VIRTUALENV.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agocommon/fs_types: dump pool_id signed 8455/head
Sage Weil [Tue, 5 Apr 2016 20:31:18 +0000 (16:31 -0400)]
common/fs_types: dump pool_id signed

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomds: fix legacy layout decode with pool 0
Sage Weil [Tue, 5 Apr 2016 20:37:25 +0000 (16:37 -0400)]
mds: fix legacy layout decode with pool 0

If you data pool was pool 0, this was transforming
that to -1 unconditionally, which broke upgrades.  We
only want do that for a fully zeroed ceph_file_layout,
so that it still maps to a file_layout_t.  If any fields
are set, though, we trust the fl_pgpool to be a valid
pool.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8447 from cbodley/wip-cmake-mrun
Orit Wasserman [Tue, 5 Apr 2016 19:42:48 +0000 (21:42 +0200)]
Merge pull request #8447 from cbodley/wip-cmake-mrun

mrun: update path to cmake binaries

9 years agorgw: retry read_log_info() while master is down 8453/head
Casey Bodley [Mon, 4 Apr 2016 20:56:04 +0000 (16:56 -0400)]
rgw: retry read_log_info() while master is down

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #8430 from wjin/fix
Kefu Chai [Tue, 5 Apr 2016 16:37:41 +0000 (00:37 +0800)]
Merge pull request #8430 from wjin/fix

crush: fix error log

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoDrop any systemd imposed process/thread limits 8450/head
James Page [Tue, 5 Apr 2016 16:32:59 +0000 (17:32 +0100)]
Drop any systemd imposed process/thread limits

If systemd has task accounting enabled, a default of 512 tasks
will be applied to all systemd units.

For ceph, this is way to low even for a modest cluster, so stop
this restriction being applied and allow administrators to apply
limits using sysctl.

Signed-off-by: James Page <james.page@ubuntu.com>
9 years agomrun: update path to cmake binaries 8447/head
Casey Bodley [Tue, 5 Apr 2016 14:38:39 +0000 (10:38 -0400)]
mrun: update path to cmake binaries

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoos/bluestore/BlueFS: add some perfcounters
Sage Weil [Mon, 4 Apr 2016 18:56:13 +0000 (14:56 -0400)]
os/bluestore/BlueFS: add some perfcounters

Most utilization-related.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlueFS: revamp bdev ids
Sage Weil [Mon, 4 Apr 2016 18:39:18 +0000 (14:39 -0400)]
os/bluestore/BlueFS: revamp bdev ids

You cannot tell from the old bdev vector which device
was which.

- use a fixed id for each type/slot
- go from fast(small) to slow(big)
- normalize the allocation fallback to try any slower
  device.
- clean up the BlueStore instantiation/setup accordingly

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/ObjectStore: make device uuid probe output something friendly 8418/head
Sage Weil [Tue, 5 Apr 2016 15:10:54 +0000 (11:10 -0400)]
os/ObjectStore: make device uuid probe output something friendly

Otherwise, all you see is errors about the probes that failed (e.g., a
failure to decode a non-bluestore superblock as bluestore).

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorgw: aws4 uri encoding bugfix 8445/head
Javier M. Mellid [Tue, 5 Apr 2016 14:00:10 +0000 (16:00 +0200)]
rgw: aws4 uri encoding bugfix

Fixes: http://tracker.ceph.com/issues/15358
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
9 years agomon/OSDMonitor: fix off-by-one for osd_map_message_max 8446/head
Sage Weil [Tue, 5 Apr 2016 13:58:02 +0000 (09:58 -0400)]
mon/OSDMonitor: fix off-by-one for osd_map_message_max

For most messages we were sending osd_map_message_max + 1 maps.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8131 from ErwanAliasr1/evelu-fast-check
Loic Dachary [Tue, 5 Apr 2016 13:52:52 +0000 (15:52 +0200)]
Merge pull request #8131 from ErwanAliasr1/evelu-fast-check

tests: Improving 'make check' execution time

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoosd: improve full map requests
Sage Weil [Tue, 5 Apr 2016 13:45:33 +0000 (09:45 -0400)]
osd: improve full map requests

If we don't get all the full maps we want, request more
immediately.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: create rerequest_full_maps() helper
Sage Weil [Tue, 5 Apr 2016 13:45:04 +0000 (09:45 -0400)]
osd: create rerequest_full_maps() helper

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