]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Wido den Hollander [Thu, 8 Sep 2016 12:44:57 +0000 (14:44 +0200)]
mds: Set mds_snap_max_uid to
4294967294
Since kernel version 2.6 the Linux kernel supports 32-bit integers
and thus the limit is no longer 65536.
By setting this to a higher default value we make sure that all users
will be allowed to create snapshots in the future by default.
Signed-off-by: Wido den Hollander <wido@42on.com>
Sage Weil [Tue, 23 Aug 2016 18:27:43 +0000 (13:27 -0500)]
Merge pull request #10817 from stiopaa1/os_memstore_movePageSetObject
os/Memstore: move PageSetObject class to .cc file
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 23 Aug 2016 18:27:18 +0000 (13:27 -0500)]
Merge pull request #10803 from stiopaa1/os_memstore_moveOmapIteratorImplClassToCC
os/MemStore: move OmapIteratorImpl to cc file
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 23 Aug 2016 18:26:51 +0000 (13:26 -0500)]
Merge pull request #10799 from stiopaa1/os_fusestore_removeUnneededHeader
os/FuseStore: remove unneeded header file
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 23 Aug 2016 18:26:31 +0000 (13:26 -0500)]
Merge pull request #10801 from stiopaa1/os_memstore_addOverride
os/Memstore.h: add override to virtual functions
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Tue, 23 Aug 2016 15:09:27 +0000 (08:09 -0700)]
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>
Yehuda Sadeh [Tue, 23 Aug 2016 15:03:01 +0000 (08:03 -0700)]
Merge pull request #10032 from cbodley/wip-rgw-cr-deadlock
rgw: add deadlock detection to RGWCoroutinesManager::run()
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Kefu Chai [Tue, 23 Aug 2016 08:09:38 +0000 (16:09 +0800)]
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>
Kefu Chai [Tue, 23 Aug 2016 04:27:16 +0000 (12:27 +0800)]
Merge pull request #10819 from cbodley/wip-yasm-spam
yasm-wrapper: dont echo the yasm command line
Reviewed-by: Kefu Chai <kchai@redhat.com>
zhangweibing [Tue, 23 Aug 2016 04:12:38 +0000 (12:12 +0800)]
arch/arm.c: remove unnecessary variable read for simplicity
Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
Casey Bodley [Mon, 22 Aug 2016 23:24:35 +0000 (19:24 -0400)]
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>
Yuri Weinstein [Mon, 22 Aug 2016 20:29:59 +0000 (13:29 -0700)]
Merge pull request #10572 from xiexingguo/xxg-wip-osd-2016-08-04
osd: miscellaneous fixes
Reviewed-by: Samuel Just <sjust@redhat.com>
Yuri Weinstein [Mon, 22 Aug 2016 20:29:07 +0000 (13:29 -0700)]
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>
Yuri Weinstein [Mon, 22 Aug 2016 20:27:42 +0000 (13:27 -0700)]
Merge pull request #10688 from athanatos/wip-16998
Wip 16998
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Mon, 22 Aug 2016 20:25:10 +0000 (13:25 -0700)]
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>
Michal Jarzabek [Mon, 22 Aug 2016 19:25:45 +0000 (20:25 +0100)]
os/Memstore: move PageSetObject class to .cc file
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Nathan Cutler [Mon, 22 Aug 2016 15:47:48 +0000 (17:47 +0200)]
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>
Sage Weil [Mon, 22 Aug 2016 15:36:20 +0000 (10:36 -0500)]
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>
Sage Weil [Mon, 22 Aug 2016 15:34:00 +0000 (10:34 -0500)]
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>
Kefu Chai [Mon, 22 Aug 2016 14:44:56 +0000 (22:44 +0800)]
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>
Ken Dreyer [Mon, 22 Aug 2016 14:30:49 +0000 (08:30 -0600)]
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>
David Galloway [Fri, 19 Aug 2016 20:11:32 +0000 (16:11 -0400)]
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>
David Galloway [Fri, 19 Aug 2016 20:09:30 +0000 (16:09 -0400)]
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>
Nathan Cutler [Mon, 22 Aug 2016 09:52:45 +0000 (11:52 +0200)]
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>
Josh Durgin [Mon, 22 Aug 2016 07:21:35 +0000 (00:21 -0700)]
Merge pull request #10806 from tchaikov/wip-17087
test/librados: rados_connect() should succeed
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Mon, 22 Aug 2016 03:57:17 +0000 (11:57 +0800)]
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>
xie xingguo [Mon, 22 Aug 2016 01:54:54 +0000 (09:54 +0800)]
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>
xie xingguo [Thu, 18 Aug 2016 09:26:03 +0000 (17:26 +0800)]
msg: kill unused macros
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 19 Aug 2016 01:42:00 +0000 (09:42 +0800)]
common/config_opts: fix comment(radio -> ratio)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Sun, 21 Aug 2016 23:33:47 +0000 (18:33 -0500)]
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>
Sage Weil [Sun, 21 Aug 2016 22:59:46 +0000 (17:59 -0500)]
Merge pull request #10771 from xiexingguo/xxg-wip-fix-bluerockenv
os/bluestore: misc fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Michal Jarzabek [Sat, 20 Aug 2016 07:38:36 +0000 (08:38 +0100)]
os/MemStore: move OmapIteratorImpl to cc file
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Kefu Chai [Sun, 21 Aug 2016 10:23:08 +0000 (18:23 +0800)]
Merge pull request #10435 from ceph/wip-debian-rbdmap-service
debian: replace SysV rbdmap with systemd service
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 21 Aug 2016 10:21:14 +0000 (18:21 +0800)]
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>
Kefu Chai [Sun, 21 Aug 2016 10:19:40 +0000 (18:19 +0800)]
Merge pull request #10739 from xiexingguo/xxg-wip-osdmon-2016-08-15
osd/OSDMonitor: misc. cleanups
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 21 Aug 2016 10:18:50 +0000 (18:18 +0800)]
Merge pull request #10753 from tchaikov/wip-16982
osd: bail out if transaction size overflows
Reviewed-by: Samuel Just <sjust@redhat.com>
Michal Jarzabek [Sat, 20 Aug 2016 08:18:09 +0000 (09:18 +0100)]
os/Memstore.h: add override to virtual functions
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Dan Mick [Fri, 19 Aug 2016 21:00:23 +0000 (14:00 -0700)]
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>
Michal Jarzabek [Fri, 19 Aug 2016 20:14:03 +0000 (21:14 +0100)]
os/FuseStore: remove unneeded header file
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Sage Weil [Fri, 19 Aug 2016 17:21:46 +0000 (12:21 -0500)]
Merge pull request #10766 from liewegas/wip-bluestore-trivial
os/bluestore/BlueFS: disable buffered io
Sage Weil [Fri, 19 Aug 2016 17:17:06 +0000 (12:17 -0500)]
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>
Sage Weil [Fri, 19 Aug 2016 17:15:17 +0000 (12:15 -0500)]
Merge pull request #10780 from liewegas/wip-bluestore-finishers
os/bluestore: add multiple finishers to bluestore
Reviewed-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Fri, 19 Aug 2016 15:36:58 +0000 (17:36 +0200)]
Merge pull request #10592 from michelmno/forpull
LTTng-UST disabled for openSUSE
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Fri, 19 Aug 2016 15:22:02 +0000 (23:22 +0800)]
Merge pull request #10788 from ceph/wip-cmake
debian and cmake cleanups
Reviewed-by: Oleh Prypin <oleh@pryp.in>
Mykola Golub [Fri, 19 Aug 2016 13:01:45 +0000 (16:01 +0300)]
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>
Kefu Chai [Fri, 19 Aug 2016 09:38:42 +0000 (17:38 +0800)]
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>
Kefu Chai [Fri, 19 Aug 2016 06:50:38 +0000 (14:50 +0800)]
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>
Kefu Chai [Wed, 17 Aug 2016 11:39:12 +0000 (19:39 +0800)]
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>
xie xingguo [Fri, 19 Aug 2016 06:13:05 +0000 (14:13 +0800)]
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>
xie xingguo [Fri, 19 Aug 2016 06:11:58 +0000 (14:11 +0800)]
os/bluestore: use hex if we are running out of space
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 19 Aug 2016 03:20:31 +0000 (11:20 +0800)]
os/bluestore: use bluefs_max_prefetch for log file prefetch
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 19 Aug 2016 02:30:49 +0000 (10:30 +0800)]
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>
Kefu Chai [Fri, 19 Aug 2016 03:58:42 +0000 (11:58 +0800)]
Merge pull request #10591 from xiexingguo/xxg-wip-osdmon-2016-08-05
mon: misc cleanups
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 19 Aug 2016 03:58:15 +0000 (11:58 +0800)]
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>
Kefu Chai [Fri, 19 Aug 2016 03:57:37 +0000 (11:57 +0800)]
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>
Kefu Chai [Fri, 19 Aug 2016 03:57:07 +0000 (11:57 +0800)]
Merge pull request #9694 from renhwztetecs/renhw-wip-librados-iotest
test: add the necessary judgment
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Fri, 19 Aug 2016 02:42:14 +0000 (10:42 +0800)]
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>
Kefu Chai [Fri, 19 Aug 2016 02:33:11 +0000 (10:33 +0800)]
debian: exclude python3* packages in dh_shlibdeps
since we are not using subvar of ${shlibs:Depends} in python3-* packages,
just exclude them in dh_shlibdeps.
this silences warnings like
```
warning: dpkg-gencontrol: package python3-cephfs: unused substitution
variable ${shlibs:Depends}
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 19 Aug 2016 02:31:40 +0000 (10:31 +0800)]
debian: enable dh_python3 for python3 packages
so we can use subvars like ${python3:Depends} in debian/control.
this silences the warnings like:
```
warning: dpkg-gencontrol: Depends field of package python3-cephfs:
unknown substitution variable ${python3:Depends}
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 19 Aug 2016 01:51:11 +0000 (09:51 +0800)]
cmake: fix unmatched endforeach
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Thu, 18 Aug 2016 10:12:23 +0000 (18:12 +0800)]
os/bluestore: fix decoding hash of bnode
We encode reversed bits of hash and then write it onto disk,
therefore we shall decode and then reserse to get it back.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Josh Durgin [Thu, 18 Aug 2016 21:19:45 +0000 (14:19 -0700)]
Merge pull request #10782 from BlaXpirit/rados-test-py3
qa/workunits/rados/test_python.sh: Allow specifying Python executable
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Oleh Prypin [Thu, 18 Aug 2016 20:36:30 +0000 (23:36 +0300)]
qa/workunits/rados/test_python.sh: Allow specifying Python executable
(through an environment variable)
Signed-off-by: Oleh Prypin <oleh@pryp.in>
Casey Bodley [Thu, 18 Aug 2016 19:09:30 +0000 (15:09 -0400)]
Merge pull request #10777 from linuxbox2/rgw-token-base64
rgw ldap: protect rgw::from_base64 from non-base64 input
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 18 Aug 2016 18:48:10 +0000 (14:48 -0400)]
Merge pull request #10772 from ceph/wip-cmake
cmake: recompile erasure src for different variants
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Ilsoo Byun [Thu, 18 Aug 2016 18:29:38 +0000 (14:29 -0400)]
os/bluestore: add multiple finishers to bluestore
- The single finisher of a bluestore can be a bottleneck
when using an SSD as a backend device. If too much load
is given to the single finisher, client-side IO latency
increases. So we add multiple finishers to the
bluestore, which shows better performance.
- 'bluestore_shard_finishers' option is added to
be able to configure wheather finsihers is multiple or
not.
- a finisher is selected according to the shard id of a
sequencer.
- the number of finishers is decided by
osd_op_num_shards.
Signed-off-by: Ilsoo Byun <ilsoo.byun@sk.com>
Sage Weil [Wed, 17 Aug 2016 16:35:43 +0000 (12:35 -0400)]
os/bluestore/BlueFS: rename buffered_io option
This is not a bluestore option.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 17 Aug 2016 16:35:12 +0000 (12:35 -0400)]
os/bluestore/BlueFS: do direct io by default (not buffered)
Somnath is doing this in his testing with good results.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 17 Aug 2016 14:31:08 +0000 (10:31 -0400)]
os/bluestore: break down onode vs bnode_map size in log
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 18 Aug 2016 18:21:40 +0000 (13:21 -0500)]
Merge pull request #10717 from liewegas/wip-bluefs-async-compaction
os/bluestore/BlueFS: async compaction
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 18 Aug 2016 16:27:53 +0000 (11:27 -0500)]
Merge pull request #10698 from liewegas/wip-bluestore-bluefs-allocation
bluestore: do not use freelist to track bluefs_extents
Sage Weil [Thu, 18 Aug 2016 16:14:13 +0000 (11:14 -0500)]
Merge pull request #10550 from tanghaodong25/in-memory-db
kv: fix some bugs in memdb
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Sage Weil [Thu, 18 Aug 2016 16:11:24 +0000 (11:11 -0500)]
Merge pull request #10775 from xiexingguo/xxg-wip-clean-storetest
test/store_test: tidy-up SyntheticWorkloadState class
Reviewed-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Thu, 18 Aug 2016 14:54:16 +0000 (10:54 -0400)]
rgw ldap: protect rgw::from_base64 from non-base64 input
Also adds unit tests for:
1. empty output from from_base64 (turns out to be harmless)
2. random and specific non-base64 and sort strings
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Ken Dreyer [Tue, 16 Feb 2016 19:56:34 +0000 (12:56 -0700)]
debian: replace SysV rbdmap with systemd service
Stop shipping /etc/init.d/rbdmap in the Debian packages. Ship the
rbdmap.service systemd unit file instead.
The corresponding change has already been made for RPMs, in
9224ac2ad25f7d017916f58b642c0ea25305c3e5 .
For Upstart-based systems (eg Ubuntu Trusty), the Debian packages
already contain rbdmap.conf.
(This gets us a tiny bit closer to being able to remove the rbdmap SysV
script from our tree entirely.)
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
xie xingguo [Thu, 18 Aug 2016 11:54:07 +0000 (19:54 +0800)]
mon/PGMonitor: fix potential underflow
h.h.size() could be 0(theoretically), so "h.h.size() - 1" could underflow.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 17 Aug 2016 06:34:01 +0000 (14:34 +0800)]
mon/PGMonitor: drop redundant loading of dumpcontents
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 17 Aug 2016 03:22:38 +0000 (11:22 +0800)]
mon/PGMonitor: skip scrub checking if we can
The PG-scrub checking may become expensive once the cluster
is big. Since the scrub-warn related options are defaulted to be off,
we should skip this checking when it is possible, which
is good for performance.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 16 Aug 2016 06:55:31 +0000 (14:55 +0800)]
osd/OSDMonitor: drop redundant check of exists()
Which is aready included by the is_up() method.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 16 Aug 2016 06:34:49 +0000 (14:34 +0800)]
osd/OSDMonitor: avoid duplicated assignment of oldest_map/newest_map
As build_incremental() has done this for us.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 15 Aug 2016 09:06:27 +0000 (17:06 +0800)]
mon/OSDMonitor: avoid duplicated calls when determining osdmap boundary
We have caculdated the oldest/newest map epochs already,
so we can use it directly here.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 15 Aug 2016 09:00:06 +0000 (17:00 +0800)]
mon/OSDMonitor: get rid of snprintf when formatting output string
We can use the standard precision() and fixed method to achieve the same
effect.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 15 Aug 2016 08:40:11 +0000 (16:40 +0800)]
mon/OSDMonitor: fix potential division-by-zero error
By checking pg_num against 0, we could avoid the risk of
division-by-zero error.
Also, we limit the loop to 50 or pg_num, whichever is smaller,
when trying to generate some pg_temps randomly.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Wed, 17 Aug 2016 16:32:03 +0000 (00:32 +0800)]
cmake: recompile erasure src for different variants
* instead of reusing the object libraries, we should recompile jerasure
code for different plugin flavors like neon, sse3, sse4.
* do not version plugin so, as they are not supposed to be used by
user directly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Thu, 7 Jul 2016 07:04:42 +0000 (15:04 +0800)]
test/store_test: avoid dynamic allocation of trans
For the sake of performance.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Thu, 7 Jul 2016 06:34:21 +0000 (14:34 +0800)]
test/store_test: drop redundant transaction of callbacks
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Thu, 7 Jul 2016 06:02:15 +0000 (14:02 +0800)]
test/store_test: fix incorrect prompt given by stash callback
"clone finish" belongs to C_SyntheticOnClone instead.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
haodong [Wed, 17 Aug 2016 15:26:18 +0000 (23:26 +0800)]
kv: fix iterator bug in prev
Signed-off-by: Haodong Tang <haodong.tang@intel.com>
haodong [Wed, 17 Aug 2016 15:19:37 +0000 (23:19 +0800)]
kv: fill 'm_key_value' after 'seek_to_first' or 'seek_to_last'
Signed-off-by: Haodong Tang <haodong.tang@intel.com>
haodong [Wed, 17 Aug 2016 15:14:59 +0000 (23:14 +0800)]
kv: fix iterator invalidation in memdb.
Signed-off-by: Haodong Tang <haodong.tang@intel.com>
haodong [Tue, 2 Aug 2016 18:19:03 +0000 (02:19 +0800)]
kv: delete store after pg destructor is called in OSD shutdown.
Using memdb for bluestore kvbackend, we will hit segfault when we use
'kill' command to shut down osd process. After destructing pg, some
reference to bluestore will be release, but bluestore has been deleted
at this time.
Signed-off-by: Haodong Tang <haodong.tang@intel.com>
Ilya Dryomov [Wed, 17 Aug 2016 19:03:45 +0000 (21:03 +0200)]
Merge pull request #10481 from dillaman/wip-16171
librbd: request exclusive lock if current owner cannot execute op
Reviewed-off-by: Ilya Dryomov <idryomov@gmail.com>
Casey Bodley [Wed, 17 Aug 2016 18:39:47 +0000 (14:39 -0400)]
Merge pull request #10737 from weiqiaomiao/wqm-wip-rgw-core
rgw: fix radosgw daemon core when reopen logs
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Wed, 17 Aug 2016 16:13:50 +0000 (12:13 -0400)]
Merge pull request #10728 from xiexingguo/xxg-wip-kill-bs-warn
bluestore: initialize csum_order properly
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Wed, 17 Aug 2016 16:08:37 +0000 (12:08 -0400)]
librbd: cache was not switching to writeback after first flush
Fixes: http://tracker.ceph.com/issues/16654
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Wed, 17 Aug 2016 15:16:17 +0000 (18:16 +0300)]
Merge pull request #10703 from dillaman/wip-16855
rbd-mirror: improve split-brain detection logic
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Orit Wasserman [Wed, 17 Aug 2016 15:03:44 +0000 (17:03 +0200)]
Merge pull request #10756 from linuxbox2/fix_gc_interval
rgw_file: restore local definition of RGWLibFS gc interval
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Sage Weil [Wed, 17 Aug 2016 14:33:05 +0000 (10:33 -0400)]
Merge pull request #10686 from liewegas/wip-bluefs-remove
os/bluestore/BlueFS: do not op_file_update deleted files
Tested-by: Somnath Roy <somnath.roy@sandisk.com>
Matt Benjamin [Wed, 17 Aug 2016 14:28:48 +0000 (10:28 -0400)]
rgw_file: restore local definition of RGWLibFS gc interval
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Kefu Chai [Wed, 17 Aug 2016 13:46:19 +0000 (21:46 +0800)]
Merge pull request #10755 from SUSE/wip-cmake-use-pie
cmake: Add -pie to CMAKE_EXE_LINKER_FLAGS
Reviewed-by: Kefu Chai <kchai@redhat.com>