]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoos/MemStore: move OmapIteratorImpl to cc file 10803/head
Michal Jarzabek [Sat, 20 Aug 2016 07:38:36 +0000 (08:38 +0100)]
os/MemStore: move OmapIteratorImpl to cc file

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agoMerge pull request #10566 from batrick/mds-daemon-unused
John Spray [Thu, 4 Aug 2016 13:10:45 +0000 (14:10 +0100)]
Merge pull request #10566 from batrick/mds-daemon-unused

mds: remove unused MDSDaemon::objecter

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agomds: remove unused MDSDaemon::objecter 10566/head
Patrick Donnelly [Thu, 4 Aug 2016 02:03:28 +0000 (22:03 -0400)]
mds: remove unused MDSDaemon::objecter

Leftover from a2682edb76ceac428c686e0ac21c06511e27693e.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agoMerge pull request #10307 from pritha-srivastava/wip_s3_auth_rework
Matt Benjamin [Wed, 3 Aug 2016 16:39:26 +0000 (12:39 -0400)]
Merge pull request #10307 from pritha-srivastava/wip_s3_auth_rework

rgw: Rework of s3 LDAP Authentication code.

verified: MS AD

9 years agoMerge remote-tracking branch 'upstream/pull/10543/head'
Patrick Donnelly [Tue, 2 Aug 2016 19:40:49 +0000 (15:40 -0400)]
Merge remote-tracking branch 'upstream/pull/10543/head'

* upstream/pull/10543/head:
  vstart.sh: only delete conf if -n

9 years agoMerge pull request #10492 from chhabaramesh/master
Igor Fedotov [Tue, 2 Aug 2016 18:43:41 +0000 (21:43 +0300)]
Merge pull request #10492 from chhabaramesh/master

os/bluestore: remove cmake warning from extent alloc functions

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agovstart.sh: only delete conf if -n 10543/head
Patrick Donnelly [Tue, 2 Aug 2016 18:13:18 +0000 (14:13 -0400)]
vstart.sh: only delete conf if -n

src/test/ceph_objectstore_tool.py depends on an implicit "-k" when not
creating a new cluster. (Deleting the conf file without -n makes no
sense anyway.)

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agoMerge pull request #10462 from dillaman/wip-16478
Mykola Golub [Tue, 2 Aug 2016 17:48:07 +0000 (20:48 +0300)]
Merge pull request #10462 from dillaman/wip-16478

rbd-mirror: non-primary image is recording journal events during image sync

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #10484 from dillaman/wip-16538
Mykola Golub [Tue, 2 Aug 2016 17:14:54 +0000 (20:14 +0300)]
Merge pull request #10484 from dillaman/wip-16538

rbd-mirror: image deleter should use pool id + global image uuid for key

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #10458 from gregsfortytwo/wip-doc-troubleshooting
John Spray [Tue, 2 Aug 2016 17:04:31 +0000 (18:04 +0100)]
Merge pull request #10458 from gregsfortytwo/wip-doc-troubleshooting

doc: extend the CephFS troubleshooting guide

Reviewed-by: Zack Cerza <zack@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #9695 from ktdreyer/doc-tarballs-url
Alfredo Deza [Tue, 2 Aug 2016 15:50:47 +0000 (11:50 -0400)]
Merge pull request #9695 from ktdreyer/doc-tarballs-url

doc: update canonical tarballs URL

Reviewed-by: Alfredo Deza <adeza@redhat.com>
9 years agoos/bluestore: remove cmake warning from extent alloc functions. 10492/head
Ramesh Chander [Fri, 29 Jul 2016 09:16:57 +0000 (02:16 -0700)]
os/bluestore: remove cmake warning from extent alloc functions.
link: http://tracker.ceph.com/issues/16766
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
9 years agoMerge pull request #10386 from ceph/wip-jlayton-nlink
John Spray [Tue, 2 Aug 2016 15:29:45 +0000 (16:29 +0100)]
Merge pull request #10386 from ceph/wip-jlayton-nlink

