Commit Graph

46007 Commits

Author SHA1 Message Date
Sage Weil
ef2fec7844 Merge pull request #6566 from kylinstorage/wip-fix-wrong-use-parenthesis
osd: fix wrong use of right parenthesis in localized read logic

Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-14 21:38:50 -05:00
Ilya Dryomov
481bb2ce1b rbd: accept --user, refuse -i
--user is the equivalent of --id (mentioned in docs and ceph -h) and
used by at least a couple of qa scripts and teuthology.  Add it to the
list of valid rbd options - it's handled inside global_init() before
Shell:execute() is called.

OTOH allowing -i is bogus - global_init() wouldn't process it for
clients (CEPH_ENTITY_TYPE_CLIENT), which rbd tool is one of.  Drop it.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
2015-11-14 22:35:19 +01:00
Sage Weil
02acff3954 Merge pull request #6584 from dachary/wip-test
tests: ignore test-suite.log

Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-14 12:50:16 -05:00
Sage Weil
118fc22207 Merge pull request #6583 from ceph/wip-krbd-map-args
rbd: unbreak rbd map + cephx_sign_messages option

Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-14 12:27:43 -05:00
Loic Dachary
8629b61b63 tests: ignore test-suite.log
Now that the tests at the top level directory are run via TESTS and not
check-local:, the test-suite.log file is created and must bit
gitignored.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-14 17:57:23 +01:00
Ilya Dryomov
f2432e01f2 rbd: recognize cephx_sign_messages option
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
2015-11-14 16:39:35 +01:00
Ilya Dryomov
34b2b8f48a rbd: unbreak rbd map CLI
Previously, if snapname wasn't specified we would pass NULL to
krbd_map(), which was a cue for it to use "-" as a snapshot name.  With
the new rbd CLI, "" is passed in; same goes for map options.

Change krbd_map() accordingly and update its other user.

Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
2015-11-14 16:38:53 +01:00
Xinze Chi
c6a2ec2733 tests: fix test case using new api
Signed-off-by: Xinze Chi <xinze@xsky.com>
2015-11-14 17:45:15 +08:00
Sage Weil
492720e85d Merge pull request #6574 from yuyuyu101/fix-broken-kinects
kv/KineticStore: fix broken split_key

Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-13 21:14:56 -05:00
Sage Weil
6015bfb2eb Merge pull request #6571 from dachary/wip-test-run-cli
tests: restore run-cli-tests
2015-11-13 19:27:45 -05:00
Loic Dachary
7d926ce7e0 Merge pull request #6578 from dachary/wip-13785-debian-rbd-replay
build/ops: rbd-replay moved from ceph-test-dbg to ceph-common-dbg

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-11-13 22:04:56 +01:00
Sage Weil
8d3082df78 Merge pull request #4737 from kylinstorage/wip-temp-based-object-eviction
osd: improve temperature calculation for cache tier agent

Reviewed-by: Sage Weil
2015-11-13 15:39:54 -05:00
Sage Weil
a8f2e23781 Merge pull request #6422 from xiexingguo/xxg-wip13639
librados: fix potential null pointer access when do pool_snap_list

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-11-13 15:22:08 -05:00
Sage Weil
bc450675c8 Merge pull request #6486 from XinzeChi/wip-multiple-finisher
osd: FileStore: support multiple ondisk finish and apply finishers

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2015-11-13 15:20:48 -05:00
Sage Weil
954ddc83bc Merge pull request #6518 from kylinstorage/wip-trivial-optimization
osd: optimize scrub subset_last_update calculation

Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-13 15:20:13 -05:00
Loic Dachary
a0204dc47a build/ops: rbd-replay moved from ceph-test-dbg to ceph-common-dbg
http://tracker.ceph.com/issues/13785 Fixes: #13785

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-13 19:11:48 +01:00
Loic Dachary
fe012a2200 tests: avoid bashism
The shell used by the cli tests is not always bash. Not using the
here-word is also more readable in this specific case.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-13 18:47:31 +01:00
Jason Dillaman
5281bdde58 rbd: hardcode application name into help
Avoid dynamically detecting the application name and instead hardcode
the rbd CLI name into the help output.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-13 18:33:21 +01:00
David Zafman
e89f0e1c5e ceph-objectstore-tool: Add dry-run checking to ops missing it
Update test to check most operations

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-11-13 09:22:10 -08:00
David Zafman
4666d5ffb2 ceph-objectstore-tool: Remove unused function (cleanup)
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-11-13 09:22:10 -08:00
David Zafman
e6f1bdcd31 test: Remove redundant test output
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-11-13 09:22:10 -08:00
David Zafman
9a29c5983c test: Verify replicated PG beyond just data after vstart
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-11-13 09:22:10 -08:00
David Zafman
92d00f2280 test: Fix verify() used after import to also check xattr and omap
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-11-13 09:22:10 -08:00
David Zafman
cbaed6a8c7 test: Add test cases for xattr and omap ceph-objectstore-tool operations
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-11-13 09:22:10 -08:00
Haomai Wang
c549a8cc0b kv/KineticStore: Fix broken split_key
Introduced by PR #6312

