]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agotest/librados/test.cc: clean up EC pools' crush rules too 6788/head
Dan Mick [Thu, 26 Nov 2015 03:20:51 +0000 (19:20 -0800)]
test/librados/test.cc: clean up EC pools' crush rules too

SetUp was adding an erasure-coded pool, which automatically adds
a new crush rule named after the pool, but only removing the
pool.  Remove the crush rule as well.

http://tracker.ceph.com/issues/13878 Fixes: #13878

Signed-off-by: Dan Mick <dan.mick@redhat.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #6780 from smithfarm/wip-index-20151201
Loic Dachary [Thu, 3 Dec 2015 21:40:17 +0000 (22:40 +0100)]
Merge pull request #6780 from smithfarm/wip-index-20151201

doc/dev/index.rst: fix headings

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6786 from oritwas/wip-cmake-fix-radosgw
Yehuda Sadeh [Thu, 3 Dec 2015 17:41:50 +0000 (09:41 -0800)]
Merge pull request #6786 from oritwas/wip-cmake-fix-radosgw

cmake: add rgw_basic_types.cc to librgw.a

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agodoc/dev/index.rst: fix links 6780/head
Nathan Cutler [Thu, 3 Dec 2015 12:43:29 +0000 (13:43 +0100)]
doc/dev/index.rst: fix links

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agodoc/dev/index.rst: Flesh out the IRC section
Nathan Cutler [Thu, 3 Dec 2015 12:30:54 +0000 (13:30 +0100)]
doc/dev/index.rst: Flesh out the IRC section

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agodoc/dev/index.rst: Make Issue tracker a separate chapter
Nathan Cutler [Thu, 3 Dec 2015 12:18:52 +0000 (13:18 +0100)]
doc/dev/index.rst: Make Issue tracker a separate chapter

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6789 from dillaman/wip-13969
Josh Durgin [Thu, 3 Dec 2015 14:55:51 +0000 (06:55 -0800)]
Merge pull request #6789 from dillaman/wip-13969

librbd: partial revert of commit 9b0e359

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6748 from liewegas/wip-fix-cephtool
Loic Dachary [Thu, 3 Dec 2015 14:23:44 +0000 (15:23 +0100)]
Merge pull request #6748 from liewegas/wip-fix-cephtool

qa/workunits/cephtool/test.sh: no ./

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5941 from jcsp/wip-12137
Yan, Zheng [Thu, 3 Dec 2015 14:10:26 +0000 (22:10 +0800)]
Merge pull request #5941 from jcsp/wip-12137

#12137: cephfs-data-scan scan_frags

9 years agoMerge pull request #6777 from dillaman/wip-librbd-lockdep
Josh Durgin [Thu, 3 Dec 2015 13:38:50 +0000 (05:38 -0800)]
Merge pull request #6777 from dillaman/wip-librbd-lockdep

librbd: journaling-related lock dependency cleanup

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6762 from dillaman/wip-13924
Josh Durgin [Thu, 3 Dec 2015 13:26:07 +0000 (05:26 -0800)]
Merge pull request #6762 from dillaman/wip-13924

journal: fire replay complete event after reading last object

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6703 from dillaman/wip-tests-librbd-gmock-state-machines
Josh Durgin [Thu, 3 Dec 2015 13:23:10 +0000 (05:23 -0800)]
Merge pull request #6703 from dillaman/wip-tests-librbd-gmock-state-machines

librbd: initial collection of state machine unit tests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: partial revert of commit 9b0e359 6789/head
Jason Dillaman [Thu, 3 Dec 2015 12:53:42 +0000 (07:53 -0500)]
librbd: partial revert of commit 9b0e359