Fix attribute handling at lookup time

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #10541 from tchaikov/wip-cmake
Kefu Chai [Tue, 2 Aug 2016 15:10:08 +0000 (23:10 +0800)]
Merge pull request #10541 from tchaikov/wip-cmake

cmake: install ceph_test_rados_striper_api_*

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agocmake: install ceph_test_rados_striper_api_* 10541/head
Kefu Chai [Tue, 2 Aug 2016 14:37:45 +0000 (22:37 +0800)]
cmake: install ceph_test_rados_striper_api_*

so we can test them in ceph-qa-suite

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agotest: unit test cases for disabling librbd journal by policy 10462/head
Jason Dillaman [Wed, 27 Jul 2016 03:28:43 +0000 (23:28 -0400)]
test: unit test cases for disabling librbd journal by policy

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: utilize factory methods to create AioObjectRequest objects
Jason Dillaman [Wed, 27 Jul 2016 14:56:48 +0000 (10:56 -0400)]
librbd: utilize factory methods to create AioObjectRequest objects

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: convert AioObjectRequest/AioObjectRead classes to templates
Jason Dillaman [Wed, 27 Jul 2016 13:07:00 +0000 (09:07 -0400)]
librbd: convert AioObjectRequest/AioObjectRead classes to templates

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: move read callback helpers to narrowest scope
Jason Dillaman [Wed, 27 Jul 2016 13:54:44 +0000 (09:54 -0400)]
librbd: move read callback helpers to narrowest scope

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: convert AioImageRequest derived classes to templates
Jason Dillaman [Wed, 27 Jul 2016 03:26:08 +0000 (23:26 -0400)]
librbd: convert AioImageRequest derived classes to templates

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: removed namespace indentation from legacy classes
Jason Dillaman [Wed, 27 Jul 2016 12:49:44 +0000 (08:49 -0400)]
librbd: removed namespace indentation from legacy classes

Better follows the Ceph C++ style guide

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: do not record journal events if append is disabled by policy
Jason Dillaman [Wed, 27 Jul 2016 02:58:24 +0000 (22:58 -0400)]
librbd: do not record journal events if append is disabled by policy

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: remove unused journal replay canceled callback
Jason Dillaman [Wed, 27 Jul 2016 00:57:40 +0000 (20:57 -0400)]
librbd: remove unused journal replay canceled callback

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: optionally support disabling journal appends via policy
Jason Dillaman [Wed, 27 Jul 2016 00:48:13 +0000 (20:48 -0400)]
librbd: optionally support disabling journal appends via policy

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #10505 from wjwithagen/wip-wjw-dns-resolv
Casey Bodley [Tue, 2 Aug 2016 13:12:39 +0000 (09:12 -0400)]
Merge pull request #10505 from wjwithagen/wip-wjw-dns-resolv

src/common/dns_resolve.cc: reorder the includes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoceph: don't fudge the ctime in stat() unless it's really older than the mtime 10386/head
Jeff Layton [Mon, 1 Aug 2016 13:01:15 +0000 (09:01 -0400)]
ceph: don't fudge the ctime in stat() unless it's really older than the mtime

The current code just looks at the sec field, but the difference may
only be evident in the nsec field.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agoclient: only skip querying the MDS in _lookup when we have the necessary caps
Jeff Layton [Mon, 1 Aug 2016 13:01:15 +0000 (09:01 -0400)]
client: only skip querying the MDS in _lookup when we have the necessary caps

If we don't have the caps we'll need later, then we must reissue the
lookup to get them regardless of whether we have a lease on the
dentry.

Fixes: http://tracker.ceph.com/issues/16668
Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agoclient: plumb a mask argument into _lookup
Jeff Layton [Mon, 1 Aug 2016 13:01:14 +0000 (09:01 -0400)]
client: plumb a mask argument into _lookup

