Ved-vampir
dc2b1764dd
common: PluginRegistry modification
2015-12-02 14:00:52 +03:00
Sage Weil
5eb64dd324
common: PluginRegistry
...
Generic plugin loader. Based on the ErasureCodePlugin.
Signed-off-by: Sage Weil <sage@redhat.com>
Conflicts:
src/common/Makefile.am
src/common/ceph_context.cc
src/common/ceph_context.h
missing files
2015-12-02 14:00:52 +03:00
Yan, Zheng
0716debe92
Merge pull request #5685 from ceph/wip-12133
...
cephfs-data-scan: scrub tag filtering (#12133 and #12145 )
2015-12-02 16:15:50 +08:00
John Spray
e04beab82a
tools/cephfs: enable tag filter in DataScan
...
Fixes : #12133
Signed-off-by: John Spray <john.spray@redhat.com>
2015-12-02 15:24:04 +08:00
John Spray
9e71abaa0a
tools/cephfs: fix datascan kwarg parsing
...
Signed-off-by: John Spray <john.spray@redhat.com>
2015-12-02 15:16:20 +08:00
John Spray
786d111a97
cls_cephfs: add PGLSCephFSFilter
...
Special purpose filter for use with CephFS disaster
recovery.
Fixes : #12145
Signed-off-by: John Spray <john.spray@redhat.com>
2015-12-02 15:16:16 +08:00
Yan, Zheng
9d42f1abcb
Merge pull request #6719 from jcsp/wip-13898
...
tools: Fix layout handing in cephfs-data-scan (#13898 )
2015-12-02 11:44:22 +08:00
Josh Durgin
fdd1a6b010
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>
2015-12-01 19:06:44 -08:00
Xiaoxi Chen
bff706f48b
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>
2015-12-02 11:01:11 +08:00
Josh Durgin
18c5e18fc5
Merge pull request #6742 from dillaman/wip-13913
...
librbd: automatically flush IO after blocking write operations
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-01 08:31:14 -08:00
wangchaunhong
2f36909e1e
init-ceph: fix systemd-run cant't start ceph daemon sometimes
...
Fixes : #13474
Signed-off-by: Chuanhong Wang <wang.chuanhong@zte.com.cn>
2015-12-01 10:29:09 -05:00
Loic Dachary
9bd4f745d7
Merge pull request #6749 from dachary/wip-doc-install
...
doc: INSTALL redirect to online documentation
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-01 16:03:54 +01:00
John Spray
2ab79d72f3
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>
2015-12-01 14:57:23 +00:00
Jason Dillaman
b2370e4135
Merge pull request #6729 from majianpeng/librbd-journal
...
librbd: only send signal when AIO completions queue empty
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-12-01 09:24:05 -05:00
John Spray
c07c76b8bc
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>
2015-12-01 14:17:46 +00:00
Jason Dillaman
2884d8b4b5
Merge pull request #5465 from yuyuyu101/wip-librbd-ap
...
librbd: support eventfd for AIO completion notifications
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-12-01 09:16:19 -05:00
Ilya Dryomov
184914b8de
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>
2015-12-01 15:07:48 +01:00
Sage Weil
57c7d55856
Merge pull request #6745 from drunkard/master
...
doc: fix typo in cephfs/quota
2015-12-01 08:59:57 -05:00
Sage Weil
48abbe7081
Merge remote-tracking branch 'gh/jewel'
2015-12-01 08:51:48 -05:00
Loic Dachary
e27109ba39
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>
2015-12-01 14:44:02 +01:00
Drunkard Zhang
9fba402413
doc: typo fix in cephfs/quota
2015-12-01 17:15:29 +08:00
Jianpeng Ma
fd684ca15d
librbd/JournalReplay: Only Send signal when aio completions queue empty.
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-12-01 17:14:37 +08:00
Loic Dachary
ac20f38f1f
Merge pull request #6697 from XinzeChi/wip-scrub-test
...
test: fix osd-scrub-snaps.sh
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-01 09:50:06 +01:00
Xinze Chi
2548ad8b67
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>
2015-12-01 11:10:10 +08:00
Xinze Chi
ce2d3c73ba
test: add pg_scrub for ceph-helpers.sh
...
Signed-off-by: Xinze Chi <xinze@xsky.com>
2015-12-01 11:10:10 +08:00
Haomai Wang
c57ceff2e8
librbd: Fix rebase with new io flow
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2015-12-01 10:04:06 +08:00
Haomai Wang
5cc9ff90f8
librbd: fix lttng tracing argument mismatch
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2015-12-01 10:04:01 +08:00
Haomai Wang
1da3093543
librbd: Add set_event_notify to AioImageRequestWQ
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2015-12-01 10:03:54 +08:00
Haomai Wang
bddab3ef21
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>
2015-12-01 10:03:48 +08:00
Haomai Wang
d625b89c0e
Makefile: Add noinst headr files
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2015-12-01 10:03:42 +08:00
Haomai Wang
97507d5cfd
librbd: Make rbd header file uses independent enum definition
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2015-12-01 10:03:37 +08:00
Haomai Wang
c42044af79
Librbd: Make AioCompletion complete doesn't unlock if callback
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2015-12-01 10:03:31 +08:00
Haomai Wang
c470e0bce3
Librbd: fix return code of EventSocket init and notify
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2015-12-01 10:03:26 +08:00
Haomai Wang
d19deacc01
librbd: Add ictx check to avoid AIO_TYPE_NONE completion
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-12-01 10:03:20 +08:00
Haomai Wang
39327146be
librbd: normalize notify return code
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-12-01 10:03:15 +08:00
Haomai Wang
6d114749ff
librbd: Fix incorrect api declaration
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-12-01 10:03:10 +08:00
Haomai Wang
ca32fc5a8e
librbd: check event_notify to avoid extra logic
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-12-01 10:03:04 +08:00
Haomai Wang
c7703db989
EventSocket: Add new event type pipe support
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-12-01 10:02:59 +08:00
Haomai Wang
0dc9321193
test: Add tests for getting arg of completion
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-12-01 10:02:53 +08:00
Haomai Wang
1ab727d194
librbd: Add interface to let user can get private data from comp
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-12-01 10:02:47 +08:00
Haomai Wang
e7a1506b30
tests: Add tests for user io event notify
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-12-01 10:02:42 +08:00
Haomai Wang
c3a1edbd2a
librbd: Add event notify interfaces
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-12-01 10:02:27 +08:00
Jason Dillaman
9b0e3592d6
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>
2015-11-30 19:24:14 -05:00
Loic Dachary
ce944e4cb1
Merge pull request #6741 from SUSE/wip-tyepdef-typo-fix
...
include/rados/librados.h: fix typo
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-01 00:58:30 +01:00
Nathan Cutler
3c6e692ca9
include/rados/librados.h: fix typo
...
This typo causes a warning when building the docs.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-01 00:26:08 +01:00
Josh Durgin
dcce366cd6
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>
2015-11-30 14:50:27 -08:00
Jason Dillaman
6f6fd2f2de
librbd: utilize common flush helper when closing parent images
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-30 16:32:10 -05:00
Jason Dillaman
39c5b701dc
librbd: only enqueue flush completion if a flush is pending
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-30 16:30:51 -05:00
Josh Durgin
55e743fd86
Merge pull request #6737 from dillaman/wip-13912
...
librbd: check for presence of journal before attempting to remove
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-30 12:30:36 -08:00
Yehuda Sadeh
ee41d1da2e
Merge pull request #6668 from zaitcev/cleanup-dead-code-2
...
rgw: Remove unused code in PutMetadataAccount:execute
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2015-11-30 12:30:21 -08:00