Fixes: #13969
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agodoc/dev/index.rst: start writing Bugfixing chapter
Nathan Cutler [Thu, 3 Dec 2015 08:54:11 +0000 (09:54 +0100)]
doc/dev/index.rst: start writing Bugfixing chapter

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6690 from branch-predictor/bp-smaller-pglog-2
Sage Weil [Thu, 3 Dec 2015 11:40:40 +0000 (06:40 -0500)]
Merge pull request #6690 from branch-predictor/bp-smaller-pglog-2

osd: slightly reduce actual size of pg_log_entry_t

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6689 from 0003ydlom/doubled_cond
Sage Weil [Thu, 3 Dec 2015 11:40:13 +0000 (06:40 -0500)]
Merge pull request #6689 from 0003ydlom/doubled_cond

osd: avoid duplicate op->mark_started in ReplicatedBackend

Reviewed-by: xinxin shu <xinxin.shu@intel.com>
9 years agoMerge pull request #6681 from ifed01/wip-objstore-bench-stabilization
Sage Weil [Thu, 3 Dec 2015 11:39:09 +0000 (06:39 -0500)]
Merge pull request #6681 from ifed01/wip-objstore-bench-stabilization

ceph_objectstore_bench: fix race condition, bugs

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6677 from jack-changtao/test-bench
Sage Weil [Thu, 3 Dec 2015 11:38:19 +0000 (06:38 -0500)]
Merge pull request #6677 from jack-changtao/test-bench

rados: bench: fix off-by-one to avoid writing past object_size

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6555 from mslovy/wip-reduce-omap-transaction
Sage Weil [Thu, 3 Dec 2015 11:37:11 +0000 (06:37 -0500)]
Merge pull request #6555 from mslovy/wip-reduce-omap-transaction

osd: don't update epoch and rollback_info objects attrs if there is no need

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agocmake: add rgw_basic_types.cc to librgw.a 6786/head
Orit Wasserman [Thu, 3 Dec 2015 10:58:28 +0000 (11:58 +0100)]
cmake: add rgw_basic_types.cc to librgw.a

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agodoc/dev/index.rst: rewrite introductory material
Nathan Cutler [Thu, 3 Dec 2015 08:53:35 +0000 (09:53 +0100)]
doc/dev/index.rst: rewrite introductory material

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6784 from ceph/wip-5073
Yehuda Sadeh [Thu, 3 Dec 2015 05:52:00 +0000 (21:52 -0800)]
Merge pull request #6784 from ceph/wip-5073

rgw multitenancy

Buckets and users can now have a tenant associated with them. Buckets can be specified as [<tenant>:]<bucket> and users can be specified as [<tenant>$]<uid>. The existing users and buckets are part of the default global tenant.
This is first phase. Future work will add tighter integration (e.g., swift tenant mapping, s3 subdomain tenant mapping, etc.)

Reviewed-by: Pete Zaitcev <zaitcev@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agodoc/dev/index.rst: fix headings
Nathan Cutler [Wed, 2 Dec 2015 23:30:24 +0000 (00:30 +0100)]
doc/dev/index.rst: fix headings

This commit fixes the headings so they render properly on http://ceph.com

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6727 from smithfarm/wip-index
Loic Dachary [Wed, 2 Dec 2015 23:18:31 +0000 (00:18 +0100)]
Merge pull request #6727 from smithfarm/wip-index

doc/dev/index.rst: begin writing Contributing to Ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc/dev/index.rst: begin writing Contributing to Ceph 6727/head
Nathan Cutler [Sun, 29 Nov 2015 23:51:11 +0000 (00:51 +0100)]
doc/dev/index.rst: begin writing Contributing to Ceph

Replace existing index.rst with the beginnings of a comprehensive
developer guide.

Move the old index.rst to index-old.rst.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agocommon: lockdep now tracks lock ordering when backtraces disabled 6777/head
Jason Dillaman [Wed, 2 Dec 2015 19:28:18 +0000 (14:28 -0500)]
common: lockdep now tracks lock ordering when backtraces disabled

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: correct lock ordering issues discovered by lockdep
Jason Dillaman [Wed, 2 Dec 2015 19:27:57 +0000 (14:27 -0500)]
librbd: correct lock ordering issues discovered by lockdep

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6775 from mkoderer/doc/fixowner
Danny Al-Gaaf [Wed, 2 Dec 2015 19:18:37 +0000 (20:18 +0100)]
Merge pull request #6775 from mkoderer/doc/fixowner