...and attempt to pass in a sane value there, based on what we'll do
with the resulting inode.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agoclient: add mask parameter to _do_lookup
Jeff Layton [Mon, 1 Aug 2016 13:01:14 +0000 (09:01 -0400)]
client: add mask parameter to _do_lookup

We need to allow callers to specify caps to acquire during a lookup, as
they may need to scrape certain info out of the inode later. Allow them
to pass in a mask. For now, _lookup just passes in 0 for the mask,
but verify_reply_trace passes in the regetattr_mask to match what we'd
request in the _getattr request if there were a traceless reply.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agotest: add a link count test
Jeff Layton [Mon, 1 Aug 2016 13:01:14 +0000 (09:01 -0400)]
test: add a link count test

...and use the lowlevel calls to emulate what ganesha would do. In
particular, it dumps its inode from the cache after an unlink. So
do a second lookup afterward and verify that the nlink field in the
struct stat is valid.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agodoc: add a new document on capabilities
Jeff Layton [Mon, 1 Aug 2016 13:01:14 +0000 (09:01 -0400)]
doc: add a new document on capabilities

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agocephfs: remove some unused constants
Jeff Layton [Tue, 2 Aug 2016 11:19:53 +0000 (07:19 -0400)]
cephfs: remove some unused constants

The CEPH_CAP_SFLOCK shift value (and the other constants derived from
it) are entirely unused. Ditto for CEPH_CAP_BITS. Just remove them.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agoMerge pull request #10535 from dzafman/wip-cot-fix
Kefu Chai [Tue, 2 Aug 2016 07:37:57 +0000 (15:37 +0800)]
Merge pull request #10535 from dzafman/wip-cot-fix

test: Removeall merged after print_function commit needs a fix

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotest: Removeall merged after print_function commit needs a fix 10535/head
David Zafman [Tue, 2 Aug 2016 05:29:56 +0000 (22:29 -0700)]
test: Removeall merged after print_function commit needs a fix

Signed-off-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #10344 from xiexingguo:xxg-wip-pipe-2016-07-19-02
Josh Durgin [Mon, 1 Aug 2016 22:40:39 +0000 (15:40 -0700)]
Merge pull request #10344 from xiexingguo:xxg-wip-pipe-2016-07-19-02

msg/simple: apply prefetch policy more precisely

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Conflicts:
src/msg/simple/Pipe.cc (removed unneeded cast)

9 years agoMerge pull request #10532 from linuxbox2/rgw-ldap-recon
Ali Maredia [Mon, 1 Aug 2016 22:08:36 +0000 (18:08 -0400)]
Merge pull request #10532 from linuxbox2/rgw-ldap-recon

rgw: add reinit/rebind logic (ldap)

Reviewed-by: Ali Maredia <amaredia@redhat.com>
9 years agorgw: add reinit/rebind logic (ldap) 10532/head
Matt Benjamin [Mon, 1 Aug 2016 21:36:17 +0000 (17:36 -0400)]
rgw: add reinit/rebind logic (ldap)

Gracefully handle stale LDAP connections by rebinding--verified
with MS AD.  Rebind is attempted once per request until rebound--
not worse than misconfiguring the environment.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agoMerge pull request #10365 from majianpeng/osd-perfcounter
Yuri Weinstein [Mon, 1 Aug 2016 21:30:05 +0000 (14:30 -0700)]
Merge pull request #10365 from majianpeng/osd-perfcounter

osd/ReplicatedPG: for sync-read it don't cacl l_osd_op_r_prepare_lat.

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10450 from xiexingguo/xxg-wip-cleanup-options
Yuri Weinstein [Mon, 1 Aug 2016 21:29:39 +0000 (14:29 -0700)]
Merge pull request #10450 from xiexingguo/xxg-wip-cleanup-options

