Commit Graph

56992 Commits

Author SHA1 Message Date
Michal Jarzabek
8fc2e9f6c0 mds/SnapRealm.h: add const to member functions
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-08-25 22:36:09 +01:00
Sage Weil
537cbb380b Merge pull request #10817 from stiopaa1/os_memstore_movePageSetObject
os/Memstore: move PageSetObject class to .cc file

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-23 13:27:43 -05:00
Sage Weil
ddb8125500 Merge pull request #10803 from stiopaa1/os_memstore_moveOmapIteratorImplClassToCC
os/MemStore: move OmapIteratorImpl to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-23 13:27:18 -05:00
Sage Weil
b7c7941b51 Merge pull request #10799 from stiopaa1/os_fusestore_removeUnneededHeader
os/FuseStore: remove unneeded header file

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-23 13:26:51 -05:00
Sage Weil
08f4ce0671 Merge pull request #10801 from stiopaa1/os_memstore_addOverride
os/Memstore.h: add override to virtual functions

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-23 13:26:31 -05:00
Yehuda Sadeh
d8a02b9f9a Merge pull request #10743 from cbodley/wip-rgw-meta-sync-assert
rgw multisite: fix for assertion in RGWMetaSyncCR

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-08-23 08:09:27 -07:00
Yehuda Sadeh
ee220ab039 Merge pull request #10032 from cbodley/wip-rgw-cr-deadlock
rgw: add deadlock detection to RGWCoroutinesManager::run()

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-08-23 08:03:01 -07:00
Kefu Chai
b403cad100 Merge pull request #10821 from atheism/arm-read-improve
arch/arm.c: remove unnecessary variable read for simplicity

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-23 16:09:38 +08:00
Kefu Chai
2202bcc71b Merge pull request #10819 from cbodley/wip-yasm-spam
yasm-wrapper: dont echo the yasm command line

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-23 12:27:16 +08:00
zhangweibing
ed5f25f3f8 arch/arm.c: remove unnecessary variable read for simplicity
Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
2016-08-23 12:12:38 +08:00
Casey Bodley
f7f58a61aa yasm-wrapper: dont echo the yasm command line
commented out the echos because they're noisy. if anyone needs to debug
the wrapper in the future, they can uncomment

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-08-22 19:31:58 -04:00
Yuri Weinstein
bce9b9336e Merge pull request #10572 from xiexingguo/xxg-wip-osd-2016-08-04
osd: miscellaneous fixes

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-22 13:29:59 -07:00
Yuri Weinstein
f5958850ab Merge pull request #10610 from xiexingguo/xxg-wip-pg-2016-08-06
osd: misc fixes and cleanups

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-08-22 13:29:07 -07:00
Yuri Weinstein
45bf8c19e8 Merge pull request #10688 from athanatos/wip-16998
Wip 16998

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-22 13:27:42 -07:00
Yuri Weinstein
40e1aef283 Merge pull request #10584 from tchaikov/wip-16933
mon/PGMonitor: calc the %USED of pool using used/(used+avail)

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-22 13:25:10 -07:00
Michal Jarzabek
5faaf58dbe os/Memstore: move PageSetObject class to .cc file
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-08-22 20:28:10 +01:00
Nathan Cutler
be6f6cbd5c Merge pull request #10608 from SUSE/wip-16949
rpm: add udev BuildRequires to provide /usr/lib/udev directory

Reviewed-by: Boris Ranto <branto@redhat.com>
2016-08-22 17:47:48 +02:00
Sage Weil
b2a809500a Merge pull request #10783 from xiexingguo/xxg-wip-fix-comment-typo
common/config_opts: fix comment(radio -> ratio)

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-22 10:36:20 -05:00
Sage Weil
aac733d426 Merge pull request #10795 from liewegas/wip-bluestore-statfs
os/bluestore: include bluefs space in statfs result

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2016-08-22 10:34:00 -05:00
Kefu Chai
1a23c2ed71 Merge pull request #10800 from ceph/wip-postfile-rsa
ceph-post-file replace DSA with RSA ssh key

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-22 22:44:56 +08:00
Ken Dreyer
0d34274e58 Merge pull request #10809 from SUSE/wip-17091
ceph-osd-prestart.sh: check existence of OSD data directory

Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2016-08-22 08:31:33 -06:00
David Galloway
a61fcb2eac ceph-post-file: Ignore keys offered by ssh-agent
In my case, I had multiple private keys in ssh-agent which resulted in
the sftp connection failing despite explicitly specifying the private
key to use

Signed-off-by: David Galloway <dgallowa@redhat.com>
2016-08-22 10:27:53 -04:00
David Galloway
ecd02bf3f1 ceph-post-file: migrate to RSA SSH keys
DSA keys are being deprecated: http://www.openssh.com/legacy.html

drop.ceph.com will continue to allow the old DSA key but eventually,
users submitting logs using ceph-post-file will run into issues when
OpenSSH completely drops support for the algorithm.

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

