Commit Graph

58808 Commits

Author SHA1 Message Date
Sage Weil
d9baaa1d6b Merge pull request #11536 from liewegas/wip-fullbit-dump
mds: fix EMetaBlob::fullbit xattr dump

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-18 13:43:17 -05:00
Sage Weil
15acca0bc5 Merge pull request #11533 from ifed01/wip-kstore-rmcoll-fix
os/kstore: rmcoll fix to satisfy store_test

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-18 13:22:11 -05:00
Sage Weil
325aff551c mds: fix EMetaBlob::fullbit xattr dump
- show xattr names!
- bound the values

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-18 14:03:17 -04:00
Sage Weil
e234d8bec3 Merge pull request #11525 from wjwithagen/wip-wjw-freebsd-getopt
tools/ceph-monstore-update-crush.sh: FreeBSD getopt is not compatible…

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-18 09:45:24 -05:00
Sage Weil
c65f8d8d83 Merge pull request #11524 from wjin/filestore_perfcounter
os/filestore: clean filestore perfcounters

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-18 09:41:54 -05:00
Sage Weil
c4d774003f Merge pull request #11518 from umullan/uday
doc: fix broken links
2016-10-18 09:31:54 -05:00
Sage Weil
2a8ee42023 Merge pull request #11522 from wjwithagen/wip-wjw-freebsd-readable.sh
FreeBSD:test/encoding/readable.sh": fix nproc and ls -v calls

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-18 09:30:06 -05:00
Sage Weil
c82f30d823 Merge pull request #11528 from jcsp/wip-vstart-1osd
vstart: decrease pool size if <3 OSDs

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-18 09:28:26 -05:00
Igor Fedotov
ebf81e3039 os/bluestore: proper set resulting pnext to avoid returning local var
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-10-18 13:50:17 +00:00
Igor Fedotov
5b36a93fd7 os/kstore: fix KStore rm_coll handler to behave similar to bluestore one
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-10-18 13:47:00 +00:00
Orit Wasserman
e92757eb8e Merge pull request #10325 from snakeAngel2015/rgw-support-s3subuser
rgw: add suport for creating S3 type subuser of admin rest api
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-10-18 15:15:13 +02:00
Igor Fedotov
4a9c8e07b5 os/kstore: uniform Collection implementation with BlueStore one
Signed-off-by:Igor Fedotov <ifedotov@mirantis.com>
2016-10-18 13:04:43 +00:00
Kefu Chai
7661da65bf Merge pull request #11481 from ddiss/cmake_rgw_deps
cmake: check WITH_RADOSGW for fcgi and expat dependencies

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-18 20:40:59 +08:00
John Spray
095c271d26 vstart: decrease pool size if <3 OSDs
Makes it easy to do OSD=1 for e.g. doing cephfs
stuff where we don't care much about the OSDs
behaviour.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-10-18 11:59:41 +01:00
Orit Wasserman
55844b2492 Merge pull request #10239 from weiqiaomiao/wqm-wip-setolh
rgw: should assign 'olh_bl" to state.attrset[RGW_ATTR_OLH_ID_TAG] instead of 'bl'
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-10-18 12:20:16 +02:00
Orit Wasserman
36adaab7b5 Merge pull request #11324 from yehudasa/wip-14589
rgw: dump objects in RGWBucket::check_object_index()
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-10-18 11:40:34 +02:00
Willem Jan Withagen
3c8cd0ffd8 tools/ceph-monstore-update-crush.sh: FreeBSD getopt is not compatible, use the one from packages
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-10-18 11:40:28 +02:00
Kefu Chai
c5ee3b5274 Merge pull request #11432 from hansbogert/patch-3
doc: Update install-ceph-gateway.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-10-18 17:19:15 +08:00
Uday Mullangi
2393f9e4ba Fixes: #17587
doc: Fixing the broken link which was refactored for authentication as part of other PR
Signed-off-by: uday udaymjl@gmail.com
2016-10-18 11:51:58 +05:30
Wei Jin
6385546826 os/filestore: clean filestore perfcounters
Move filestore perfcounters from objectstore to filestore itself
and change internal index name.

Signed-off-by: Wei Jin <wjin.cn@gmail.com>
2016-10-18 11:53:04 +08:00
Sage Weil
29119aaff3 Merge pull request #11027 from liewegas/wip-denc
fast denc encoding

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
2016-10-17 21:21:20 -05:00
Sage Weil
9a8bcf8fbf Merge remote-tracking branch 'gh/kraken' 2016-10-17 13:35:45 -04:00
Ali Maredia
eab4664287 cmake: find GIT_VER variables if there is no .git dir
find CEPH_GIT_VER & CEPH_GIT_NICE_VER if there is no
ceph/.git dir by parsing ceph/src/.git_version.