osd: cleanup options and other redundancies

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #10471 from xiexingguo/xxg-wip-fix-memdb-assert
Yuri Weinstein [Mon, 1 Aug 2016 21:28:39 +0000 (14:28 -0700)]
Merge pull request #10471 from xiexingguo/xxg-wip-fix-memdb-assert

kv/MemDB: fix assert triggerred by m_total_bytes underflow

9 years agoMerge pull request #9679 from xiexingguo/xxg-wip-fix-cephx
Yuri Weinstein [Mon, 1 Aug 2016 21:27:27 +0000 (14:27 -0700)]
Merge pull request #9679 from xiexingguo/xxg-wip-fix-cephx

auth/cephx: misc fixes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #9734 from xiexingguo/xxg-wip-cleanup-omap
Yuri Weinstein [Mon, 1 Aug 2016 21:26:43 +0000 (14:26 -0700)]
Merge pull request #9734 from xiexingguo/xxg-wip-cleanup-omap

os/filestore: add sanity checks and cleanups for mount() process

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10231 from yonghengdexin735/wip-zzz-paxosserver-type
Yuri Weinstein [Mon, 1 Aug 2016 21:25:27 +0000 (14:25 -0700)]
Merge pull request #10231 from yonghengdexin735/wip-zzz-paxosserver-type

mon/PaxosService: make the return value type inconsistent

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10340 from yuyuyu101/wip-16715
Yuri Weinstein [Mon, 1 Aug 2016 21:22:55 +0000 (14:22 -0700)]
Merge pull request #10340 from yuyuyu101/wip-16715

msg/async/AsyncConnection: replace Mutex with std::mutex for peformance

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10531 from scuttlemonkey/master
scuttlemonkey [Mon, 1 Aug 2016 20:14:30 +0000 (16:14 -0400)]
Merge pull request #10531 from scuttlemonkey/master

Add UK mirror and update copyright

9 years agodoc: added new UK Ceph mirror to doc and mirroring 10531/head
Patrick McGarry [Mon, 1 Aug 2016 20:03:25 +0000 (16:03 -0400)]
doc: added new UK Ceph mirror to doc and mirroring

Signed-off-by: Patrick McGarry <pmcgarry@redhat.com>
9 years agoMerge remote-tracking branch 'origin/master'
Patrick McGarry [Mon, 1 Aug 2016 19:59:08 +0000 (15:59 -0400)]
Merge remote-tracking branch 'origin/master'

9 years agoMerge pull request #10207 from prallabh/wip-16388
Casey Bodley [Mon, 1 Aug 2016 19:50:09 +0000 (15:50 -0400)]
Merge pull request #10207 from prallabh/wip-16388

rgw: Fix incorrect content length and range for zero sized objects during range requests

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #10510 from yehudasa/wip-16861
Casey Bodley [Mon, 1 Aug 2016 19:26:01 +0000 (15:26 -0400)]
Merge pull request #10510 from yehudasa/wip-16861

test_rgw_bencode: null terminate strings before checking

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #9944 from sileht/master
Josh Durgin [Mon, 1 Aug 2016 16:53:03 +0000 (09:53 -0700)]
Merge pull request #9944 from sileht/master

python-rados: extends ReadOp/WriteOp API

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #10098 from dzafman/wip-16568
Kefu Chai [Mon, 1 Aug 2016 16:26:54 +0000 (00:26 +0800)]
Merge pull request #10098 from dzafman/wip-16568

tools: New "removeall" used to remove head with snapshots

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10085 from chengweiv5/fix-doc
Kefu Chai [Mon, 1 Aug 2016 16:17:29 +0000 (00:17 +0800)]
Merge pull request #10085 from chengweiv5/fix-doc

