Kefu Chai
788bbb55ed
automake: use :: rule for adding target
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-03 10:35:28 +08:00
Haomai Wang
ffce4c53bb
Merge pull request #8072 from yuyuyu101/wip-async-skip-steps
...
async: skip unnecessary steps when parsing simple messages
2016-05-03 10:21:40 +08:00
Matt Benjamin
b233005a74
cmake: fix rbd-nbd linkage
...
Use correct name for librbd, add parse_secret_objs and its
keyutils libdep.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-05-02 20:52:59 -04:00
Josh Durgin
e301ebfe3e
Merge pull request #8883 from dillaman/wip-15685
...
librbd: clone fails if config overridden to use image format 1 by default
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-02 16:17:19 -07:00
Sage Weil
9b0a5bdc87
Merge pull request #8882 from liewegas/wip-check-port
...
test/mon/mon-created-time: put on unique port
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-05-02 18:06:04 -04:00
Sage Weil
0b58e09ad5
Merge pull request #8884 from ktdreyer/docs-packaging
...
doc: remove references to old EOL releases
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-02 18:04:48 -04:00
Josh Durgin
f5e22ce64b
Merge pull request #8864 from trociny/fixup-rbd-mirror-test-log
...
qa/workunits/rbd: fix rbd-mirror log file name
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-02 14:26:54 -07:00
Jason Dillaman
f24c70f543
librbd: default clone operation to image format 2
...
Image format 1 doesn't support clones, so unless the user
overrode the setting, default to format 2.
Fixes: http://tracker.ceph.com/issues/15685
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-02 17:12:08 -04:00
Jason Dillaman
2633b045e0
librbd: add rbd_image_options_is_set helper method to API
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-02 17:11:48 -04:00
Josh Durgin
5157c7d0fa
Merge pull request #8877 from dillaman/wip-15664
...
rbd-mirror: lockdep error during bootstrap
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-02 14:06:40 -07:00
David Zafman
de4681b80a
rados: Balance format sections in same do_get_inconsistent_cmd()
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-02 13:20:09 -07:00
David Zafman
df4bc16c4d
rados: Include epoch in the list-inconsistent-* command output
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-02 13:20:09 -07:00
David Zafman
cea7cf56ee
rados: Improve error messages for list-inconsistent commands
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-02 13:20:09 -07:00
Ken Dreyer
5904d89247
doc: remove references to old EOL releases
...
There were several references to old releases like "dumpling",
"emperor", and "firefly", throughout the docs. Remove these and update
the examples to use jewel instead.
Remove references to CentOS 6 and RHEL 6, since we only support CentOS 7
now.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-05-02 13:54:24 -06:00
Mykola Golub
a22cf518f9
rbd-mirror: admin socket commands to start/stop/restart mirroring
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-02 22:52:02 +03:00
Michal Jarzabek
6f72f9e57e
osd/OSD.h: remove C_OSD_SendMessageOnConn class
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-02 20:45:06 +01:00
Sage Weil
8bbd195fea
test/mon/mon-created-time: put on unique port
...
7122 is also used by test/osd/osd-reactivate.sh
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-02 14:52:59 -04:00
Sage Weil
ba32675f8f
Merge pull request #8770 from ceph/wip-cmake
...
cmake: build fixes
2016-05-02 14:10:11 -04:00
Sage Weil
42b4d7166f
Merge pull request #8844 from stiopaa1/log_removelexical
...
common/Graylog.h: remove lexical cast
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-02 14:08:30 -04:00
Sage Weil
4c2a8463a2
Merge pull request #8879 from ktdreyer/doc-rm-up2date
...
doc: drop references to "up2date"
2016-05-02 14:05:02 -04:00
Ken Dreyer
b94ba8215e
doc: drop references to "up2date"
...
"up2date" has not been used since very old versions of RHEL (rhel4 or
5?). We only support el7 now, which is a yum-based platform.
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-05-02 11:08:58 -06:00
Josh Durgin
0401b4dfcb
Merge pull request #8878 from ktdreyer/wip-doc-rbd-dillaman
...
doc: Jason Dillaman is now RBD lead
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-02 10:01:52 -07:00
Ken Dreyer
fbfb5c12bf
doc: Jason Dillaman is now RBD lead
...
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-05-02 10:57:53 -06:00
Ali Maredia
cdd7b77342
cmake: Added rbd-nbd target
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 12:36:44 -04:00
Jason Dillaman
ee617a0ca5
librbd: disable automatic refresh of image upon lock message
...
There is no need to refresh the image upon request/release/acquire
of the exclusive lock. The next IO or maintenance op will kick off
the refresh. This is interfering with the refresh state machine
unit test case (since two concurrent refreshes shouldn't be possible).
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-02 10:35:59 -04:00
Jason Dillaman
608e098513
librbd: update_features should release lock if acquired
...
There is a small window where requests are unblocked and before
the image is shut down where new requests can be accepted. These
are correctly canceled during the shut down, but it can lead to
warning messages.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-02 10:35:58 -04:00
Jason Dillaman
ce5c701bc4
librbd: avoid applying refreshed image config within librados callback
...
There is a potential that a synchronous API call could deadlock a
image refresh.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-02 10:35:57 -04:00
Jason Dillaman
06faf83bbf
rbd-mirror: don't use temporary string for snap operation
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-02 10:35:57 -04:00
Jason Dillaman
91a4890ee7
librbd: avoid recursive locking within operation state machine
...
Fixes: http://tracker.ceph.com/issues/15664
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-02 10:35:53 -04:00
Ali Maredia
aa1bac4b05
compressor: tests for zlib & snappy changes
...
plugin_dir and compressor_dir not needed by
test_compression_snappy & test_compression_zlib
because they statically link compressor libraries.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:32 -04:00
Ali Maredia
4f50724b32
cmake: rbd_mirror updates
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:32 -04:00
Ali Maredia
a6723e462a
cmake: update env vars for osd-copy-from.sh
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:32 -04:00
Ali Maredia
e863724e03
cmake: CEPH_LIB defaults to .libs in cpp unit tests
...
This makes it possible to run applicable unit tests
without setting environment varibles after building
with autotools.
This will be reverted once autotools is deprecated.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:32 -04:00
Ali Maredia
f5466b05c6
cmake: add test_pool_quota.sh to
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:32 -04:00
Ali Maredia
8ec00dfadd
vstart: put missing quotes around cmake env vars
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:31 -04:00
Ali Maredia
4321bb64ed
test: added env var setting to make check scripts
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:31 -04:00
Ali Maredia
15a669435a
cmake: script that sets env vars for unit tests
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:31 -04:00
Haomai Wang
ec5961673a
Merge pull request #8874 from roidayan/xio-remove_unused_mutex
...
xio: remove unused mutex
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-05-02 21:46:16 +08:00
Roi Dayan
33c0cccfe5
xio: remove unused mutex
...
Signed-off-by: Roi Dayan <roid@mellanox.com>
2016-05-02 14:09:44 +03:00
Kefu Chai
0d98e649b0
Merge pull request #8872 from dachary/wip-make-check
...
tests: enable make check on ext4 (part 2)
Reviewed-by: Kefu Chai <kefu@redhat.com>
2016-05-02 18:02:37 +08:00
Loic Dachary
b0b3a068d4
tests: enable make check on ext4 (part 2)
...
Followup of 475cc08c33
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2016-05-02 11:02:59 +02:00
Loic Dachary
5dbe31913c
Merge pull request #8851 from liewegas/wip-make-check
...
qa/workunits/ceph-helpers.sh: make ceph-osd behave on ext4
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-05-02 10:41:48 +02:00
Mykola Golub
4c28fc2aa3
qa/workunits/rbd: fix rbd-mirror log file name
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-01 22:04:46 +03:00
Sage Weil
2265d0ebc2
Merge pull request #8859 from liewegas/wip-fix-scrub
...
include/rados: fix scrub-map definition
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-01 12:14:08 -04:00
Mykola Golub
21790484dc
rbd-mirror: make image replayer asok commands available when not started
...
Initially the asok commands were registered only after the image
replayer start (and unregistered on stop) because their names were
built using remote pool and image names, which became known only after
start.
Now, the asok commands are registered on the image replayer construction
using the temporary name "remote_pool_name/global_image_id". They are
re-registered using "remote_pool_name/remote_image_name" when the
image replayer is started. Also the commands are not unregistered on
the image replayer stop.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-01 18:33:54 +03:00
Sage Weil
3045bde162
include/rados: fix scrub-map definition
...
In commit 40add6a63d
we
changed the scrub-map op code, breaking compatibility.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-01 11:07:55 -04:00
Sage Weil
79c01b812f
Merge pull request #8842 from SUSE/wip-msd-typo-fix
...
systemd: fix typo in preset file
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-30 21:11:43 -04:00
Haomai Wang
79343a8a09
Event: replace ceph_clock_now with coarse_real_clock
...
reduce cpu utilization on real clock latency
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-05-01 08:33:34 +08:00
Sage Weil
cdaa9e22e1
ceph_time: add operator<< for more clock types
...
ceph_time: add operator<< for more clock types
Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-30 19:24:59 -04:00
Sage Weil
491b2644e3
Revert "Merge pull request #8346 from yuyuyu101/wip-async-clock"
...
This reverts commit 37117823d1
, reversing
changes made to 5ff4988c09
.
This broke the build:
msg/async/Event.cc: In member function 'int EventCenter::process_time_events()':
error: msg/async/Event.cc:280:30: cannot bind 'std::basic_ostream' lvalue to 'std::basic_ostream&&'
ldout(cct, 10) << __func__ << " cur time is " << now << dendl;
^
and elsewhere...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-30 19:21:02 -04:00