scenario is for building from source tarballs generated
by make-dist, since make-dist generates .git_version
by running make_version, and then packs .git_version
into the tarball.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit c5c6b59f29)
2016-10-17 11:47:32 -04:00
Sage Weil
78e262afd5 Merge pull request #11502 from liewegas/wip-bluestore-keybug
os/bluestore: fix escaping of chars > 0x80

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-10-17 10:47:10 -05:00
Sage Weil
659da5f16d os/kstore: fix escaping of chars > 0x80 in keys
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-17 11:46:22 -04:00
Sage Weil
a86d78ee65 os/bluestore: fix escaping of odd chars >0x80 in keys
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-17 11:46:22 -04:00
Sage Weil
91c1a228a6 ceph_test_objectstore: test unprintable chars
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-17 11:46:22 -04:00
Willem Jan Withagen
b369bcabf5 FreeBSD:test/encoding/readable.sh": fix nproc and ls -v calls
Neither of these is available in FreeBSD.
 But sort -n is Posix, and does the same ATM.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-10-17 16:42:15 +02:00
Sage Weil
311c7b7c63 Merge pull request #11521 from markhpc/wip-send_inline
msg/async: set ms_async_send_inline to false to improve small randread iops
2016-10-17 09:36:09 -05:00
Mark Nelson
700e9c406a Set ms_async_send_inline to false to improve small randread iops.
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2016-10-17 09:10:09 -05:00
John Spray
8279264216 Merge pull request #11262 from jcsp/wip-17270-master
Revert "osdc: After write try merge bh."

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-10-17 14:06:42 +02:00
Jenkins Build Slave User
697fe64f9f 11.0.2 2016-10-17 11:16:50 +00:00
John Spray
a1fd258ad2 Merge pull request #11211 from ceph/wip-no-recordlock-test
test: temporarily remove fork()ing flock tests

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-17 13:04:41 +02:00
Uday Mullangi
6b78568980 Fixes: #17587
doc: Fixing the broken link which was refactored for authentication as part of other PR
Signed-off-by: uday udaymjl@gmail.com
2016-10-17 16:34:25 +05:30
Uday Mullangi
fe9b146ad7 Fixes: #17587
doc: Fixing the broken link which was refactored for authentication as part of other PR
Signed-off-by: uday udaymjl@gmail.com
2016-10-17 16:10:42 +05:30
John Spray
4270f1adef Merge pull request #11440 from ceph/wip-jlayton-linkref
client: don't take extra target inode reference in ll_link

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-17 12:37:47 +02:00
John Spray
371aeb5279 Merge pull request #11421 from ceph/wip-jlayton-cephfs
Small pile of random cephfs fixes and cleanup

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-10-17 12:36:22 +02:00
Brad Hubbard
842a1527a8 Merge pull request #11515 from badone/wip-find_best_info-typos
osd: Fix typos in PG::find_best_info

Reviewed-by:  xiexingguo <xie.xingguo@zte.com.cn>
2016-10-17 14:48:13 +10:00
Brad Hubbard
125f90ba18 osd: Fix typos in PG::find_best_info
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-10-17 13:30:58 +10:00
Sage Weil
d6557a1f70 Merge pull request #11513 from badone/clear_primary_state-typo
osd: fix typo in PG::clear_primary_state
2016-10-16 21:27:15 -05:00
Sage Weil
894807b9a3 Merge pull request #11514 from xiexingguo/xxg-wip-bluestore-1015
os/bluestore: formatting nits

Reviewed-by: Sage Weil <sage@redhat.com>
2016-10-16 21:27:00 -05:00
Brad Hubbard
adc51df69d osd: fix typo in PG::clear_primary_state
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-10-17 08:12:34 +10:00
Sage Weil
e7155b3d59 buffer: make iterator copy to ptr handle len==0
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-16 10:32:51 -04:00
Sage Weil
b00b9d021b buffer: fix * zero placement
Back in 46522cf0d2 we broke the newline
placement for the * lines.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-16 10:32:51 -04:00
Sage Weil
dc7c0a7d3a ceph-dencoder: don't dump usage on every error
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-16 10:32:51 -04:00
Sage Weil
3d5c19958f ceph-dencoder: add hexdump command
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-16 10:32:51 -04:00
Sage Weil
269a5bba1c os/bluestore: do deep encode of onode
Avoid an inevitable rebuild() since we have to pass this to rocksdb as a
single memory buffer anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-16 10:32:51 -04:00
Sage Weil
f047d57668 buffer: add a 'deep' append mode
Do the copy up-front.  This is useful if we know our target buffer must
be a contiguous buffer (e.g., because it will be passed to a kv store).

Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-16 10:32:51 -04:00
Sage Weil
5ca65f51c8 os/bluestore: log onode component sizes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-16 10:32:51 -04:00
Sage Weil
01e629e4c0 buffer: contiguous_appender::get_logical_offset
Signed-off-by: Sage Weil <sage@redhat.com>
2016-10-16 10:32:51 -04:00