doc: ceph-deploy mon add doesn't take multiple nodes

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoFor range requests, let the range be dumped before the error is honored. 10207/head
root [Wed, 27 Jul 2016 12:35:50 +0000 (18:05 +0530)]
For range requests, let the range be dumped before the error is honored.

Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
9 years agoFor zero sized objects, let the range adhere as per the RFC
root [Wed, 27 Jul 2016 12:34:19 +0000 (18:04 +0530)]
For zero sized objects, let the range adhere as per the RFC

Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
9 years agoFor zero sized objects, return 416 during range requests
root [Wed, 27 Jul 2016 12:33:16 +0000 (18:03 +0530)]
For zero sized objects, return 416 during range requests

Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
9 years agoMerge pull request #10480 from ceph/lifecycle-cleanup
Casey Bodley [Mon, 1 Aug 2016 14:59:31 +0000 (10:59 -0400)]
Merge pull request #10480 from ceph/lifecycle-cleanup

Clean up lifecycle thread

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: Rework of s3 LDAP Authentication code. 10307/head
Pritha Srivastava [Thu, 14 Jul 2016 10:33:48 +0000 (16:03 +0530)]
rgw: Rework of s3 LDAP Authentication code.

The LDAP authentication code has been reworked based
on the new authentication infrastructure.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
9 years agoMerge remote-tracking branch 'upstream/pull/10514/head'
Patrick Donnelly [Sat, 30 Jul 2016 20:33:29 +0000 (16:33 -0400)]
Merge remote-tracking branch 'upstream/pull/10514/head'

* upstream/pull/10514/head:
  src/vstart.sh: stop script aborting when ceph.cfg is not there

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agosrc/vstart.sh: stop script aborting when ceph.cfg is not there 10514/head
Willem Jan Withagen [Sat, 30 Jul 2016 20:05:06 +0000 (22:05 +0200)]
src/vstart.sh: stop script aborting when ceph.cfg is not there

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
9 years agoMerge pull request #10432 from dillaman/wip-16708
Mykola Golub [Sat, 30 Jul 2016 16:59:49 +0000 (19:59 +0300)]
Merge pull request #10432 from dillaman/wip-16708

rbd-mirror: potential IO stall when using asok flush request

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #10341 from dillaman/wip-16223
Mykola Golub [Sat, 30 Jul 2016 16:28:02 +0000 (19:28 +0300)]
Merge pull request #10341 from dillaman/wip-16223

rbd-mirror: reduce memory footprint during journal replay

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agopython-rados: Implements new write_ops 9944/head
Mehdi Abaakouk [Mon, 27 Jun 2016 12:37:33 +0000 (14:37 +0200)]
python-rados: Implements new write_ops

* rados_write_op_create
* rados_write_op_append
* rados_write_op_write_full
* rados_write_op_write
* rados_write_op_remove
* rados_write_op_truncate
* rados_write_op_zero

Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
9 years agopython-rados: add some read_op/write_op methods
Mehdi Abaakouk [Mon, 27 Jun 2016 09:51:21 +0000 (11:51 +0200)]
python-rados: add some read_op/write_op methods

This change adds python API for the following C methods:
* rados_aio_write_op_operate
* rados_write_op_omap_set
* rados_read_op_set_flags
* rados_aio_read_op_operate

Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
9 years agoMerge pull request #10489 from ceph/wip-cmake
Kefu Chai [Sat, 30 Jul 2016 05:24:32 +0000 (13:24 +0800)]
Merge pull request #10489 from ceph/wip-cmake

cmake changes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
9 years agotest_rgw_bencode: null terminate strings before checking 10510/head
Yehuda Sadeh [Fri, 29 Jul 2016 23:07:01 +0000 (16:07 -0700)]
test_rgw_bencode: null terminate strings before checking

