Commit Graph

57594 Commits

Author SHA1 Message Date
Sage Weil
e2a75328dd Merge pull request #10947 from atheism/radosgw-admin-help
rgw: right parenthesis is missing in radosgw-admin help message on caps

Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-07 09:20:35 -05:00
Sage Weil
b2af44111a Merge pull request #10954 from stiopaa1/rgw_rgwrados_removeUnneededClassCTick
rgw/rgw_rados.h: remove unneeded class C_Tick

Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-07 09:18:52 -05:00
Sage Weil
7794830362 Merge pull request #10967 from stiopaa1/osd_replicatedbackend_moveClasses
osd/ReplicatedBackend: move classes to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-07 09:16:55 -05:00
Sage Weil
2a5255fc5c Merge pull request #10971 from stiopaa1/osd_replicatedpg_moveContextClasses
osd/ReplicatedPG: move classes to .cc file

Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-07 09:15:39 -05:00
Sage Weil
5e7e22bc4c Merge pull request #10979 from wjwithagen/wip-wjw-cephtool-test
qa/workunits/cephtool/test.sh: fix omission of ceph-command
2016-09-07 09:13:34 -05:00
Sage Weil
04405b6c74 Merge pull request #10988 from jazeltq/fix-compile-error
autogen: Fix rocksdb error when make dist
2016-09-07 09:13:18 -05:00
John Spray
439cd5e1b4 mds: log path with CDir damage messages
Previously you just got the inode number, which
wasn't terribly useful for e.g. a missing fragment
object, as you couldn't readily resolve the parent
path.

Fixes: http://tracker.ceph.com/issues/16973
Signed-off-by: John Spray <john.spray@redhat.com>
2016-09-07 15:02:51 +01:00
Daniel Gryniewicz
0f0c16bfed Merge pull request #10930 from atheism/rgw-lc-fix-sleep-time
rgw/rgw_lc.cc: fix sleep time according to the error message
2016-09-07 09:48:39 -04:00
Kefu Chai
20fc0fecd6 cmake: include(SIMDExt) in src/CMakeLists.txt
as we need to check HAVE_ARMV8_CRC in src/CMakeLists.txt.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-09-07 19:58:45 +08:00
John Spray
86f6522ded mds: trim null dentries proactively
Instead of leaving null dentries (e.g. left
behind from unlinks) in the cache until they
fall out of the LRU, actively push them
to the bottom of the LRU and then consume
all nulls at the bottom in trim() even if
the cache is not oversized yet.

This fixes the case where standby replay daemons
would otherwise accumulate a cache full of
null dentries resulting from unlinks, and it
makes the behaviour of active daemons more
deterministic.

Fixes: http://tracker.ceph.com/issues/16919
Signed-off-by: John Spray <john.spray@redhat.com>
2016-09-07 12:52:04 +01:00
Willem Jan Withagen
2e9809aeae src/test/objectstore/CMakeLists.txt: conditionaly build tests
- Honor WITH_AIO tests that depend on bluestore parts

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-09-07 12:44:03 +02:00
Willem Jan Withagen
8ecd55ca63 src/tools/CMakeLists.txt: conditionaly build ceph-client-debug
- Honor WITH_LIBCEPHFS

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-09-07 12:44:03 +02:00
Willem Jan Withagen
1ce0e75c55 src/pybind/CMakeLists.txt: conditionaly build cython tools
- honor the WITH_RBD and WITH_LIBCEPHFS flags

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-09-07 12:44:02 +02:00
Willem Jan Withagen
c7c07da5a2 src/CMakeLists.txt: exclude parts not buildable on FreeBSD
- FreeBSD does not have keyutils or any kernel type security store
   So using secret.c is not really relevant here
 - Have common/secret.c depend on KEYUTILS_FOUND
 - This also excludes building mount.cephfs,
   Next to the fact that this is 100% linux bases mount stuff
 - krbd is the Linux kernel version for RBD based disks, but again
   completely Linux based and porting to FreeBSD, if any, has to follow
   a different route

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-09-07 12:43:02 +02:00
tianqing
42bf1d0a5c Makfile: Fix rocksdb error when make dist
Rocksdb delete some files, so we should change another way
to get rocksdb's files.

Currently, if we do not run configure in googletest/googlemock,
we also will get a error when make dist. So fix it too.

Signed-off-by: tianqing <tianqing@unitedstack.com>
2016-09-07 17:52:52 +08:00
Kefu Chai
3942ac4d27 Merge pull request #10972 from wjwithagen/wip-wjw-cmake-resolv
CmakeLists.txt: use LIB_RESOLV instead of resolv.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-09-07 14:53:08 +08:00
Jason Dillaman
c2a5e70338 Merge pull request #10378 from trociny/wip-14738
librbd: optionally unregister "laggy" journal clients

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-09-06 22:50:15 -04:00
xu biao
a46a18fe56 crush/CrushCompiler.cc:884
bug fix: index out of range

Signed-off-by: xu biao <xubiao.codeyz@gmail.com>
2016-09-07 08:04:07 +08:00
Sage Weil
58030cc03c ceph_test_objectstore: test shards for longer
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-06 17:58:38 -04:00
Sage Weil
933a1da6d7 ceph_test_objectstore: occasional umount/fsck/mount
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-06 17:58:38 -04:00
Sage Weil
025bbc6220 ceph_test_objectstore: add SyntheticMatrixSharding
Signed-off-by: Sage Weil <sage@redhat.com>
2016-09-06 17:58:38 -04:00
Casey Bodley
ebf289a6e7 Merge pull request #10870 from ceph/wip_build_cls_rbd
cmake: add dependency from ceph_smalliobenchrbd to cls libraries

