The problem was due to the attempt of CMake to rewrite the RPATH of
the executables, or shared libraries, that didn't have any RPATH linked
during the building phase.
Currently INSTALL_RPATH is already set for all binaries. This patch
sets an empty INSTALL_RPATH for all binaries that don't depend on
any internal (also being built) target.
Signed-off-by: Ricardo Dias <rdias@suse.com>
if osd failed finally, this may make these reporters cannot receive lastest
update right away, besides, it's not effective to make a traverse of all reporters
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
In some cases, this may lead to mon wrongly marking an osd down
because of no pg stats after a specified time period.
Signed-off-by: Zhiqiang Wang <zhiqiang@xsky.com>
We don't need src_obcs to make LIST_SNAPS work. Instead, do what we do
in _rollback_to and simply grab the object context inline. It's
particularly simple since we don't need to worry about rw locks here.
Signed-off-by: Samuel Just <sjust@redhat.com>
The boost libraries are included in libceph-common. If linked
directly, boost::regex will abort during shutdown since it uses
a global static variable and it will be destructed twice.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
If the user define "osd crush location hook" in ceph.conf, but the
osd_location_hook tool does not exist,we should exit error.
Signed-off-by:song baisen <song.baisen@zte.com.cn>
Initially this was implemented for exclusive_lock (03533b9,
23f60fe) but was lost when merging managed_lock refactoring.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Few critical functions have been instrumented with function tracing
and oid tracing calls to help routing performance analysis.
Oid tracing events are heavily dependent on functional changes and may need
to be revised as and when core data flow logic changes.
Signed-off-by: Anjaneya Chagam <anjaneya.chagam@intel.com>
New function and oid lttng tracing enhancements that provide function
and oid level latency breakdown. Requires WITH_EVENTTRACE=ON option to enable.
Signed-off-by: Anjaneya Chagam <anjaneya.chagam@intel.com>
mon: no delay for single message MSG_ALIVE and MSG_PGTEMP
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
The ceph-disk tool calls ceph-osd to check the journal requirements
using OSD id 0. This creates a log file for osd-0 on the system
using the current user/group for file permissions. When ceph-disk
is run as root this makes the file owned by root which makes
the osd daemon for osd.0 unable to write to its own log file.
This commit changes the journal reqs calls of ceph-osd to pass
the ceph user and group so ceph-osd creates the log file with the
appropriate permissions.
Fixes: http://tracker.ceph.com/issues/18538
Signed-off-by: Samuel Matzek <smatzek@us.ibm.com>