Fixes: http://tracker.ceph.com/issues/16861
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agodoc: add some links to CephFS troubleshooting guide 10458/head
Greg Farnum [Fri, 29 Jul 2016 20:59:22 +0000 (13:59 -0700)]
doc: add some links to CephFS troubleshooting guide

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agodoc: extend the CephFS troubleshooting guide
Greg Farnum [Wed, 27 Jul 2016 20:49:52 +0000 (13:49 -0700)]
doc: extend the CephFS troubleshooting guide

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agocommon/dns_resolve.h: Make sure the .h file has al required includes. 10505/head
Willem Jan Withagen [Fri, 29 Jul 2016 18:57:57 +0000 (20:57 +0200)]
common/dns_resolve.h: Make sure the .h file has al required includes.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
9 years agosrc/common/dns_resolve.cc: reorder the includes
Willem Jan Withagen [Fri, 29 Jul 2016 18:22:22 +0000 (20:22 +0200)]
src/common/dns_resolve.cc: reorder the includes

 - dns_resolv.h should only be include after all the std-includes are
   made. Otherwise it will result into undefined structs/variables on
   FreeBSD/Clang

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
9 years agocmake: link libcommon against pthread 10489/head
Kefu Chai [Fri, 29 Jul 2016 16:26:43 +0000 (00:26 +0800)]
cmake: link libcommon against pthread

as Thread.cc lives in libcommon, and global is not using libpthread
directly. so moving libpthread linkage from libglobal to libcommon.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10177 from BlaXpirit/ceph-tests-py3
Josh Durgin [Fri, 29 Jul 2016 16:04:27 +0000 (09:04 -0700)]
Merge pull request #10177 from BlaXpirit/ceph-tests-py3

pybind: Port Python-based tests and remaining Python bindings to Python 3

Reviewed-by: Case Bodley <cbodley@redhat.com>
Reviewed-by: John Spray <jspray@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoClean up lifecycle thread 10480/head
Daniel Gryniewicz [Thu, 28 Jul 2016 18:39:07 +0000 (14:39 -0400)]
Clean up lifecycle thread

Make sure that the lifecycle thread is terminated and all memory is
cleaned up on shutdown.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
9 years agoMerge remote-tracking branch 'upstream/pull/10312/head'
Patrick Donnelly [Fri, 29 Jul 2016 15:13:48 +0000 (11:13 -0400)]
Merge remote-tracking branch 'upstream/pull/10312/head'

* upstream/pull/10312/head:
  vstart: refactor and fix forced config changes
  vstart: cleanup echoed commands and sh issues

9 years agocmake: cleanup Findfuse.cmake
Kefu Chai [Fri, 29 Jul 2016 05:25:57 +0000 (13:25 +0800)]
cmake: cleanup Findfuse.cmake

* remove unused stuff, we do not pass/use FUSE_VERSION in cmake.
  the FUSE_VERSION we are using is defined by "fuse_common.h".
* use FindPackageHandleStandardArgs for handling find_package()
  arguments.
* also detect osxfuse on MacOS.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: do not reference undefined variables
Kefu Chai [Fri, 29 Jul 2016 04:48:51 +0000 (12:48 +0800)]
cmake: do not reference undefined variables

* AIO_LIBS is now named AIO_LIBARIES, and there is not point to print
  out its path
* USE_NSS is not defined if NSS is not checked, so if(USE_NSS) is better
  here.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: remove duplicated linked lib for libcommon
Kefu Chai [Fri, 29 Jul 2016 04:48:23 +0000 (12:48 +0800)]
cmake: remove duplicated linked lib for libcommon

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: use fullpaths of libraries
Kefu Chai [Fri, 29 Jul 2016 04:25:50 +0000 (12:25 +0800)]
cmake: use fullpaths of libraries

better off using the detected path, instead of using the default path
for finding the linked libaries.

see "cmake  --help-policy CMP0065" for more details.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: set policies
Kefu Chai [Fri, 29 Jul 2016 04:24:14 +0000 (12:24 +0800)]
cmake: set policies

this makes sure we are compatible with latest and future cmake

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: remove uuid
Kefu Chai [Fri, 29 Jul 2016 04:11:14 +0000 (12:11 +0800)]
cmake: remove uuid

