Commit Graph

46728 Commits

Author SHA1 Message Date
Yehuda Sadeh
eb81cc44ef Merge pull request #6774 from ceph/wip-rgw-cap-fix
rgw: add a missing cap type
2015-12-07 10:42:18 -08:00
Mykola Golub
a828a4df54 osd: fix arithmetic exception when scrub_min_interval is small
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-07 20:41:16 +02:00
Mykola Golub
9d88f1acb8 osd: more scrubber fields in pg query output
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-07 20:41:16 +02:00
Mykola Golub
15b24058bc osd: use hexdump when logging CRC values
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-07 20:41:16 +02:00
Douglas Fuller
9af8d6f03b qa/krbd: Expunge generic/247
xfstests generic/247 exercises XFS DIO and AIO to detect races. Some
races apparently exist in the XFS code as this is a known issue within
XFS. Expunge this test because it is not specifically relevant to krbd
and not a specific krbd issue.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2015-12-07 09:24:33 -08:00
Dunrong Huang
2eb0bf3224 tests: make sure no segfault occurs when using some bad keyring
Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
2015-12-08 00:27:43 +08:00
Orit Wasserman
f2f92c8444 cmake: add TracepointProvider.cc to libcommon
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-12-07 16:22:28 +01:00
Orit Wasserman
12d5b65fae Merge pull request #6805 from zaitcev/cmake-pluginregistry
cmake: Add common/PluginRegistry.cc to CMakeLists.txt
2015-12-07 16:16:26 +01:00
Lenz Grimmer
3e23e45dd7 doc: Fixed incorrect name of a "List Multipart Upload Parts" Response Entity
Fixed incorrect name of a "List Multipart Upload Parts" Response Entity:
"InitiatedMultipartUploadsResult" -> "ListPartsResult"

Fixes: #14003

Signed-off-by: Lenz Grimmer <lenz@grimmer.com>
2015-12-07 15:54:49 +01:00
Mykola Golub
c83d6dbf5c cmake: update for recent rbd changes
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-07 11:13:47 +02:00
Loic Dachary
8eb0ed1dcd Merge pull request #6816 from drunkard/doc
doc: rst style fix for pools document

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-07 10:02:02 +01:00
Loic Dachary
273c52a597 Merge pull request #6820 from mikulely/add-umcloud-affiliation
Add UMCloud affiliation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-07 09:52:05 +01:00
Jiaying Ren
25c70cfc9b Update Jiaying Ren affinity
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2015-12-07 16:17:44 +08:00
Jiaying Ren
c11ca42684 Update Rongze Zhu affinity
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2015-12-07 16:17:08 +08:00
Gregory Farnum
47c7893446 Merge pull request #6655 from jcsp/wip-inode-claim
tools: add cephfs-table-tool 'take_inos'

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2015-12-06 21:09:56 -08:00
Gregory Farnum
66de0e3215 Merge pull request #6567 from jcsp/wip-layout-restrict
mds: add 'p' flag in auth caps to control setting pool in layout

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-06 21:05:30 -08:00
Gregory Farnum
b1d5c48187 Merge pull request #6601 from jcsp/wip-13777-caps
mon: don't require OSD W for MRemoveSnaps

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-06 21:03:25 -08:00
Drunkard Zhang
593c1249d2 doc: rst style fix for pools document
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2015-12-07 10:45:03 +08:00
Sage Weil
e62954e07b deb,rpm: package buffer_fwd.h
Introduced by 206b8e2cc6.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-12-06 09:24:17 -05:00
Loic Dachary
a60a9c97e7 Merge pull request #6803 from dachary/wip-13975-systemd-flock
build/ops: systemd ceph-disk unit must not assume /bin/flock

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
2015-12-05 18:42:08 +01:00
Loic Dachary
59c7fa091d Merge pull request #6811 from smithfarm/wip-submitting-jewel
SubmittingPatches: there is no next; only jewel

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-05 18:11:53 +01:00
Nathan Cutler
1adf3063ac SubmittingPatches: there is no next; only jewel
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-05 17:20:50 +01:00
Loic Dachary
b0997bc5aa Merge pull request #6792 from smithfarm/wip-index-20151202
Wip index 20151202

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-05 02:36:26 +01:00
Josh Durgin
fb96b514bf Merge pull request #6795 from ceph/pybind-rados-exec
pybind: support ioctx:exec

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-04 17:31:30 -08:00
Pete Zaitcev
8160f9eb7d Add common/PluginRegistry.cc to CMakeLists.txt
Else this happens:

  [ 15%] Linking CXX executable ceph-authtool
  libcommon.a(ceph_context.cc.o): In function `CephContext::CephContext(unsigned int, int)':
  ceph_context.cc:(.text+0x2620): undefined reference to `ceph::PluginRegistry::PluginRegistry(CephContext*)'
  libcommon.a(ceph_context.cc.o): In function `CephContext::~CephContext()':
  ceph_context.cc:(.text+0x3db0): undefined reference to `ceph::PluginRegistry::~PluginRegistry()'
  collect2: error: ld returned 1 exit status
  src/CMakeFiles/ceph-authtool.dir/build.make:120: recipe for target 'src/ceph-authtool' failed
  make[2]: *** [src/ceph-authtool] Error 1
  CMakeFiles/Makefile2:331: recipe for target 'src/CMakeFiles/ceph-authtool.dir/all' failed