Signed-off-by: Haomai Wang <haomai@xsky.com>
2015-11-14 01:04:11 +08:00
vasukulkarni
2b8c30d4b6 Update infernalis release notes
Update infernalis release notes

Signed-off-by: Vasu Kulkarni vasu@redhat.com
2015-11-13 09:02:20 -08:00
Loic Dachary
d0e9c40177 tests: restore run-cli-tests
e4ca468 moved src/test/run-cli-tests from check-local to check_SCRIPTS
but did not add it to the TESTS variable.

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-11-13 17:44:15 +01:00
Rohan Mars
131deb3976 SIGPIPE suppression for platforms without SO_NOSIGPIPE or MSG_NOSIGNAL
Signed-off-by: Rohan Mars <code@rohanmars.com>
2015-11-13 08:18:35 -08:00
Sage Weil
c73e96a39a radosgw-admin: fix cli tests
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-13 10:06:18 -05:00
Sage Weil
4ff0368d55 osdmaptool: fix cli tests
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-13 10:05:53 -05:00
Sage Weil
a5b04650ae crushtool: fix cli tests
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-13 09:53:37 -05:00
Sage Weil
b7bb21671a crushtool: fix cli test help
Signed-off-by: Sage Weil <sage@redhat.com>
2015-11-13 09:27:28 -05:00
Loic Dachary
1d03924a11 Merge pull request #6532 from dachary/wip-mailmap
mailmap: Ubuntu Kylin name changed to Kylin Cloud

Reviewed-by: Li Wang <li.wang@kylin-cloud.com>
2015-11-13 15:14:11 +01:00
Sage Weil
f622301fd1 Merge pull request #5848 from storage-zuiwanyuan/wip-nonblock-connect
msg/async: support of non-block connect in async messenger

Reviewed-by: Haomai Wang <haomai@xsky.com>
2015-11-13 09:04:47 -05:00
Sage Weil
0fa88ea981 Merge pull request #6478 from yuyuyu101/wip-13666
msg/async: let receiver ack message ASAP

Reviewed-by: Sage Weil <sage@redhat.com>
2015-11-13 09:03:35 -05:00
Jie Wang
0533cf9d0c osd: fix wrong use of right parenthesis
Signed-off-by: Jie Wang <jie.wang@kylin-cloud.com>
Reviewed-by: Li Wang <li.wang@kylin-cloud.com>
2015-11-13 21:58:26 +08:00
Jianhui Yuan
0fd8de3f21 msg/async: support of non-block connect in async messenger
Fixes: #12802

Signed-off-by: Jianhui Yuan <zuiwanyuan@gmail.com>
2015-11-13 15:36:36 +08:00
Kefu Chai
14df4b04c6 Merge pull request #6534 from kylinstorage/wip-trivial-scrub-cleanup
osd: clarify the scrub result report

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-11-13 15:28:39 +08:00
Li Wang
785e58ebde scrub: clarify the result report
It may happen that the authoritative object
such that auth.size != be_get_ondisk_size(auth_oi.size),
in that case, clarify the error report.

Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2015-11-13 15:03:17 +08:00
Jason Dillaman
a3aa565bfb journal: avoid holding lock while marking ops are complete
There is a possibility of a race if the JournalTrimmer destructor is
waiting for an async op to complete but the op is flagged as complete
while the mutex is being held.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-13 02:00:21 -05:00
Jason Dillaman
4719696cad cmake: updates for refactored librbd IO path
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 23:27:57 -05:00
Jason Dillaman
10deea8d7c librbd: flush journal entries prior to releasing lock
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 23:27:57 -05:00
Jason Dillaman
b51531414d librbd: only erase IO events after they are marked safe
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 23:27:57 -05:00
Jason Dillaman
5cf282a685 tests: librbd updates for C++11
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 23:27:56 -05:00
Jason Dillaman
25072e4a19 tests: verify librbd journal entries are written to disk
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 23:27:55 -05:00
Jason Dillaman
107bca7565 librbd: treat flush op as a write op
This will ensure that the journal is properly opened to handle
appending events.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 23:27:07 -05:00
Jason Dillaman
c67a85e235 tests: verify proper handling of librbd replay of IO journal events
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 23:27:07 -05:00
Jason Dillaman
a1affd87b4 tests: updated librbd ImageWatcher listener signature
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 23:27:07 -05:00
Jason Dillaman
b2eb5ab73a librbd: addressed possible race conditions / deadlocks from unit testing
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 23:27:07 -05:00
Jason Dillaman
e34cd8005e librbd: add replay support for IO events
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-11-12 23:27:06 -05:00