as it is replaced by the boost implementation, and not detected in
cmake anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: do not link ec_jerasure_generic against crush
Kefu Chai [Fri, 29 Jul 2016 03:38:46 +0000 (11:38 +0800)]
cmake: do not link ec_jerasure_generic against crush

crush is not used in erasure plugins at this moment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: exclude private symbols in librbd
Kefu Chai [Fri, 29 Jul 2016 03:27:34 +0000 (11:27 +0800)]
cmake: exclude private symbols in librbd

missed it in 0edfad0.
* librbd: pass '--exclude-libs,ALL' to linker
* rbd: link against used libraries explicitly, rbd is accessing some
  internal symbols not exposed by librbd.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10483 from trociny/fixup-test-rbd-mirror
Jason Dillaman [Fri, 29 Jul 2016 14:17:06 +0000 (10:17 -0400)]
Merge pull request #10483 from trociny/fixup-test-rbd-mirror

qa/workunits/rbd: small fixup and improvements for rbd-mirror tests

Reviewed-by: Jason Dillaman <dillaman@hotmail.com>
9 years agoMerge pull request #10374 from ktdreyer/wip-doc-debug-ceph-fuse
John Spray [Fri, 29 Jul 2016 13:41:52 +0000 (14:41 +0100)]
Merge pull request #10374 from ktdreyer/wip-doc-debug-ceph-fuse

doc: add troubleshooting steps for ceph-fuse

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #10332 from dillaman/wip-16689
Mykola Golub [Fri, 29 Jul 2016 13:31:04 +0000 (16:31 +0300)]
Merge pull request #10332 from dillaman/wip-16689

librbd: optimize away unnecessary object map updates

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agodoc: add troubleshooting steps for ceph-fuse 10374/head
Ken Dreyer [Thu, 21 Jul 2016 02:11:48 +0000 (20:11 -0600)]
doc: add troubleshooting steps for ceph-fuse

Thanks to John Spray <jspray@redhat.com> on ceph-devel for this
information.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #10479 from batrick/standby-notes
John Spray [Fri, 29 Jul 2016 12:49:03 +0000 (13:49 +0100)]
Merge pull request #10479 from batrick/standby-notes

doc: small standby doc edits

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #10434 from batrick/i16743
John Spray [Fri, 29 Jul 2016 12:48:00 +0000 (13:48 +0100)]
Merge pull request #10434 from batrick/i16743

doc: add client config ref

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #10409 from weiqiaomiao/wqm-wip-rgw-reboot
Daniel Gryniewicz [Fri, 29 Jul 2016 12:29:51 +0000 (08:29 -0400)]
Merge pull request #10409 from weiqiaomiao/wqm-wip-rgw-reboot

rgw:fix rgw boot failed after upgrade to master latest version

9 years agoMerge pull request #10379 from xiexingguo/xxg-wip-bluestore-2016-07-21
Mark Nelson [Fri, 29 Jul 2016 00:49:09 +0000 (19:49 -0500)]
Merge pull request #10379 from xiexingguo/xxg-wip-bluestore-2016-07-21

os/bluestore: fix bitmap allocating failure if max_alloc_size is 0

Mark's Comments:

This passed Jenkins checks.
This passed "ceph_test_objectstore --gtest_filter=*/2".
This PR did not appear to have a significant impact on performance tests.

Reviewed-by: Mark Nelson <mnelson@redhat.com>
9 years agoMerge pull request #10140 from ifed01/wip-bluestore-fsck-update
Mark Nelson [Fri, 29 Jul 2016 00:32:15 +0000 (19:32 -0500)]
Merge pull request #10140 from ifed01/wip-bluestore-fsck-update

os/bluestore: replace interval_set with a bitset for used_block conta…

Mark's Comments:

This passed Jenkins checks.
This passed "ceph_test_objectstore --gtest_filter=*/2".
This PR did not appear to have a significant impact on performance tests, however no fsck specific performance or memory tests were performed.

