Sage Weil
c5597e341c
unittest_bluefs: fix block device sizes
...
These should be a multiple of the block size (since we are feeding
the size directly into add_block_extent).
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-26 14:22:30 -04:00
Sage Weil
7290f34101
os/bluestore: ensure block device size is a multiple of the block size
...
We might have a backing device that is an odd number of 512-byte sectors
but have the block_size configured to 4096. Ensure the reported size
rounds down to avoid confusing other layers of the stack.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-24 13:02:31 -04:00
Sage Weil
108ee77b54
os/bluestore: fsck on mkfs (on by default)
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-24 13:02:31 -04:00
Sage Weil
badb07e8bf
os/bluestore: fix whitespace in bitset apply helper
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-23 14:55:45 -04: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
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 4f5d588bed6c000ba7acfd5c94a4e706ddd14f0d 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
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
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
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
xie xingguo
8495245041
os/bluestore: use bluefs_max_prefetch for log file prefetch
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-19 13:49:57 +08:00
xie xingguo
94a3964258
os/bluestore: fix race condition during get_fs_usage()
...
file_map should be accessed under the protection
of the global lock.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-19 13:49:57 +08:00
Kefu Chai
190dba3c8d
Merge pull request #10591 from xiexingguo/xxg-wip-osdmon-2016-08-05
...
mon: misc cleanups
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-19 11:58:42 +08:00
Kefu Chai
44bcd269d0
Merge pull request #10516 from wjwithagen/wip-wjw-freebsd-pidfile
...
src/global/pidfile.cc: Assign elements in structures individually
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-19 11:58:15 +08:00
Kefu Chai
87b5028811
Merge pull request #10451 from songbaisen/c0
...
tools: fix the core dump when get the crushmap do not exist
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-19 11:57:37 +08:00
Kefu Chai
34a80e8bb6
Merge pull request #9694 from renhwztetecs/renhw-wip-librados-iotest
...
test: add the necessary judgment
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-08-19 11:57:07 +08:00
Kefu Chai
2e3b23a7f4
debian: drop python-argparse dependency
...
and bump up the dependency of python version to 2.7.
py2.6 support was only necessary for older (now unsupported) distro
versions.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-19 10:43:51 +08:00