Sage Weil
916c5e3332
Merge pull request #14919 from tchaikov/wip-19825
...
mon: check is_shutdown() in timer callbacks
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-07 22:26:03 -05:00
Sage Weil
fd6178082a
Merge pull request #14968 from TsaiJin/wip-lock-pg-when-scrub-available
...
osd: sched_scrub() lock pg only if all scrubbing conditions are fulfilled
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Pan Liu <liupan1111@gmail.com>
2017-05-07 22:23:55 -05:00
Loic Dachary
6152fd9f01
Merge pull request #14970 from dachary/wip-crush-documentation
...
crush: update documentation for negative choose step
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-05-06 08:09:03 +02:00
Sage Weil
952a7beb61
Merge pull request #14979 from liewegas/wip-19874
...
mon: fix prime_pg_temp overrun
common/Finisher: fix uninitialized variable warning
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-05 17:42:38 -05:00
Sage Weil
209a4b8f3a
Merge pull request #14958 from ovh/bp-fix-finisher-warning
...
common/Finisher: fix uninitialized variable warning
common/Finisher: fix uninitialized variable warning
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-05 17:42:26 -05:00
Sage Weil
7f72100be5
Merge pull request #14793 from dmick/wip-prio-and-daemonperf
...
ceph: perfcounter priorities and daemonperf updates to use them
2017-05-05 17:41:55 -05:00
Sage Weil
7c8a2a1766
Merge pull request #14510 from liewegas/wip-bluefs-sync-write
...
os/bluestore/BlueFS: add bluefs_sync_write option
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-05 17:41:22 -05:00
Sage Weil
425769fc10
Merge pull request #14305 from liewegas/wip-zipkin-partial
...
osd: zipkin tracing
2017-05-05 17:40:58 -05:00
Orit Wasserman
0c5b2a9026
Merge pull request #14981 from cbodley/wip-rgw-bi-list-plain
...
cls/rgw: list_plain_entries() stops before bi_log entries
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-05-06 00:04:11 +03:00
Casey Bodley
b29a1633a5
cls/rgw: list_plain_entries() stops before bi_log entries
...
list_plain_entries() was using encode_obj_versioned_data_key() to set
its end_key, which gives a prefix of BI_BUCKET_OBJ_INSTANCE_INDEX[=2]
that range between start_key and end_key would not only span the
BI_BUCKET_OBJS_INDEX[=0] prefixes, but BI_BUCKET_LOG_INDEX[=1] prefixes
as well. this can result in list_plain_entries() trying and failing to
decode a rgw_bi_log_entry as a rgw_bucket_dir_entry
Fixes: http://tracker.ceph.com/issues/19876
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 15:48:20 -04:00
Jason Dillaman
128f593fe8
Merge pull request #14051 from SpandanKumarSahu/bug#17195
...
rbd: stop indefinite thread waiting in krbd udev handling
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-05 14:40:55 -04:00
Sage Weil
b4eab62c5e
CMakeLists.txt: WITH_BLKIN off for now
...
We are unconditionally linking lttng-ust, which make selinux complain. We
should either
- fix selinux rules and unconditionally link
- dlopen at runtime based on an option (like we do for the current
tracepoints)
- ???
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Sage Weil
3eb554c1fc
blkin: fix test
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Sage Weil
32d3119696
blkin: fix cmake compile options
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Sage Weil
90e52907be
blkin: remove installed files
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Sage Weil
91d270abf8
blkin: fix -fPIC option
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Sage Weil
4ea342ca47
blkin: drop boost dependency
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Sage Weil
838dd2a603
common/zipkin_trace: fix blkin_trace_info encoding
...
- encode the same regardless of whether it is compiled in (!)
- encode in endian- and struct alignment-safe way.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Sage Weil
25eb14247d
msg/Message: make {encode,decode}_trace unconditional
...
These are protocol features and cannot vary based on our compilation.
Encode and decode unconditionally. The callers have already guarded these
field additions with a message version bump and are conditionally calling
decode_trace.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Sage Weil
60baa90c29
CMakeLists.txt: fix libcommon link to blkin
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Sage Weil
bdd6c3f382
CMakeLists.txt: default WITH_BLKIN=ON
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Casey Bodley
26678e673a
cmake: build blkin instead of using find_package
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 14:05:24 -04:00
Sage Weil
bbe6d24184
src/blkin: add blkin submodule
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 14:05:24 -04:00
Victor Araujo
e0a1532bfb
librados: Overload aio_operate with blkin trace info parameter
...
This will enable passing trace information from rbd to librados for
aio_reads and aio_writes.
Signed-off-by: Victor Araujo <ve.ar91@gmail.com>
2017-05-05 14:05:24 -04:00
vears91
046b2bde6d
cmake: Add blkin libs to target_link_libraries
...
Signed-off-by: Victor Araujo <ve.ar91@gmail.com>
2017-05-05 14:05:24 -04:00
Casey Bodley
ffdfe6996f
blkin: add config variable osdc_blkin_trace_all
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 14:05:24 -04:00
Casey Bodley
f453eafe8f
blkin: add traces to librados and Objecter
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 14:05:24 -04:00
Casey Bodley
4516d8bf3c
blkin: add config variable osd_blkin_trace_all
...
when set, Message::decode_trace() will always create a trace for
incoming messages, even if they didn't pass trace information
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 14:05:24 -04:00
Victor Araujo
e3524e6977
filestore: Initialize Zipkin traces when there is a store trace
...
Avoids creating orphaned traces.
Signed-off-by: Victor Araujo <ve.ar91@gmail.com>
2017-05-05 14:05:23 -04:00
Casey Bodley
e0a5b51fad
blkin: add traces to FileStore/Journal
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 14:05:23 -04:00
Sage Weil
7d4af0531d
blkin: add traces to ECBackend
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 14:05:23 -04:00
Casey Bodley
6586e724a0
blkin: add traces to ReplicatedBackend
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 14:04:51 -04:00
Casey Bodley
bf8772ff8e
blkin: set up tracing in PGs
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 14:04:51 -04:00
Casey Bodley
a39b8c466e
blkin: set up tracing in the OSD
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 14:04:51 -04:00
Casey Bodley
6159027fda
blkin: osd op messages carry trace information
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 14:04:30 -04:00
Casey Bodley
679f8e6eaf
blkin: add traces to AsyncMessenger
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 13:59:47 -04:00
Casey Bodley
5cc7c06245
blkin: add traces to XioMessenger
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 13:59:47 -04:00
Casey Bodley
82160fb591
blkin: add traces to SimpleMessenger
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 13:59:47 -04:00
Casey Bodley
612d15bc1b
blkin: Messenger integration
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 13:59:46 -04:00
Casey Bodley
c8107a3e1f
msg: pass Connection to decode_message
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 13:59:46 -04:00
Casey Bodley
6862811ee2
blkin: add header and initialization
...
zipkin_trace.h is a wrapper around ztracer.hpp, which provides a stub
implementation when WITH_BLKIN is not defined
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 13:59:46 -04:00
Casey Bodley
5ec55b9daa
cmake: add module and WITH_BLKIN option for blkin
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 13:59:46 -04:00
Andrew Shewmaker
1d3255a971
Build support for BlkKin (LTTng + Zipkin) tracing
...
* Adds --with-blkin to autoconf (default without)
* Adds BLKIN_LIBS to necessary automake files
* Adds documentation for testing BlkKin tracing
Signed-off-by: Andrew Shewmaker <agshew@gmail.com>
Signed-off-by: Marios-Evaggelos Kogias <marioskogias@gmail.com>
Signed-off-by: Chendi.Xue <chendi.xue@intel.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 13:59:46 -04:00
Jason Dillaman
965cfb524d
Merge pull request #14834 from runsisi/wip-fix-double-free
...
librbd: minor fixes for image trash move
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-05 13:16:48 -04:00
Jason Dillaman
bcae20d662
Merge pull request #14830 from runsisi/wip-open-cleanup
...
librbd: remove redundant check for image id emptiness
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-05 13:16:35 -04:00
Kefu Chai
6e1e5407d8
Merge pull request #14927 from tchaikov/wip-19427
...
logclient: use the seq id of the 1st log entry when resetting session
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-06 00:31:33 +08:00
Kefu Chai
8ecdf9a57d
Merge pull request #14920 from tchaikov/wip-14579
...
mgr: add machinery for python modules to send MCommands to daemons
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-06 00:29:12 +08:00
Kefu Chai
e1d435b196
Merge pull request #13681 from liewegas/wip-epochs
...
osd: tag fast dispatch messages with min_epoch
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-06 00:27:58 +08:00
Sage Weil
897566070a
osd/OSDMapMapping: add assert
...
This is easier to debug than walking off into memory we don't own!
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 11:47:03 -04:00
Sage Weil
ab7df6d573
mon/OSDMonitor: fix prime_pg_temp condition
...
We have to make sure the *pg* exists, not just the pool, in the previous
map, or else we'll get a funky overrun in OSDMapMapping::get().
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 11:43:59 -04:00