]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Jason Dillaman [Thu, 7 Jul 2016 12:15:04 +0000 (08:15 -0400)]
Merge pull request #9981 from yangdongsheng/rbd_set_vals
cls_rbd: set omap values in batch during image creation
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 7 Jul 2016 12:09:40 +0000 (08:09 -0400)]
Merge pull request #10155 from trociny/wip-16555-workaround
qa/workunits/rbd: before removing image make sure it is not bootstrapped
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Thu, 7 Jul 2016 08:55:37 +0000 (16:55 +0800)]
Merge pull request #10164 from dillaman/wip-cmake-test-rbd-mirror
cmake: ceph_test_rbd_mirror does not require librados_test_stub
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 7 Jul 2016 06:23:56 +0000 (14:23 +0800)]
Merge pull request #9083 from badone/wip-doc-last_epoch_started
doc/dev: Fix missing code section due to no lexer for "none"
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 7 Jul 2016 06:13:31 +0000 (14:13 +0800)]
Merge pull request #9704 from badone/wip-ceph-authtool-fixes
authtool: Enhance argument combinations validation
Reviewed-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Wed, 6 Jul 2016 23:19:52 +0000 (16:19 -0700)]
Merge pull request #9702 from BlaXpirit/ceph-argparse-py3
ceph.in: python 3 compatibility of the ceph CLI
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 6 Jul 2016 23:18:51 +0000 (16:18 -0700)]
Merge pull request #9749 from songbaisen/a10
mon: remove the redundant is_active judge in PaxosService
Reviewed-by: Samuel Just <sjust@redhat.com>
Josh Durgin [Wed, 6 Jul 2016 23:18:00 +0000 (16:18 -0700)]
Merge pull request #9792 from stiopaa1/mon_monitorcc_addMutexLocker
mon/Monitor.cc:replce lock/unlock with Mutex:Lockr
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Wed, 6 Jul 2016 23:17:20 +0000 (16:17 -0700)]
Merge pull request #9939 from Yan-waller/yj-wip-radosclientwaitforosd
rados/client: fix waiting on the condition variable more efficient.
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Wed, 6 Jul 2016 23:16:18 +0000 (16:16 -0700)]
Merge pull request #9947 from yuyuyu101/wip-remove-check
osd: remove dispatch queue check since we don't queue hb message to this
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Wed, 6 Jul 2016 23:01:50 +0000 (16:01 -0700)]
Merge pull request #9833 from onyb/wip-rados-pypi
pybind: make rados ready for PyPI
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 6 Jul 2016 23:01:06 +0000 (19:01 -0400)]
Merge pull request #10109 from xiexingguo/xxg-wip-bluestore-2016-07-02
os/bluestore: simplify LRUCache::trim()
Reviewed-by: Sage Weil <sage@redhat.com>
Josh Durgin [Wed, 6 Jul 2016 22:57:28 +0000 (15:57 -0700)]
Merge pull request #8980 from stiopaa1/osd_unneededmapassign
osd/OSD.h: remove unneeded line
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Wed, 6 Jul 2016 22:56:13 +0000 (15:56 -0700)]
Merge pull request #8959 from hjwsm1989/hj-test
os/filestore/LFNIndex: remove unused variable 'subdir_path'
Reviewed-by: Samuel Just <sjust@redhat.com>
Josh Durgin [Wed, 6 Jul 2016 22:55:30 +0000 (15:55 -0700)]
Merge pull request #8687 from mslovy/wip-peering-msg-priority
message: optimization for message priority strategy
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Wed, 6 Jul 2016 18:41:42 +0000 (14:41 -0400)]
Merge pull request #10014 from gaowanlong/indent_caused_compile_warning
build: fix wrong indent caused compile warning
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Wed, 6 Jul 2016 18:33:59 +0000 (21:33 +0300)]
Merge pull request #9970 from dillaman/wip-16349
rbd-mirror: gracefully handle being blacklisted
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Wed, 6 Jul 2016 17:51:42 +0000 (13:51 -0400)]
cmake: ceph_test_rbd_mirror does not require librados_test_stub
Linking both librados_test_stub and librados results in failed
test cases.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Ali Maredia [Wed, 6 Jul 2016 16:54:09 +0000 (12:54 -0400)]
Merge pull request #10016 from ceph/wip-cmake-rpm
rpm: build rpm with cmake
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Jason Dillaman [Fri, 24 Jun 2016 00:28:33 +0000 (20:28 -0400)]
rbd-mirror: gracefully restart pool replayer when blacklisted
Fixes: http://tracker.ceph.com/issues/16349
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 24 Jun 2016 00:28:02 +0000 (20:28 -0400)]
rbd-mirror: do not clear image replayer error code after shut down
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 23 Jun 2016 20:57:50 +0000 (16:57 -0400)]
rbd-mirror: image deleter should use provided librados connection
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 23 Jun 2016 20:03:03 +0000 (16:03 -0400)]
rbd-mirror: each pool replayer should use its own librados connection
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 6 Jul 2016 13:23:07 +0000 (21:23 +0800)]
Merge pull request #10145 from dillaman/wip-cmake-rbd-python
cmake: fix incorrect dependencies to librados
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
John Spray [Wed, 6 Jul 2016 13:16:21 +0000 (14:16 +0100)]
Merge pull request #10119 from renhwztetecs/renhw-wip-cdentry-dump
mds: fixup dump Formatter' type error; add path_ino and is_primary in the CDentry::dump()
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 6 Jul 2016 13:13:45 +0000 (14:13 +0100)]
Merge pull request #10062 from renhwztetecs/renhw-wip-filer
client/filer: cleanup the redundant judgments of _write&&_fallocate
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 6 Jul 2016 13:12:55 +0000 (14:12 +0100)]
Merge pull request #10027 from batrick/client-root-lock
client: add missing client_lock for get_root
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 6 Jul 2016 13:12:09 +0000 (14:12 +0100)]
Merge pull request #10100 from fullerdj/wip-djf-16144
tools/cephfs: Remove cephfs-data-scan tmap_upgrade
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 6 Jul 2016 13:11:21 +0000 (14:11 +0100)]
Merge pull request #9971 from fullerdj/wip-djf-16288
mds: Kill C_SaferCond in evict_sessions()
Reviewed-by: John Spray <john.spray@redhat.com>
Mykola Golub [Wed, 6 Jul 2016 09:59:25 +0000 (12:59 +0300)]
qa/workunits/rbd: before removing image make sure it is not bootstrapped
If an image is being bootstrapped, it implies that the rbd-mirror
daemon currently has the image open. The removal API will prevent the
removal of any image that is opened by another client.
Works-around: http://tracker.ceph.com/issues/16555
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Wed, 6 Jul 2016 04:12:03 +0000 (00:12 -0400)]
cmake: fix incorrect dependencies to librados
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 29 Jun 2016 12:29:43 +0000 (20:29 +0800)]
rpm: build rpm with cmake
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Wed, 6 Jul 2016 01:44:32 +0000 (21:44 -0400)]
Merge pull request #10136 from runsisi/sisi-wip-fix-missing-return
librbd: fix missing return statement if failed to get mirror image state
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Samuel Just [Tue, 5 Jul 2016 17:50:50 +0000 (10:50 -0700)]
Merge pull request #10094 from athanatos/wip-throttle-test
test/common/Throttle.cc: fix race in shutdown
Reviewed-by: David Zafman <dzafman@redhat.com>
Casey Bodley [Tue, 5 Jul 2016 17:37:15 +0000 (13:37 -0400)]
Merge pull request #10088 from pritha-srivastava/wip_s3_signedurl_errors
rgw: Fix for using port 443 with pre-signed urls.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Ali Maredia [Tue, 5 Jul 2016 15:29:24 +0000 (11:29 -0400)]
Merge pull request #10112 from tchaikov/wip-cmake
cmake changes
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Jason Dillaman [Tue, 5 Jul 2016 12:27:42 +0000 (08:27 -0400)]
Merge pull request #10134 from trociny/wip-run-rbd-tests-fixup
test: run-rbd-tests test cmake fixup
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 5 Jul 2016 09:46:39 +0000 (17:46 +0800)]
Merge pull request #10133 from tchaikov/wip-fixc-cephtool-test.sh
test: cephtool/test.sh: fix expect_false() calls
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Mykola Golub [Tue, 5 Jul 2016 08:44:45 +0000 (11:44 +0300)]
Merge pull request #10072 from dillaman/wip-16561
librbd: failed assertion after shrinking a clone image twice
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
runsisi [Tue, 5 Jul 2016 08:08:40 +0000 (16:08 +0800)]
librbd: fix missing return statement if failed to get mirror image state
Signed-off-by: runsisi <runsisi@zte.com.cn>
Kefu Chai [Tue, 5 Jul 2016 06:15:41 +0000 (14:15 +0800)]
test: cephtool/test.sh: fix expect_false with pipe
this fixes failures like,
/home/jenkins-build/build/workspace/ceph-pull-requests/qa/workunits/cephtool/test.sh:
line 32: ceph osd blacklist ls | grep 192.168.0.1: command not found
where the failure is not the "failure" we are expecting.
in our tests, following command
expect_false "ceph osd blacklist ls | grep 192.168.0.1"
is designed to to verify that "ceph osd blacklist ls | grep 192.168.0.1"
fails with non-zero return code. but expect_false() evaluates the command
line using plain "$@", which will send the arguments direct to the shell,
and $0 is "ceph auth get client.xx | grep caps | grep mon", which does
not exist and is not built-in command. so we need to check the grep
command instead.
for multiple piped command line, use
expect_false sh <<< "echo foo | grep bar | grep baz"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Tue, 5 Jul 2016 06:27:00 +0000 (09:27 +0300)]
test: run-rbd-tests test cmake fixup
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Brad Hubbard [Sun, 19 Jun 2016 07:23:10 +0000 (17:23 +1000)]
tests: ceph-authtool, add test for empty "--add-key="
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Brad Hubbard [Sun, 12 Jun 2016 10:10:25 +0000 (20:10 +1000)]
authtool: Enhance argument combinations validation
Under certain circumstances ceph-authtool can create invalid key entries in
the specified keyring and behave less than intuitively. What's worse these
keys can currently cause ceph daemons to crash. This patch attempts to tighten
the behaviour and eliminate the possibility an invalid key can be created.
Fixes: http://tracker.ceph.com/issues/2904
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Mykola Golub [Tue, 5 Jul 2016 05:28:43 +0000 (08:28 +0300)]
Merge pull request #10076 from dillaman/wip-rbd-mirror-cmake
test: fix rbd-mirror workunit test cases for cmake
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Kefu Chai [Tue, 5 Jul 2016 05:03:46 +0000 (13:03 +0800)]
Merge pull request #9731 from badone/wip-doc-ceph-authtool-print-fix
doc: ceph-authtool man page option is --print-key not --print
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 5 Jul 2016 03:26:46 +0000 (11:26 +0800)]
Merge pull request #10124 from trociny/wip-cmake-tests
test: cmake related fixups for rbd tests
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Sat, 2 Jul 2016 09:00:45 +0000 (17:00 +0800)]
os/bluestore: make sure path_fd is correctly closed during destruction
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sat, 2 Jul 2016 08:29:41 +0000 (16:29 +0800)]
os/bluestore: simplify buffer eviction logic of LRUCache
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Mykola Golub [Sun, 3 Jul 2016 18:43:17 +0000 (21:43 +0300)]
test: fix run-rbd-tests test for cmake
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Mon, 4 Jul 2016 07:02:18 +0000 (10:02 +0300)]
test: fix run-rbd-valgrind-unit-tests when built with cmake
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Mon, 4 Jul 2016 06:48:07 +0000 (09:48 +0300)]
test: ceph_test_librbd does not need rados_test_stub
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Mon, 4 Jul 2016 14:55:29 +0000 (10:55 -0400)]
Merge pull request #10117 from xiexingguo/xxg-wip-bluestore-2016-07-04
os/bluestore: fix incorrect pool decoding of bnode
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 13:53:20 +0000 (21:53 +0800)]
Merge pull request #9755 from dx9/wip-ns-name-uncompress
common/dns_resolve: use ns_name_uncompress instead of ns_name_ntop
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 13:49:41 +0000 (21:49 +0800)]
Merge pull request #9766 from dx9/wip-autotools-arch
configure.ac: Use uname instead of arch.
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Mon, 4 Jul 2016 13:47:42 +0000 (21:47 +0800)]
Merge pull request #9772 from tchaikov/wip-close-on-exec
msgr: set close on exec flag
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Mon, 4 Jul 2016 13:46:55 +0000 (21:46 +0800)]
Merge pull request #9820 from dx9/wip-fix-res-query-detect
configure.ac: fix res_query detection
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 13:46:14 +0000 (21:46 +0800)]
Merge pull request #9845 from dx9/wip-config-basename
common: remove basename() dependency
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 13:44:17 +0000 (21:44 +0800)]
Merge pull request #9969 from liewegas/wip-assert
include/assert: clean up ceph assertion macros
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 13:43:24 +0000 (21:43 +0800)]
Merge pull request #9983 from SUSE/wip-cmake-fix-fcgi-include-dir
cmake: Fix FCGI include directory
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 13:42:34 +0000 (21:42 +0800)]
Merge pull request #10093 from tchaikov/wip-16525
crush: reset bucket->h.items[i] when removing tree item
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 12:29:16 +0000 (20:29 +0800)]
Merge pull request #9330 from dachary/wip-15176-partprobe
ceph-disk: partprobe should block udev induced BLKRRPART
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 12:19:20 +0000 (20:19 +0800)]
Merge pull request #9394 from xiexingguo/xxg-wip-batchpgstates
mon/PGMonitor: batch filter pg states; add sanity check
Reviewed-by: Kefu Chai <kchai@redhat.com>
huanwen ren [Mon, 4 Jul 2016 12:04:38 +0000 (20:04 +0800)]
mds/CDentry: add path_ino and is_primary in the dump()
path_ino and is_primary are main reference information in the dump(),
so add their
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
huanwen ren [Mon, 4 Jul 2016 11:22:21 +0000 (19:22 +0800)]
mds: fixup dump Formatter' type error
fixup dump Formatter' type error,
dump_int->dump_unsigned
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
Anirudha Bose [Mon, 4 Jul 2016 09:09:07 +0000 (14:39 +0530)]
pybind: Prefer using $TMPDIR if available
Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
xie xingguo [Mon, 4 Jul 2016 09:08:59 +0000 (17:08 +0800)]
os/bluestore: fix incorrect pool decoding of bnode
"pool" is a pointer, and we shall alter its value instead.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Mon, 4 Jul 2016 08:59:56 +0000 (16:59 +0800)]
cmake: add ceph-{disk,detect-init} to ALL
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Thu, 26 May 2016 07:38:47 +0000 (09:38 +0200)]
ceph-disk: partprobe should block udev induced BLKRRPART
Wrap partprobe with flock to stop udev from issuing BLKRRPART because
this is racy and frequently fails with a message like:
Error: Error informing the kernel about modifications to partition
/dev/vdc1 -- Device or resource busy. This means Linux won't know about
any changes you made to /dev/vdc1 until you reboot -- so you shouldn't
mount it or use it in any way before rebooting.
Opening a device (/dev/vdc for instance) in write mode indirectly
triggers a BLKRRPART ioctl from udev (starting version 214 and up)
when the device is closed (see below for the udev release note).
However, if udev fails to acquire an exclusive lock (with
flock(fd, LOCK_EX|LOCK_NB); ) the BLKRRPART ioctl is not issued.
https://github.com/systemd/systemd/blob/
045e00cf16c47bc516c0823d059b7548f3ce9c7c /src/udev/udevd.c#L1042
Acquiring an exclusive lock before running the process that opens the
device in write mode is therefore an effective way to control this
behavior.
git clone git://anonscm.debian.org/pkg-systemd/systemd.git
systemd/NEWS:
CHANGES WITH 214:
* As an experimental feature, udev now tries to lock the
disk device node (flock(LOCK_SH|LOCK_NB)) while it
executes events for the disk or any of its partitions.
Applications like partitioning programs can lock the
disk device node (flock(LOCK_EX)) and claim temporary
device ownership that way; udev will entirely skip all event
handling for this disk and its partitions. If the disk
was opened for writing, the close will trigger a partition
table rescan in udev's "watch" facility, and if needed
synthesize "change" events for the disk and all its partitions.
This is now unconditionally enabled, and if it turns out to
cause major problems, we might turn it on only for specific
devices, or might need to disable it entirely. Device Mapper
devices are excluded from this logic.
Fixes: http://tracker.ceph.com/issues/15176
Signed-off-by: Marius Vollmer <marius.vollmer@redhat com>
Signed-off-by: Loic Dachary <loic@dachary.org>
Orit Wasserman [Mon, 4 Jul 2016 07:37:34 +0000 (09:37 +0200)]
Merge pull request #10077 from yehudasa/wip-16494
rgw: fix for issue 16494
Kefu Chai [Mon, 4 Jul 2016 07:00:50 +0000 (15:00 +0800)]
Merge pull request #10064 from BlaXpirit/brag-py3
Port ceph-brag to Python 3 (+ small fixes)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 06:08:35 +0000 (14:08 +0800)]
Merge pull request #10115 from runsisi/ss-wip-fix-rpm-spec
ceph.spec.in: fix rpm package building error
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 05:55:02 +0000 (13:55 +0800)]
cmake: do not depend on sse jerasure plugins if not avaiable
should not depend on them if SSE3 and/or SSE4 is not around.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 05:52:54 +0000 (13:52 +0800)]
cmake: do not link libglobal with lttng-ust
only link tracing libraries with lttng-ust, this fixes selinux denial
errors at run-time:
SELinux denials found on ubuntu@mira054.front.sepia.ceph.com: ['type=AVC
msg=audit(
1467543917 .770:131781): avc: denied { open } for pid=17511
comm="ceph-mon" path="/dev/shm/lttng-ust-wait-5" dev="tmpfs" ino=75199
scontext=system_u:system_r:ceph_t:s0
tcontext=system_u:object_r:tmpfs_t:s0 tclass=file', 'type=AVC
msg=audit(
1467543914 .518:131756): avc: denied { open } for pid=17418
comm="ceph-osd" path="/dev/shm/lttng-ust-wait-5" dev="tmpfs" ino=75199
scontext=system_u:system_r:ceph_t:s0
tcontext=system_u:object_r:tmpfs_t:s0 tclass=file', 'type=AVC
msg=audit(
1467543917 .770:131781): avc: denied { read } for pid=17511
comm="ceph-mon" name="lttng-ust-wait-5" dev="tmpfs" ino=75199
scontext=system_u:system_r:ceph_t:s0
tcontext=system_u:object_r:tmpfs_t:s0 tclass=file', 'type=AVC
msg=audit(
1467543914 .518:131756): avc: denied { read } for pid=17418
comm="ceph-osd" name="lttng-ust-wait-5" dev="tmpfs" ino=75199
scontext=system_u:system_r:ceph_t:s0
tcontext=system_u:object_r:tmpfs_t:s0 tclass=file']
Signed-off-by: Kefu Chai <kchai@redhat.com>
runsisi [Mon, 4 Jul 2016 05:52:03 +0000 (13:52 +0800)]
ceph.spec.in: fix rpm package building error as follows:
error: Installed (but unpackaged) file(s) found:
/usr/lib/udev/rules.d/60-ceph-by-parttypeuuid.rules
Signed-off-by: runsisi <runsisi@zte.com.cn>
Kefu Chai [Mon, 4 Jul 2016 03:26:28 +0000 (11:26 +0800)]
cmake: refactor distutils_install_module to follow the pattern of distutils_install_cython_module
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Jul 2016 03:10:49 +0000 (11:10 +0800)]
cmake: install python packages into $CMAKE_INSTALL_PREFIX
* Distutils.cmake:
set --prefix=${CMAKE_INSTALL_PREFIX} for python packages installed using
setuptools. it was set to --prefix=/user only when $DESTDIR is set. so
if user installs ceph using -DCMAKE_INSTALL_PREFIX, these python
packages still go to /usr, which is unexpected.
* ceph-disk/CMakeLists.txt:
install script into ${CMAKE_INSTALL_SBINDIR} instead of /usr/sbin
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 2 Jul 2016 11:20:34 +0000 (19:20 +0800)]
cmake: do not install unpackaged stuff
* doc/start/ceph.conf: it was installed as /etc/ceph.conf.example.
but it's unexpected, and ceph.spec does not packages it.
* vstart.sh: this is for development usage. no need to package it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Sun, 3 Jul 2016 11:31:46 +0000 (13:31 +0200)]
Merge pull request #9885 from dachary/wip-16351-by-parttypeuuid
udev: always populate /dev/disk/by-parttypeuuid
Reviewed-by: Alexandre Derumier <aderumier@odiso.com>
Sage Weil [Sat, 2 Jul 2016 22:53:40 +0000 (18:53 -0400)]
Merge pull request #10095 from liewegas/wip-bluestore-trim
os/bluestore: trim cache on reads
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Sat, 2 Jul 2016 11:32:38 +0000 (07:32 -0400)]
Merge pull request #10080 from xiexingguo/xxg-wip-add-compress-ratio
os/bluestore: improve required compression threshold
Reviewed-by: Sage Weil <sage@
Kefu Chai [Sat, 2 Jul 2016 10:40:56 +0000 (18:40 +0800)]
cmake: version libcephfs_jni
so we have libcephfs_jni.so.1.0.0 and libcephfs_jni.so.1, which are
expected by ceph.spec
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 2 Jul 2016 09:47:21 +0000 (17:47 +0800)]
cmake: do not install intermediate libs
rbd_replay and rbd_replay_ios are convenience libraries, and they are
not supposed to be used by user.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 2 Jul 2016 09:05:23 +0000 (17:05 +0800)]
cmake install ceph-monstore-update-crush.sh into ${CMAKE_INSTALL_LIBDIR}/ceph
ceph-monstore-update-crush.sh is a user-facing script, and it is not
used internally. also ceph.spec expects it that way. technically, we
should not install arch-indep files into ${CMAKE_INSTALL_LIBDIR}/ceph.
leave this for another changeset..
this partially reverts
37f53ec
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 2 Jul 2016 07:52:59 +0000 (15:52 +0800)]
cmake: install lib{rgw,cephfs_jni} into ${CMAKE_INSTALL_LIBDIR} not lib
rh and suse distros follows FHS and put amd64 dso libs into lib64 on
amd64 machines. so let's use ${CMAKE_INSTALL_LIBDIR} instead
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 2 Jul 2016 07:22:03 +0000 (15:22 +0800)]
cmake: install python srcs into platform-independent dir
otherwise they will be installed into
$PREFIX/lib64/python2.7/site-packages instead of
$PREFIX/lib/python2.7/site-packages on amd64 arch.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 17 Jun 2016 05:58:55 +0000 (13:58 +0800)]
msg/simple: set close on exec on server sockets
mds execv() when handling the "respawn" command, to avoid fd leakage,
and enormous CLOSE_WAIT connections after respawning, we need to set
FD_CLOEXEC flag for the socket fds.
Fixes: http://tracker.ceph.com/issues/16390
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 16 Jun 2016 17:17:05 +0000 (01:17 +0800)]
msg/async: set close on exec on server sockets
mds execv() when handling the "respawn" command, to avoid fd leakage,
and enormous CLOSE_WAIT connections after respawning, we need to set
FD_CLOEXEC flag for the socket fds.
Fixes: http://tracker.ceph.com/issues/16390
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Fri, 1 Jul 2016 03:19:13 +0000 (11:19 +0800)]
os/bluestore: add compression required ratio to enable/disable compression
Require the net gain of compression at least to be at a specified ratio,
otherwise we don't compress.
Ask for compressing at least 12.5% off, by default.
This is for the sake of performance because if the compression turns out
to be meaningless(saving little space), we can simply shut it down, as we
know the compression/decompression can be rather CPU-consuming.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Douglas Fuller [Fri, 1 Jul 2016 20:02:00 +0000 (13:02 -0700)]
tools/cephfs: Remove cephfs-data-scan tmap_upgrade
tmap_upgrade was only for Jewel, so remove it for Kraken.
Fixes: http://tracker.ceph.com/issues/16144
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
Sage Weil [Fri, 1 Jul 2016 18:46:26 +0000 (14:46 -0400)]
Merge pull request #10096 from ceph/wip-dang-cmake
debian: set libexec dir to correct value as autotools did
Reviewed-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Fri, 1 Jul 2016 18:33:40 +0000 (14:33 -0400)]
Merge pull request #9941 from weiqiaomiao/wqm-wip-fetchobj
rgw: fix memory leak in RGWRados::fetch_remote_obj()
lgtm
Daniel Gryniewicz [Fri, 1 Jul 2016 18:12:47 +0000 (14:12 -0400)]
debian - set libexec dir to correct value as autotools did
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Sage Weil [Fri, 1 Jul 2016 18:04:52 +0000 (14:04 -0400)]
os/bluestore: trim cache on reads too
We were only trimming in the write path, which would make memory explode
on a read-only workload.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Jul 2016 17:29:46 +0000 (13:29 -0400)]
Merge pull request #10082 from chhabaramesh/bitalloc_warn
os/bluestore: Remove bit alloc Woverloaded-virtual warnings
Sage Weil [Fri, 1 Jul 2016 17:28:17 +0000 (13:28 -0400)]
Merge pull request #10068 from jcsp/wip-cephfs-doc-update
doc: update CephFS "early adopters" info
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
pritha-srivastava [Fri, 1 Jul 2016 16:07:12 +0000 (21:37 +0530)]
Merge pull request #9584 from chiehtu/fix-16188
rgw: fix Swift API returns double space usage
Reviewed by: Pritha Srivastava <prsrivas@redhat.com>
Matt Benjamin [Fri, 1 Jul 2016 15:40:08 +0000 (11:40 -0400)]
Merge pull request #10000 from weiqiaomiao/wqm-wip-add-userlist-cli
rgw: add "radosgw-admin user list" cli
verified
John Spray [Fri, 1 Jul 2016 14:31:22 +0000 (15:31 +0100)]
Merge pull request #9838 from xiexingguo/xxg-wip-fix-synthetic-client
client: misc fixes
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Fri, 1 Jul 2016 14:05:20 +0000 (10:05 -0400)]
Merge pull request #10092 from ceph/wip-dang-cmake
cmake: fixes
Reviewed-by: Kefu Chai <kchai@redhat.com>