doc: remove unnecessary period in headline

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
9 years agodoc: remove unnecessary period in headline 6775/head
Marc Koderer [Wed, 2 Dec 2015 19:05:26 +0000 (20:05 +0100)]
doc: remove unnecessary period in headline

Signed-off-by: Marc Koderer <marc@koderer.com>
9 years agojournal: correct lock ordering issues discovered by lockdep
Jason Dillaman [Wed, 2 Dec 2015 18:35:21 +0000 (13:35 -0500)]
journal: correct lock ordering issues discovered by lockdep

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorgw: remove comments 6784/head
Yehuda Sadeh [Mon, 30 Nov 2015 21:57:56 +0000 (13:57 -0800)]
rgw: remove comments

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: a minor cleanup
Yehuda Sadeh [Mon, 30 Nov 2015 21:51:35 +0000 (13:51 -0800)]
rgw: a minor cleanup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: don't re-set bucket tenant and name when selecting location
Yehuda Sadeh [Mon, 30 Nov 2015 21:50:07 +0000 (13:50 -0800)]
rgw: don't re-set bucket tenant and name when selecting location

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix a typo
Yehuda Sadeh [Mon, 30 Nov 2015 21:48:10 +0000 (13:48 -0800)]
rgw: fix a typo

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: don't allow cross-tenant bucket creation
Yehuda Sadeh [Mon, 30 Nov 2015 21:46:05 +0000 (13:46 -0800)]
rgw: don't allow cross-tenant bucket creation

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: avoid calling rgw_make_bucket_entry_name() when not needed
Yehuda Sadeh [Mon, 30 Nov 2015 20:15:24 +0000 (12:15 -0800)]
rgw: avoid calling rgw_make_bucket_entry_name() when not needed

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: objexp hint name backward compatibility
Yehuda Sadeh [Mon, 30 Nov 2015 19:56:03 +0000 (11:56 -0800)]
rgw: objexp hint name backward compatibility

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: inherit bucket tenant from user if not specified
Yehuda Sadeh [Mon, 30 Nov 2015 19:33:48 +0000 (11:33 -0800)]
rgw: inherit bucket tenant from user if not specified

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6739 from dreamhost/wip-13920
Samuel Just [Wed, 2 Dec 2015 17:58:52 +0000 (09:58 -0800)]
Merge pull request #6739 from dreamhost/wip-13920

Gentoo: _FORTIFY_SOURCE fix.

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #6771 from dillaman/wip-backtrace-fixes
Loic Dachary [Wed, 2 Dec 2015 16:14:07 +0000 (17:14 +0100)]
Merge pull request #6771 from dillaman/wip-backtrace-fixes

common: re-enable backtrace support

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agotests: initial set of test cases for op state machines 6703/head
Jason Dillaman [Wed, 19 Aug 2015 17:32:42 +0000 (13:32 -0400)]
tests: initial set of test cases for op state machines

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: snap create doesn't properly handle race conditions
Jason Dillaman [Wed, 25 Nov 2015 19:09:25 +0000 (14:09 -0500)]
librbd: snap create doesn't properly handle race conditions

The ESTALE result code was being filtered out, preventing the retry
logic.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: use md_ctx for self-managed snapshot management
Jason Dillaman [Wed, 25 Nov 2015 19:06:03 +0000 (14:06 -0500)]
librbd: use md_ctx for self-managed snapshot management

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: convert op state machines to templates
Jason Dillaman [Wed, 19 Aug 2015 17:10:57 +0000 (13:10 -0400)]
librbd: convert op state machines to templates

