Commit Graph

53785 Commits

Author SHA1 Message Date
Kefu Chai
39c9452089 cmake: install include/memory.h also
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-28 00:34:52 +08:00
Kefu Chai
cb2bb76632 cmake: install librbd headers
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-28 00:34:51 +08:00
Kefu Chai
5800bea33c cmake: install libradosstriper headers
also respect BUILD_SHARED_LIBS instead of always building this lib as a
static library. and we install .so in rpm/deb packaging scripts.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-28 00:09:32 +08:00
Kefu Chai
2242194dff cmake: compile rbd-fuse
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-27 19:55:04 +08:00
Kefu Chai
dd98d9a659 cmake: install debug tools into usr/bin
otherwise dh_install won't find them.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-27 19:55:04 +08:00
Kefu Chai
743e505140 cmake: install mount.ceph into /sbin
should use absolute path otherwise it is installed into /usr/sbin, and
dh_install won't find it this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-27 19:55:04 +08:00
Kefu Chai
58a1f8e4a7 cmake: install bash-completion scripts also
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-27 19:55:04 +08:00
Kefu Chai
89bebd68e7 cmake: add missing installs
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-27 19:55:04 +08:00
Kefu Chai
f807c95cd7 cmake: make shared library of lttng tracing instead
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-27 19:55:02 +08:00
Kefu Chai
a2706c7e16 cmake: revamp on lttng support
* Findlttng-ust.cmake: detect lttng-gen-tp, and make it a required var
* Findlttng-ust.cmake: fix the detection of lttng
* src/tracing/CMakeLists.txt:
  - do not put the generated header files into ${CMAKE_SOURCE_DIR}/src/tracing,
    instead we should put the generated files into ${PROJECT_BINARY_DIR}/include.
  - do not compile the tracing library using the .c files in the repo,
    instead, we should generate them at compile time using lttng-gen-tp,
    and compile the genererated .c files.
* CMakeLists.txt: make the lttng-use package REQUIRED if WITH_LTTNG=ON
* src/CMakeLists.txt: let librados depend on librados-tp if LTTNG is
  enabled: librados includes tracing/librados.h. the same applies to
  librbd, libos and libosd. cmake could deduce the dependencies if we
  add the lttng header files under include/tracing into the
  corresponding target, as the lttng header files are already listed
  as OUTPUT and GENERATED files, but this requires us to put all the
  involved targets in the same CMakeLists.txt. in this case, three
  CMakeLists.txts are impacted. so we create a new target for each
  lttng header, and let the impacted target depend on it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-27 19:54:42 +08:00