Reviewed-by: Mark Nelson <mnelson@redhat.com>
9 years agolibrbd: support deleting image by id instead of name 10484/head
Jason Dillaman [Thu, 28 Jul 2016 20:35:48 +0000 (16:35 -0400)]
librbd: support deleting image by id instead of name

The rbd-mirror daemon will use this API to delete images instead
of attempting to use the local image name.

Fixes: http://tracker.ceph.com/issues/16227
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd-mirror: use pool id + global image id as deletion primary key
Jason Dillaman [Wed, 13 Jul 2016 18:49:06 +0000 (14:49 -0400)]
rbd-mirror: use pool id + global image id as deletion primary key

Fixes: http://tracker.ceph.com/issues/16538
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agodoc: add historical warning for mds_standby_replay 10479/head
Patrick Donnelly [Thu, 28 Jul 2016 18:15:56 +0000 (14:15 -0400)]
doc: add historical warning for mds_standby_replay

When testing < v10.2.1 with standby replay, I was often confused why the
MDS daemons would go into replay even when this was false.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agodoc: fix config separator/title size.
Patrick Donnelly [Thu, 28 Jul 2016 18:14:19 +0000 (14:14 -0400)]
doc: fix config separator/title size.

This makes the setting consistent with the others.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agoMerge pull request #10060 from trociny/wip-16386
Jason Dillaman [Thu, 28 Jul 2016 18:03:50 +0000 (14:03 -0400)]
Merge pull request #10060 from trociny/wip-16386

librbd: discard hangs when 'rbd_skip_partial_discard' is enabled

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #10472 from tchaikov/wip-cmake
Ali Maredia [Thu, 28 Jul 2016 17:44:49 +0000 (13:44 -0400)]
Merge pull request #10472 from tchaikov/wip-cmake

cmake: exclude non-public symbols in shared libraries

Reviewed-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #10273 from yonghengdexin735/wip-zzz-pip-delete-no_casting_required
Gregory Farnum [Thu, 28 Jul 2016 16:17:38 +0000 (09:17 -0700)]
Merge pull request #10273 from yonghengdexin735/wip-zzz-pip-delete-no_casting_required

msg/simple/Pipe: eliminating casts for the comparing of len and recv_max_prefetch

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #10477 from cbodley/wip-16839
Orit Wasserman [Thu, 28 Jul 2016 14:55:53 +0000 (16:55 +0200)]
Merge pull request #10477 from cbodley/wip-16839

radosgw-admin: zone[group] modify can change realm id
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #9988 from ifed01/wip-bluestore-reduce-blob4
Mark Nelson [Thu, 28 Jul 2016 14:53:01 +0000 (09:53 -0500)]
Merge pull request #9988 from ifed01/wip-bluestore-reduce-blob4

os/bluestore: get rid off blob's ref_map for non-shared objects

Mark's Comments:

This passed Jenkins checks.
This PR did not appear to have a significant impact on performance tests.
This initially failed "ceph_test_objectstore --gtest_filter=*/2" segfaulting in one of the tests.  See the attached log in the comments for the PR for details.  Subsequent reruns passed, and a run through valgrind's memcheck also passed.  Igor indicated that he has seen this particular segfault previously and believes it is related to running out of memory.  Given that the PR has passed the object store tests multiple times and the segfault has been observed in the past, I believe this PR is unrelated.

Reviewed-by: Mark Nelson <mnelson@redhat.com>
9 years agoMerge pull request #10439 from weiqiaomiao/wqm-wip-rgw-zonedump
Casey Bodley [Thu, 28 Jul 2016 14:50:21 +0000 (10:50 -0400)]
Merge pull request #10439 from weiqiaomiao/wqm-wip-rgw-zonedump

rgw: add lc_pool when decode or encode struct RGWZoneParams

Reviewed-by: Casey Bodley <cbodley@redhat.com>