Using templates allows the creation of mocked test cases to
verify non-librados expectations.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: add gmock unit tests for librbd object map state machines
Jason Dillaman [Tue, 18 Aug 2015 17:44:02 +0000 (13:44 -0400)]
tests: add gmock unit tests for librbd object map state machines

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: ensure object map is invalidated on disk if forced
Jason Dillaman [Wed, 25 Nov 2015 16:46:00 +0000 (11:46 -0500)]
librbd: ensure object map is invalidated on disk if forced

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6657 from kylinstorage/wip-rbd-nbd
Jason Dillaman [Wed, 2 Dec 2015 15:38:54 +0000 (10:38 -0500)]
Merge pull request #6657 from kylinstorage/wip-rbd-nbd

rbd-nbd: network block device (NBD) support for RBD

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6769 from aiicore/configure_fix
branto1 [Wed, 2 Dec 2015 13:31:48 +0000 (14:31 +0100)]
Merge pull request #6769 from aiicore/configure_fix

configure.ac: macro fix

Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agoconfigure.ac: macro fix 6769/head
Igor Podoski [Wed, 2 Dec 2015 06:25:00 +0000 (07:25 +0100)]
configure.ac: macro fix

Configure fails with autoconf 2.63 on Centos 6.6 with:

./configure: line 34026: syntax error near unexpected token `newline'
./configure: line 34026: `  yes:no:'

Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
9 years agoMerge pull request #5685 from ceph/wip-12133
Yan, Zheng [Wed, 2 Dec 2015 08:15:50 +0000 (16:15 +0800)]
Merge pull request #5685 from ceph/wip-12133