Reviewed-by: Jason Dillaman <jdillama@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-09-06 17:47:32 -04:00
Jason Dillaman
40df120bd0 Merge pull request #10912 from stiopaa1/journal_journaltimer_moveCRemoveSet
journal: move JournalTrimmer::C_RemoveSet struct

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-09-06 16:20:54 -04:00
J. Eric Ivancich
33e241e7c4 Add dependencies from ceph_smalliobenchrbd on cls_rbd, cls_journal,
and cls_lock.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2016-09-06 15:13:42 -04:00
Jason Dillaman
4b000c9fd9 Merge pull request #10984 from ceph/wip-kfsx-exclusive-lock
test/librbd/fsx: enable exclusive-lock feature in krbd mode

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-09-06 11:39:32 -04:00
Sage Weil
da9b0e7c50 Merge pull request #10964 from liewegas/wip-bluefs-compaction
os/bluestore/BlueFS: fix async compaction logging bug
2016-09-06 10:10:43 -05:00
Sage Weil
3a036c79bf Merge pull request #10966 from liewegas/wip-bluefs-runway
os/bluestore/BlueFS: factor unflushed log into runway calculation

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Reviewed-by: Somnath Roy <somnath.roy@sandisk.com>
2016-09-06 09:12:53 -05:00
Sage Weil
e6a39aeb72 Merge pull request #10970 from xiexingguo/xxg-wip-honour-alloweio-flag
os/bluestore: honour allow-eio flag; use global compressor if possible

Reviewed-by: Sage Weil <sage@redhat.com>
2016-09-06 09:11:28 -05:00
Mykola Golub
9a95536429 Merge pull request #10974 from dillaman/wip-17210
librbd: potential double-unwatch of watch handle upon error

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-09-06 15:38:43 +03:00
John Spray
bd3645fb07 mds: s/used_ions/used_inos/
Signed-off-by: John Spray <john.spray@redhat.com>
2016-09-06 13:07:38 +01:00
John Spray
9fda6d1cd3 Merge pull request #10774 from renhwztetecs/renhw-wip-cephfs-python-umount
libcephfs: add unmount function in cephfs.pyx

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2016-09-06 12:51:26 +01:00
John Spray
4a3085bc63 Merge pull request #10914 from batrick/mds-no-maxmds
mds: remove max_mds config option

Reviewed-by: John Spray <john.spray@redhat.com>
2016-09-06 12:50:20 +01:00
jtlayton
0358fc095c Merge pull request #10922 from ceph/wip-jlayton-statx
First pile of statx patches
2016-09-06 07:04:51 -04:00
huanwen ren
3091fa3b51 test/cephfs: add mount&&unmount test
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-09-06 18:01:09 +08:00
Michal Jarzabek
6c3035b912 osd/OSD.cc: remove repeated searching of map
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-09-05 22:57:58 +01:00
Nathan Cutler
e2299fab08 Merge pull request #10981 from SUSE/wip-fix-install-deps
build/ops: fix /etc/os-release parsing in install-deps.sh

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-09-05 18:17:52 +02:00
Nathan Cutler
fd37e87f6d build/ops: fix /etc/os-release parsing in install-deps.sh
85a370e35f introduced the DISTRO variable whose
value was obtained by parsing /etc/os-release like this:

DISTRO=$(grep  "^ID=" /etc/os-release | sed "s/ID=//")

This unfortunately picks up the double-quotes, so on a CentOS system DISTRO
will be equal to '"centos"'.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-09-05 16:20:49 +02:00
xie xingguo
f6bea31b79 os/bluestore: use global compressor if possible
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-09-05 20:30:56 +08:00
Igor Fedotov
187e4fcb1e Merge pull request #10969 from xiexingguo/xxg-wip-fix-cache-logger
os/bluestore: replace store with logger in Cache

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-09-05 14:51:59 +03:00
Willem Jan Withagen
6f0e717e6b qa/workunits/cephtool/test.sh: fix omision of ceph-command
- The script fails with these commands, but not for the correct reason.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-09-05 12:04:55 +02:00
Mykola Golub
77fd6a1c20 rbd-mirror: option to automatically resync after journal client disconnect
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-05 12:48:47 +03:00
Mykola Golub
330dba00ba rbd-mirror: stop replay when client is disconnected
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-05 12:48:47 +03:00
Mykola Golub
4bf6912f3c rbd-mirror: resync was possible only when image replayer start had succeeded
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-05 08:51:54 +03:00
Mykola Golub
cd5eb36e98 rbd-mirror: decode_client_meta should return false on error
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-05 08:51:54 +03:00
Mykola Golub
fc3ba54b3c rbd: new command to disconnect journal client
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-05 08:51:54 +03:00
Mykola Golub
b8eafefba9 librbd: optionally flag "laggy" journal clients disconnected
Fixes: http://tracker.ceph.com/issues/14738
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-05 08:51:54 +03:00
Mykola Golub
0b8b1aaedc journal: allow to trim journal for "laggy" clients
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-05 08:51:54 +03:00
Mykola Golub
58b8c66d5b cls/journal: add async client_update_state method
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-09-05 08:51:54 +03:00
Jason Dillaman
fdd236476c Merge pull request #9592 from trociny/wip-15632
librbd: API methods to directly acquire and release the exclusive lock

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-09-04 21:54:36 -04:00
Jason Dillaman
1068ded0cb librbd: potential double-unwatch of watch handle upon error
Fixes: http://tracker.ceph.com/issues/17210
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-09-04 21:52:38 -04:00