The ceph_context.cc is the only user of PluginRegistry at
present, so adding it without conditionals should be correct.

Signed-Off-By: Pete Zaitcev <zaitcev@redhat.com>
2015-12-04 16:24:08 -07:00
Nathan Cutler
c1daf4e6f8 doc/dev/index.rst: wholesale refactor
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-12-04 23:58:11 +01:00
Noah Watkins
a62b5ac986 pybind: support ioctx:exec
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-12-04 14:56:46 -08:00
Sage Weil
7f81728810 common/Makefile: ship common/event_socket.h
Broken in commit 5eb64dd324.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-12-04 16:09:11 -05:00
Loic Dachary
c8f7d44c93 build/ops: systemd ceph-disk unit must not assume /bin/flock
The flock command may be installed elsewhere, depending on the
system. Let the PATH search figure that out.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-12-04 21:11:09 +01:00
Josh Durgin
73aab5e93e test: use sequential journal_tid for object cacher test
This matches the real usage by librbd.

Fixes: #13877
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 9331e031bd)
2015-12-04 11:11:20 -08:00
Dan Mick
014b8e25ea Merge pull request #6788 from dachary/wip-13878-ec-pool
test/librados/test.cc: clean up EC pools' crush rules too

Reviewed-by: Dan Mick <dmick@redhat.com>
2015-12-04 11:19:20 -07:00
Josh Durgin
9e07b8afdf Merge pull request #6665 from trociny/wip-librbd-journal
rbd: journal: configuration via conf, cli, api and some fixes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-12-04 09:20:03 -08:00
Josh Durgin
a5d3370bbd Merge pull request #6800 from dillaman/wip-13969
librbd: fix known test case race condition failures

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-04 09:13:51 -08:00
Jason Dillaman
6cbf128b94 tests: wait for mocked requests to complete
Fixes: #13969
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-04 10:39:15 -05:00
Sage Weil
b91cd9d495 Merge pull request #6641 from aclamk/wip-log-alloc-predictor
common: log: predict log message buffer allocation size

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-04 10:37:48 -05:00
Sage Weil
89435f21b9 Merge pull request #6642 from 0003ydlom/decode_reorder
osd: move newest decode version of MOSDOp and MOSDOpReply to the front

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-04 10:34:44 -05:00
Jason Dillaman
fde9f785cd librbd: do not complete AIO callbacks within caller's thread context
Avoid rare, racy issues when individual requests associated with an AIO
completion can complete prior to marking the completion as ready-to-fire.
Pre-calculate the expected number of individual requests to avoid the
potential re-entrant callback.

Fixes: #13969
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-12-04 10:25:24 -05:00
Sage Weil
375137bf8b Merge pull request #6696 from Ved-vampir/wip_common_plugin
common: add generic plugin infrastructure

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2015-12-04 10:19:11 -05:00
Sage Weil
8d5e05a5cd Merge pull request #6779 from ceph/wip-librados-xattr
librados: avoid malloc(0) (which can return NULL on some platforms)

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-04 10:15:54 -05:00
Sage Weil
43268f20ba Merge pull request #6759 from liewegas/wip-bdev-probe
osd: make backend and block device code a bit more generic

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2015-12-04 10:14:34 -05:00
Sage Weil
ff699d7dd0 Merge pull request #6686 from stiopaa1/namespace_buffer
common: use namespace instead of subclasses for buffer

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-04 10:13:47 -05:00
Sage Weil
7643ce9cfd Merge pull request #6535 from mslovy/wip-crc-cache-tracker
common: buffer: add cached_crc and cached_crc_adjust counts to perf dump

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-04 10:13:07 -05:00
Sage Weil
97e74a1d82 Merge pull request #6058 from guangyy/wip-pg-query
osd: dump number of missing objects for each peer with pg query

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-04 10:10:19 -05:00
Sage Weil
c3e3ee05d8 Merge pull request #5953 from guangyy/wip-13121
osd: support pool level recovery_priority and recovery_op_priority

Reviewed-by: David Zafman <dzafman@redhat.com>
2015-12-04 10:09:13 -05:00
Sage Weil
673d852115 Merge pull request #5670 from david-z/master
osd: FileJournal: reduce locking scope in write_aio_bl

Reviewed-by: Haomai Wang <haomai@xsky.com>
2015-12-04 10:00:54 -05:00
Jason Dillaman
1fffb25e29 Merge pull request #6798 from trociny/fix-rbd_mirror-bool
librbd: include missing header for bool type

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-12-04 08:40:26 -05:00
Mykola Golub
32597cab43 librbd: include missing header for bool type
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-04 15:10:51 +02:00
Mykola Golub
5622d3ff7d rbd: alow to specify options for created journal
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-04 13:18:30 +02:00
Mykola Golub
47f561082f librbd: journal options on image create/clone/copy
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-04 13:18:30 +02:00
Mykola Golub
89c716ffcd librbd: output operator for image options
It is going to be used for diagnostic.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-12-04 13:18:30 +02:00