cephfs-data-scan: scrub tag filtering (#12133 and #12145)

9 years agotools/cephfs: enable tag filter in DataScan 5685/head
John Spray [Mon, 27 Jul 2015 10:07:49 +0000 (11:07 +0100)]
tools/cephfs: enable tag filter in DataScan

Fixes: #12133
Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotools/cephfs: fix datascan kwarg parsing
John Spray [Fri, 24 Jul 2015 13:57:01 +0000 (14:57 +0100)]
tools/cephfs: fix datascan kwarg parsing

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agocls_cephfs: add PGLSCephFSFilter
John Spray [Fri, 17 Jul 2015 13:19:57 +0000 (14:19 +0100)]
cls_cephfs: add PGLSCephFSFilter

Special purpose filter for use with CephFS disaster
recovery.

Fixes: #12145
Signed-off-by: John Spray <john.spray@redhat.com>
9 years agocommon: re-enable backtrace support 6771/head
Jason Dillaman [Wed, 2 Dec 2015 05:43:48 +0000 (00:43 -0500)]
common: re-enable backtrace support

A recent porting effort disabled support for backtrace creation.  It
also didn't initialize all variables, which would lead to a crash when
deleting a backtrace instance.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6719 from jcsp/wip-13898
Yan, Zheng [Wed, 2 Dec 2015 03:44:22 +0000 (11:44 +0800)]
Merge pull request #6719 from jcsp/wip-13898

tools: Fix layout handing in cephfs-data-scan (#13898)

9 years agoUpdate man page for new rbd nbd command 6657/head
Yunchuan Wen [Wed, 2 Dec 2015 03:27:32 +0000 (11:27 +0800)]
Update man page for new rbd nbd command

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
9 years agoupdate test_librbd_fsx to support rbd-nbd
Yunchuan Wen [Thu, 19 Nov 2015 08:08:50 +0000 (16:08 +0800)]
update test_librbd_fsx to support rbd-nbd

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
9 years agoadd rbd-nbd man page reference
Yunchuan Wen [Sun, 15 Nov 2015 10:26:51 +0000 (18:26 +0800)]
add rbd-nbd man page reference

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
9 years agoadd rbd-nbd wrap to rbd CLI
Yunchuan Wen [Wed, 2 Dec 2015 03:29:01 +0000 (11:29 +0800)]
add rbd-nbd wrap to rbd CLI

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
9 years agoMerge pull request #6661 from xiaoxichen/rbd_misc_fix1
Josh Durgin [Wed, 2 Dec 2015 03:06:44 +0000 (19:06 -0800)]
Merge pull request #6661 from xiaoxichen/rbd_misc_fix1

cls/cls_rbd.cc: fix misused metadata_name_from_key

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agocls/cls_rbd.cc: no need to skip key == after. 6661/head
Xiaoxi Chen [Fri, 20 Nov 2015 08:00:19 +0000 (16:00 +0800)]
cls/cls_rbd.cc: no need to skip key == after.

We already skip the pair where key == after in both LevelDBWholeSpaceIteratorImpl::upper_bound
and RocksDBWholeSpaceIteratorImpl::upper_bound.

Fixes: #13922
Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
9 years agojournal: fire replay complete event after reading last object 6762/head
Jason Dillaman [Wed, 2 Dec 2015 02:36:47 +0000 (21:36 -0500)]
journal: fire replay complete event after reading last object

Fixes: #13924
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6742 from dillaman/wip-13913
Josh Durgin [Tue, 1 Dec 2015 16:31:14 +0000 (08:31 -0800)]
Merge pull request #6742 from dillaman/wip-13913

librbd: automatically flush IO after blocking write operations

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoinit-ceph: fix systemd-run cant't start ceph daemon sometimes
wangchaunhong [Tue, 20 Oct 2015 10:40:23 +0000 (18:40 +0800)]
init-ceph: fix systemd-run cant't start ceph daemon sometimes

Fixes: #13474
Signed-off-by: Chuanhong Wang <wang.chuanhong@zte.com.cn>
9 years agoMerge pull request #6749 from dachary/wip-doc-install
Loic Dachary [Tue, 1 Dec 2015 15:03:54 +0000 (16:03 +0100)]
Merge pull request #6749 from dachary/wip-doc-install

doc: INSTALL redirect to online documentation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agotools/cephfs: fix layout handling in injection 6719/head
John Spray [Fri, 27 Nov 2015 01:21:12 +0000 (01:21 +0000)]
tools/cephfs: fix layout handling in injection

When the stashed-layout handling stuff was added,
the guessing part got lost from the path where
we only had a single object.  Broke test_data_scan.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #6729 from majianpeng/librbd-journal
Jason Dillaman [Tue, 1 Dec 2015 14:24:05 +0000 (09:24 -0500)]
Merge pull request #6729 from majianpeng/librbd-journal

librbd: only send signal when AIO completions queue empty

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6751 from ceph/wip-cmake-strerror_r
John Spray [Tue, 1 Dec 2015 14:17:46 +0000 (14:17 +0000)]
Merge pull request #6751 from ceph/wip-cmake-strerror_r

cmake: define STRERROR_R_CHAR_P for GNU-specific strerror_r

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #5465 from yuyuyu101/wip-librbd-ap
Jason Dillaman [Tue, 1 Dec 2015 14:16:19 +0000 (09:16 -0500)]
Merge pull request #5465 from yuyuyu101/wip-librbd-ap

librbd: support eventfd for AIO completion notifications

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agocmake: define STRERROR_R_CHAR_P for GNU-specific strerror_r 6751/head
Ilya Dryomov [Tue, 1 Dec 2015 14:07:48 +0000 (15:07 +0100)]
cmake: define STRERROR_R_CHAR_P for GNU-specific strerror_r

This is what autotools does with AC_FUNC_STRERROR_R bit.  It takes us
from

    $ monmaptool --print nonexistant
    monmaptool: monmap file nonexistant
    monmaptool: couldn't open nonexistant: (2)

to

    $ monmaptool --print nonexistant
    monmaptool: monmap file nonexistant
    monmaptool: couldn't open nonexistant: (2) No such file or directory

on cmake - otherwise we end up using GNU-specific version as if it was
the POSIX version.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
9 years agoMerge pull request #6745 from drunkard/master
Sage Weil [Tue, 1 Dec 2015 13:59:57 +0000 (08:59 -0500)]
Merge pull request #6745 from drunkard/master

doc: fix typo in cephfs/quota

9 years agoMerge remote-tracking branch 'gh/jewel'
Sage Weil [Tue, 1 Dec 2015 13:51:48 +0000 (08:51 -0500)]
Merge remote-tracking branch 'gh/jewel'

9 years agodoc: INSTALL redirect to online documentation 6749/head
Loic Dachary [Tue, 1 Dec 2015 13:28:05 +0000 (14:28 +0100)]
doc: INSTALL redirect to online documentation

The INSTALL file has obsolete and misleading instructions to compile
from sources (-pg actually fails at link time). Replace with links to
the online installation and build from source documentations.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoqa/workunits/cephtool/test.sh: no ./ 6748/head
Sage Weil [Sun, 29 Nov 2015 14:50:46 +0000 (09:50 -0500)]
qa/workunits/cephtool/test.sh: no ./

Introduced by 1ace4d03b23b80c699f4861d004f3212ca56a323

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc: typo fix in cephfs/quota 6745/head
Drunkard Zhang [Tue, 1 Dec 2015 09:15:29 +0000 (17:15 +0800)]
doc: typo fix in cephfs/quota

9 years agolibrbd/JournalReplay: Only Send signal when aio completions queue empty. 6729/head
Jianpeng Ma [Fri, 27 Nov 2015 02:27:47 +0000 (10:27 +0800)]
librbd/JournalReplay: Only Send signal when aio completions queue empty.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
9 years agoMerge pull request #6697 from XinzeChi/wip-scrub-test
Loic Dachary [Tue, 1 Dec 2015 08:50:06 +0000 (09:50 +0100)]
Merge pull request #6697 from XinzeChi/wip-scrub-test

test: fix osd-scrub-snaps.sh

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agotest: fix osd-scrub-snaps.sh 6697/head
Xinze Chi [Wed, 25 Nov 2015 12:19:54 +0000 (20:19 +0800)]
test: fix osd-scrub-snaps.sh

when we run run-make-check.sh in hdd disk, it would spend much more
time to finish scrub.

Signed-off-by: Xinze Chi <xinze@xsky.com>
9 years agotest: add pg_scrub for ceph-helpers.sh
Xinze Chi [Wed, 25 Nov 2015 12:19:03 +0000 (20:19 +0800)]
test: add pg_scrub for ceph-helpers.sh

Signed-off-by: Xinze Chi <xinze@xsky.com>
9 years agolibrbd: Fix rebase with new io flow 5465/head
Haomai Wang [Fri, 20 Nov 2015 04:27:27 +0000 (12:27 +0800)]
librbd: Fix rebase with new io flow

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agolibrbd: fix lttng tracing argument mismatch
Haomai Wang [Fri, 20 Nov 2015 04:27:18 +0000 (12:27 +0800)]
librbd: fix lttng tracing argument mismatch

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agolibrbd: Add set_event_notify to AioImageRequestWQ
Haomai Wang [Wed, 18 Nov 2015 07:43:51 +0000 (15:43 +0800)]
librbd: Add set_event_notify to AioImageRequestWQ

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agolibrbd: Remove unneeded set_event_notify
Haomai Wang [Mon, 9 Nov 2015 15:05:01 +0000 (23:05 +0800)]
librbd: Remove unneeded set_event_notify

Since xlist clear method invoked below is enough to disassociate the xlist
item from the xlist, so the remove_myself() call in the destructor is safe
to invoke since it's already been removed from the list.

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoMakefile: Add noinst headr files
Haomai Wang [Mon, 9 Nov 2015 15:01:45 +0000 (23:01 +0800)]
Makefile: Add noinst headr files

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agolibrbd: Make rbd header file uses independent enum definition
Haomai Wang [Mon, 9 Nov 2015 14:58:32 +0000 (22:58 +0800)]
librbd: Make rbd header file uses independent enum definition

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoLibrbd: Make AioCompletion complete doesn't unlock if callback
Haomai Wang [Sat, 7 Nov 2015 07:55:47 +0000 (15:55 +0800)]
Librbd: Make AioCompletion complete doesn't unlock if callback

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoLibrbd: fix return code of EventSocket init and notify
Haomai Wang [Sat, 7 Nov 2015 07:54:53 +0000 (15:54 +0800)]
Librbd: fix return code of EventSocket init and notify

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agolibrbd: Add ictx check to avoid AIO_TYPE_NONE completion
Haomai Wang [Fri, 21 Aug 2015 06:54:56 +0000 (14:54 +0800)]
librbd: Add ictx check to avoid AIO_TYPE_NONE completion

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
9 years agolibrbd: normalize notify return code
Haomai Wang [Wed, 19 Aug 2015 08:15:40 +0000 (16:15 +0800)]
librbd: normalize notify return code

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
9 years agolibrbd: Fix incorrect api declaration
Haomai Wang [Thu, 6 Aug 2015 03:14:46 +0000 (11:14 +0800)]
librbd: Fix incorrect api declaration

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
9 years agolibrbd: check event_notify to avoid extra logic
Haomai Wang [Wed, 5 Aug 2015 14:59:32 +0000 (22:59 +0800)]
librbd: check event_notify to avoid extra logic

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
9 years agoEventSocket: Add new event type pipe support
Haomai Wang [Tue, 4 Aug 2015 09:50:36 +0000 (17:50 +0800)]
EventSocket: Add new event type pipe support

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
9 years agotest: Add tests for getting arg of completion
Haomai Wang [Tue, 4 Aug 2015 09:33:39 +0000 (17:33 +0800)]
test: Add tests for getting arg of completion

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
9 years agolibrbd: Add interface to let user can get private data from comp
Haomai Wang [Tue, 4 Aug 2015 09:31:43 +0000 (17:31 +0800)]
librbd: Add interface to let user can get private data from comp

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
9 years agotests: Add tests for user io event notify
Haomai Wang [Tue, 4 Aug 2015 09:22:56 +0000 (17:22 +0800)]
tests: Add tests for user io event notify

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
9 years agolibrbd: Add event notify interfaces
Haomai Wang [Tue, 4 Aug 2015 09:22:40 +0000 (17:22 +0800)]
librbd: Add event notify interfaces

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
9 years agolibrbd: automatically flush IO after blocking write operations 6742/head
Jason Dillaman [Tue, 24 Nov 2015 18:24:01 +0000 (13:24 -0500)]
librbd: automatically flush IO after blocking write operations

This simplifies other state machines that previously had to flush IO
after blocking write operations.

Fixes: #13913
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #6741 from SUSE/wip-tyepdef-typo-fix
Loic Dachary [Mon, 30 Nov 2015 23:58:30 +0000 (00:58 +0100)]
Merge pull request #6741 from SUSE/wip-tyepdef-typo-fix

include/rados/librados.h: fix typo

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoinclude/rados/librados.h: fix typo 6741/head
Nathan Cutler [Mon, 30 Nov 2015 23:26:08 +0000 (00:26 +0100)]
include/rados/librados.h: fix typo

This typo causes a warning when building the docs.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #6740 from dillaman/wip-13911
Josh Durgin [Mon, 30 Nov 2015 22:50:27 +0000 (14:50 -0800)]
Merge pull request #6740 from dillaman/wip-13911

librbd: ensure copy-on-read requests are complete prior to closing parent image

Reviewed-by: Josh Durgin <jdurgin@redhat.com>