Kefu Chai
943d71ce92 Merge pull request #9156 from ceph/wip-cmake
cmake: Added #defines to config-h.in.cmake

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-27 11:37:52 +08:00
Ali Maredia
3a7111c310 cmake: remove verbose output from
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-26 17:26:50 -04:00
Ali Maredia
0ef09f32d4 cmake: Added #defines to config-h.in.cmake
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-26 17:26:48 -04:00
Yuri Weinstein
c6deb14209 Merge pull request #8941 from xiexingguo/xxg-wip-reweight-filter
mon/OSDMonitor: more fixes for reweight_by_* command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-26 12:24:11 -07:00
Yuri Weinstein
b0b92f2d01 Merge pull request #9120 from runsisi/wip-rpg-minor-cleanup
osd/ReplicatedPG: remove unused local variable update

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-26 12:22:08 -07:00
Yuri Weinstein
199718ecd9 Merge pull request #9126 from xiexingguo/xxg-wip-fix-precisionlost
osd: fix sched_time not actually randomized

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-26 12:19:41 -07:00
Matt Benjamin
5c93b6f218 Merge pull request #9324 from rzarzynski/wip-16015
rgw: properly handle initial slashes in SLO's segment path.
2016-05-26 14:52:31 -04:00
Sage Weil
78ffc138a7 Merge pull request #9353 from stiopaa1/common_weightedPriorityQueue
common/WeightedPriorityQueue: add override to func

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-26 14:31:30 -04:00
Sage Weil
42320d1029 Merge pull request #7733 from xinxinsh/wip-14701
osdmaptool: allow add --pg-num to osdmaptool --test-map-pgs to override the map's pg_num value

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-26 14:25:13 -04:00
Sage Weil
116d0ea862 Merge pull request #9065 from xiexingguo/xxg-wip-texttable
mon/PGMonitor: use TextTable for pg relevant dump commands.

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-26 14:24:43 -04:00
Sage Weil
08874ee4d1 Merge pull request #9097 from jcsp/wip-15866
mon: fix 'mon metadata' for lone monitors, and enable listing all metadata at once

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-26 14:23:46 -04:00
Sage Weil
657cad4c4d Merge pull request #9198 from xiexingguo/xxg-wip-filestore-trackedkey
os/filestore: add xattr option family to tracked keys

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-26 14:23:21 -04:00
Sage Weil
51b30b055d Merge pull request #9204 from xiexingguo/xxg-wip-fix-omapfsid
os/filestore: fix omap fsid related fd leak

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-26 14:23:09 -04:00
Sage Weil
8eb0cc4725 Merge pull request #9223 from vumrao/wip-vumrao-15762
osd: add peer_addr in heartbeat_check log message

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-26 14:22:24 -04:00
Ali Maredia
346f4ff04f Merge pull request #9302 from ceph/wip_update_cmake_readme
Improves the README for cmake instructions and slightly improved markdown syntax.

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-05-26 10:47:12 -05:00
Radoslaw Zarzynski
d384b2b8e0 rgw: properly handle initial slashes in SLO's segment path.
Fixes: http://tracker.ceph.com/issues/16015
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-05-26 16:01:03 +02:00
Orit Wasserman
545dde68e1 Merge pull request #9342 from vumrao/wip-vumrao-16023
rgw : cleanup radosgw-admin temp command
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 13:30:33 +02:00
Orit Wasserman
6ae10f02d2 Merge pull request #9244 from dreamhost/wip-15974
rgw: fix manager selection when APIs customized
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 12:56:28 +02:00
Orit Wasserman
a34704a7fa Merge pull request #9263 from rzarzynski/wip-rgw-15976
rgw: fix CORS/ACLs metadata processing in Swift API
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 12:55:41 +02:00
Orit Wasserman
562e1facf2 Merge pull request #9246 from rzarzynski/wip-15977
rgw: fix update of already existing account/bucket's custom attributes.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 12:54:58 +02:00
Orit Wasserman
22bb84684e rgw: we should probably return InvalidArgument when XML_parser fails of RGWPutACLs opReviewed-by: Orit Wasserman <owasserm@redhat.com>
rgw: we should probably return InvalidArgument when XML_parser fails of RGWPutACLs op
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 12:53:05 +02:00
Orit Wasserman
f02b0d4fd9 Merge pull request #7273 from linuxbox2/rgw-email
Rgw email (#1398)
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-26 12:52:23 +02:00
Vikhyat Umrao
949f917af8 rgw : cleanup radosgw-admin temp command as it was deprecated
and also implementation code for this command was removed in commit
8d7c8828b0

Fixes: http://tracker.ceph.com/issues/16023

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-05-26 15:43:41 +05:30
John Spray
122b4ae799 Merge pull request #9338 from songbaisen/a1
cephfs: should give a value before use cpp_strerror

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-26 10:56:10 +01:00
John Spray
4e76c8fe44 Merge pull request #9323 from ukernel/wip-mdsmap-subs
MDSMonitor.cc: fix mdsmap.<namespace> subscriptions

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-26 10:47:42 +01:00
John Spray
5b3281f269 Merge pull request #9033 from renhwztetecs/renhw-wip-cephfs_addlink_python
cephfs: add link function in python

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-26 10:46:17 +01:00
John Spray
db6f1a7b81 mds: fix race between StrayManager::{eval_stray,reintegrate_stray}Reviewed-by: John Spray <
mds: fix race between StrayManager::{eval_stray,reintegrate_stray}

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-26 10:39:38 +01:00
songbaisen
501e825416 cephfs: should give a value before use cpp_strerror
Signed-off-by:song baisen <song.baisen@zte.com.cn>
2016-05-26 15:58:19 +08:00
Michal Jarzabek
30ea2ae6d7 common/WeightedPriorityQueue: add override to func
Add override to virtual functions.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-25 22:12:49 +01:00
Yuri Weinstein
3f4cf16a73 Merge pull request #9258 from trociny/wip-15982
pybind: RBD API should default to None for features

Reviewed-by: Jason Dillaman <dillaman@redhat.com >
2016-05-25 12:59:53 -07:00
J. Eric Ivancich
e2c42e7b29 Renamed file to better indicate it contains markdown syntax.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2016-05-25 15:44:47 -04:00
Casey Bodley
a0709e4472 Merge pull request #9300 from tchaikov/wip-cmake-java
cmake: add libcephfs-java support

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-25 15:23:41 -04:00
Yan, Zheng
8f09dd15cb MDSMonitor.cc: fix mdsmap.<namespace> subscriptions
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-05-25 20:14:07 +08:00
Orit Wasserman
b70151129b Merge pull request #9122 from cbodley/wip-rgw-httpmgr-pipe
rgw: clean up pipe fds in RGWHTTPManager::stop()
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-25 14:05:11 +02:00
Orit Wasserman
9e74d051df Merge pull request #8765 from cbodley/wip-rgw-usr2
rgw: extend SIGHUP handler for realm reconfiguration
2016-05-25 14:03:36 +02:00
Nathan Cutler
100dc64b11 Merge pull request #9167 from rjfd/wip-ceph-tool-non-ascii-chars
ceph.in: fix exception when pool name has non-ascii characters

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-05-25 13:40:44 +02:00
Mykola Golub
20de6de8e0 Merge pull request #9282 from dillaman/wip-15993
rbd-mirror: image live-replay might become stuck

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-05-25 10:38:04 +03:00
Yehuda Sadeh
ba8ae3d146 Merge pull request #9285 from mikulely/rgw-clean-multipart-macro
rgw: cleanup RGW_MIN_MULTIPART_SIZE

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-25 10:30:03 +03:00
J. Eric Ivancich
9b2d4fa36e Improves the README for cmake by including quick-start developer
instructions and slightly improved markdown syntax.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2016-05-24 17:05:46 -04:00
Kefu Chai
34b5ae8fb2 cmake: add "git-update" target for syncing git submodules
it maps the same functionality in autogen.sh

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-25 04:17:42 +08:00