Signed-off-by: David Galloway <dgallowa@redhat.com>
2016-08-22 10:27:36 -04:00
Nathan Cutler
d6ffa77078 ceph-osd-prestart.sh: check existence of OSD data directory
Fixes: http://tracker.ceph.com/issues/17091
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-08-22 11:54:23 +02:00
Josh Durgin
23eeb74405 Merge pull request #10806 from tchaikov/wip-17087
test/librados: rados_connect() should succeed

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-08-22 00:21:35 -07:00
Kefu Chai
c8451ad108 test/librados: rados_connect() should succeed
the "rados_osd_op_timeout" setting does not apply to the initial connection.
this regression was introduced by 6c67073

Fixes: http://tracker.ceph.com/issues/17087
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-22 11:59:25 +08:00
xie xingguo
d155520854 mon/OSDMonitor: add output field name of average/overload_utilization
In 4f5d588bed I forget to add the
names of average_utilization and overload_utilization to the output
string.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-22 09:54:54 +08:00
xie xingguo
fe83973a2b msg: kill unused macros
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-22 09:51:48 +08:00
xie xingguo
c136e3e5f5 common/config_opts: fix comment(radio -> ratio)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-22 09:51:48 +08:00
Sage Weil
b97f3d6761 os/bluestore: include bluefs space in statfs result
We were counting all (free) space allocated to bluefs as used.  Instead,
query bluefs to find out what is used and what is free.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-21 18:33:47 -05:00
Sage Weil
07a06d1f74 Merge pull request #10771 from xiexingguo/xxg-wip-fix-bluerockenv
os/bluestore: misc fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-21 17:59:46 -05:00
Michal Jarzabek
dfcccf6e75 os/MemStore: move OmapIteratorImpl to cc file
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-08-21 13:08:40 +01:00
Kefu Chai
fe992d6889 Merge pull request #10435 from ceph/wip-debian-rbdmap-service
debian: replace SysV rbdmap with systemd service

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-21 18:23:08 +08:00
Kefu Chai
3be1d4d8be Merge pull request #10725 from tchaikov/wip-17023
osd: subscribe for old osdmaps when pause flag is set

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-21 18:21:14 +08:00
Kefu Chai
dbbe97f048 Merge pull request #10739 from xiexingguo/xxg-wip-osdmon-2016-08-15
osd/OSDMonitor: misc. cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-21 18:19:40 +08:00
Kefu Chai
59db0ce56f Merge pull request #10753 from tchaikov/wip-16982
osd: bail out if transaction size overflows

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-21 18:18:50 +08:00
Michal Jarzabek
7239e1c1fd os/Memstore.h: add override to virtual functions
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-08-20 10:04:58 +01:00
Dan Mick
42a42c214b Merge pull request #10751 from ceph/wip-kefu-testing
rgw: do not try to encode or decode time_t and fix compiling warnings

Reviewed-by: Dan Mick <dmick@redhat.com>
2016-08-19 14:00:23 -07:00
Michal Jarzabek
f28a9f65b9 os/FuseStore: remove unneeded header file
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-08-19 21:14:03 +01:00
Sage Weil
20186b2485 Merge pull request #10766 from liewegas/wip-bluestore-trivial
os/bluestore/BlueFS: disable buffered io
2016-08-19 12:21:46 -05:00
Sage Weil
5422527e92 Merge pull request #10773 from xiexingguo/xxg-wip-bluestore-2016-08-18
os/bluestore: fix decoding hash of bnode

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-19 12:17:06 -05:00
Sage Weil
d8f9c5913b Merge pull request #10780 from liewegas/wip-bluestore-finishers
os/bluestore: add multiple finishers to bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-19 12:15:17 -05:00
Nathan Cutler
fc7e398f1b Merge pull request #10592 from michelmno/forpull
LTTng-UST disabled for openSUSE

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-08-19 17:36:58 +02:00
Kefu Chai
58b47a61b1 Merge pull request #10788 from ceph/wip-cmake
debian and cmake cleanups

Reviewed-by: Oleh Prypin <oleh@pryp.in>
2016-08-19 23:22:02 +08:00
Mykola Golub
549812338e Merge pull request #10762 from dillaman/wip-16654
librbd: cache was not switching to writeback after first flush

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-08-19 16:01:45 +03:00
Kefu Chai
2bc985f5a0 Merge pull request #10741 from minshenglin/remove_non_exists_options
doc: remove the description of deleted options

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-19 17:38:42 +08:00
Kefu Chai
a7623818db os/filestore/FileJournal: bail out if transaction is too large
if a transaction is too large to fit in the FileJournal's ring buffer,
we will wait. but if its size is larger than the max_size, it's likely
due to a bug or an invalid setting. in that case, we'd better fail
earlier.

Fixes: http://tracker.ceph.com/issues/16982
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-19 15:09:57 +08:00
Kefu Chai
d71ccde4a3 osd: bail out if transaction size overflows
with a large MOSDMap message, the transaction size could be greater than
UINT_MAX. so fail early with error messages.

Fixes: http://tracker.ceph.com/issues/16982
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-19 15:06:08 +08:00
xie xingguo
d2cfbb9376 os/bluestore: fix assert
This assert is used to guarantee that we don't access violation
but currently has no effect.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-19 14:13:05 +08:00
xie xingguo
0c815789c4 os/bluestore: use hex if we are running out of space
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-19 14:11:58 +08:00