]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Nathan Cutler [Sat, 11 Feb 2017 11:41:22 +0000 (12:41 +0100)]
doc: instructions for provisioning OpenStack VMs ad hoc
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Sage Weil [Wed, 8 Feb 2017 19:02:43 +0000 (14:02 -0500)]
Merge remote-tracking branch 'gh/luminous'
Loic Dachary [Wed, 8 Feb 2017 14:29:11 +0000 (15:29 +0100)]
Merge pull request #13218 from guits/ceph_detect_init
ceph-detect-init: Add docker detection
Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Jenkins Build Slave User [Wed, 8 Feb 2017 13:57:33 +0000 (13:57 +0000)]
12.0.0
Guillaume Abrioux [Wed, 1 Feb 2017 15:05:14 +0000 (16:05 +0100)]
ceph-detect-init: Add docker detection
if running `ceph-detect-init` from a container, the given output is the
reference from the hosting system. This patch add the capability of
detecting if the tool is being run inside a container.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Kefu Chai [Wed, 8 Feb 2017 05:15:43 +0000 (13:15 +0800)]
Merge pull request #12586 from ktdreyer/wip-18313-rgw-upstart
upstart: start radosgw-all according to runlevel
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
Kefu Chai [Wed, 8 Feb 2017 03:37:22 +0000 (11:37 +0800)]
Merge pull request #12086 from wjwithagen/wip-wjw-freebsd-ceph-disk
ceph-disk: FreeBSD changes to get it working and passing tests
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 8 Feb 2017 03:34:07 +0000 (11:34 +0800)]
Merge pull request #13015 from chuanhong-wang/dev_change_osd_df_tree_output
mon: in output of "ceph osd df tree", display "-", not "0", for pg amount of a bucket
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 8 Feb 2017 03:33:53 +0000 (11:33 +0800)]
Merge pull request #13159 from bassam/pr-fix-embedded-zstd
compressor/zstd: add zstd to embedded ceph
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 8 Feb 2017 03:33:33 +0000 (11:33 +0800)]
Merge pull request #13236 from adamemerson/wip-alarum
cleanup: resolve compiler warnings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 8 Feb 2017 03:32:40 +0000 (11:32 +0800)]
Merge pull request #13265 from tchaikov/wip-librados-hide-private-symbols
librados: do not expose non-public symbols
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Wed, 8 Feb 2017 03:32:25 +0000 (11:32 +0800)]
Merge pull request #13268 from tchaikov/wip-better-error-ping-mon
ceph: do not throw TypeError on connection failure
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Wed, 8 Feb 2017 03:31:50 +0000 (11:31 +0800)]
Merge pull request #13286 from Liuchang0812/remove-useless-close
msg/async: remove useless close function
Reviewed-by: Kefu Chai <kefu@redhat.com>
Kefu Chai [Wed, 8 Feb 2017 03:31:02 +0000 (11:31 +0800)]
Merge pull request #13288 from dmick/master
ceph.in: add help for locally-handled commands
Reviewed-by: Kefu Chai <kefu@redhat.com>
Sage Weil [Tue, 7 Feb 2017 23:14:14 +0000 (17:14 -0600)]
Merge pull request #9976 from songbaisen/a13
mon: PGMonitor add check only concern our self cluster command
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Feb 2017 23:13:47 +0000 (17:13 -0600)]
Merge pull request #10150 from songbaisen/b
mon: avoid start election twice when quorum enter
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Feb 2017 23:13:13 +0000 (17:13 -0600)]
Merge pull request #10309 from songbaisen/b8
mon: OSDMonitor add check only concern our self cluster command
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Tue, 7 Feb 2017 21:05:27 +0000 (13:05 -0800)]
Merge pull request #12273 from songbaisen/s4
mon: add warn info for osds were removed from osdmap but still kept in crushmap
Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Tue, 7 Feb 2017 21:00:21 +0000 (13:00 -0800)]
Merge pull request #13121 from LiumxNL/wip-170125
osd: we know the definite epoch of marking down
Reviewed-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Tue, 7 Feb 2017 20:40:58 +0000 (21:40 +0100)]
Merge pull request #13297 from dachary/wip-buildpackages
buildpackages: remove because it does not belong
Reviewed-by: Nathan Cutler <ncutler@suse.cz>
Sage Weil [Tue, 7 Feb 2017 19:01:48 +0000 (13:01 -0600)]
Merge pull request #13162 from liewegas/wip-bluestore-reshard
os/bluestore: partial reshard support
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Loic Dachary [Tue, 7 Feb 2017 17:33:29 +0000 (18:33 +0100)]
buildpackages: remove because it does not belong
It should live in teuthology, not in Ceph. And it is currently broken:
there is no need to keep it around.
Fixes: http://tracker.ceph.com/issues/18846
Signed-off-by: Loic Dachary <loic@dachary.org>
Matt Benjamin [Tue, 7 Feb 2017 13:50:49 +0000 (08:50 -0500)]
Merge pull request #13035 from yehudasa/wip-18621
rgw: change default chunk size to 4MB
John Spray [Tue, 7 Feb 2017 12:06:51 +0000 (12:06 +0000)]
Merge pull request #13259 from jcsp/wip-jcsp-relnotes
PendingReleaseNotes: note the fuse fstab format change
Reviewed-by: Sage Weil <sage@redhat.com>
Dan Mick [Sat, 7 Jan 2017 04:36:38 +0000 (20:36 -0800)]
ceph.in: add help for locally-handled commands
Signed-off-by: Dan Mick <dan.mick@redhat.com>
liuchang0812 [Tue, 7 Feb 2017 03:10:32 +0000 (11:10 +0800)]
msg/async: remove useless close function
fix coverity cid
1395314 : it's invalid to pass a negative value to close function, and we have closed socket in net.connect/nonblock_connect in error cases indeed
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
Zack Cerza [Tue, 7 Feb 2017 00:08:18 +0000 (17:08 -0700)]
Merge pull request #13279 from smithfarm/wip-fix-regression
tests: fix regression in qa/tasks/ceph_master.py
Willem Jan Withagen [Sun, 20 Nov 2016 20:30:12 +0000 (21:30 +0100)]
FreeBSD: changes to ceph-disk to get it working and passing tests
- It currently only supports running with filestore
- Testing is executed while running on a ZFS partition
- All disktypes and naming is different on FreeBSD
- Partitioning and tools are not workable on FreeBSD
- add diagnostic timeout
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Yehuda Sadeh [Sat, 21 Jan 2017 01:05:24 +0000 (17:05 -0800)]
rgw: don't update bucket index multiple times in overwrite
Instead of this for overwrites:
prepare (index),
write (head) [-EEXIST]
cancel (index)
read (head)
prepare (index)
write (head)
complete (index)
We now do:
prepare (index),
write (head) [-EEXIST]
read (head)
write (head)
complete (index)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 21 Jan 2017 00:17:49 +0000 (16:17 -0800)]
rgw: assume obj write is a first write
if fails and object already exists then retry. This improves first obj
write performance on the expense of overwrites.
Fixes: http://tracker.ceph.com/issues/18622
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 20 Jan 2017 22:40:58 +0000 (14:40 -0800)]
rgw: configurable write obj window size
Fixes: http://tracker.ceph.com/issues/18623
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Nathan Cutler [Mon, 6 Feb 2017 17:43:49 +0000 (18:43 +0100)]
tests: fix regression in qa/tasks/ceph_master.py
https://github.com/ceph/ceph/pull/13194 introduced a regression:
2017-02-06T16:14:23.162 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 722, in wrapper
return func(self)
File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 839, in do_thrash
self.choose_action()()
File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 305, in kill_osd
output = proc.stderr.getvalue()
AttributeError: 'NoneType' object has no attribute 'getvalue'
This is because the original patch failed to pass "stderr=StringIO()" to run().
Fixes: http://tracker.ceph.com/issues/16263
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Mon, 6 Feb 2017 17:03:55 +0000 (18:03 +0100)]
Merge pull request #12979 from theanalyst/scripts/release-notes-tracker
script: ceph-release-notes check orig. issue only for backports
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Nathan Cutler [Mon, 6 Feb 2017 17:00:26 +0000 (18:00 +0100)]
Merge pull request #13277 from jan--f/janf-teuth-cloud-doc
doc: minor change to a cloud testing paragraph
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Sage Weil [Mon, 6 Feb 2017 16:44:39 +0000 (10:44 -0600)]
Merge pull request #13275 from idryomov/wip-require-osd-features-fix
osd/OSDMap: require OSD features only of OSDs
Reviewed-by: Sage Weil <sage@redhat.com>
Jan Fajerski [Mon, 23 Jan 2017 14:52:52 +0000 (15:52 +0100)]
doc: minor change to a cloud testing paragraph
Use terminate for the instances to match the terminology used by the
horizon interface.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Sage Weil [Mon, 6 Feb 2017 15:15:43 +0000 (09:15 -0600)]
Merge pull request #13256 from dongbula/correct-cached_crc-comment
osd: correct comment of perfcounter cached_crc in code
Reviewed-by: Sage Weil <sage@redhat.com>
Casey Bodley [Mon, 6 Feb 2017 14:56:03 +0000 (09:56 -0500)]
Merge pull request #13220 from rzarzynski/wip-rgw-18364-2
rgw: be aware abount tenants on cls_user_bucket -> rgw_bucket conversion
Reviewed-by: Casey Bodley <cbodley@redhat.com>
John Spray [Mon, 6 Feb 2017 12:59:22 +0000 (12:59 +0000)]
Merge pull request #12993 from jcsp/wip-cephfs-doc-authcaps
doc: clarify the path restriction mds cap example
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Radoslaw Zarzynski [Mon, 6 Feb 2017 12:42:00 +0000 (13:42 +0100)]
Merge pull request #13242 from Jing-Scott/dev/fix-swift-anon-getobj-error-code
rgw: swift: fix anonymous user's error code of getting object
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Ilya Dryomov [Mon, 6 Feb 2017 11:51:05 +0000 (12:51 +0100)]
osd/OSDMap: require OSD features only of OSDs
Fix up commit
1a5cc32f0a3b ("osd/OSDMap: reflect REQUIRE_*_OSDS flag in
required features") -- require_*_osds shouldn't affect older clients.
Fixes: http://tracker.ceph.com/issues/18831
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Haomai Wang [Mon, 6 Feb 2017 12:16:19 +0000 (20:16 +0800)]
Merge pull request #13271 from Liuchang0812/fix-file-description-leak
msg/async: fix file description leak in NetHandler
Reviewed-by: Haomai Wang <haomai@xsky.com>
liuchang0812 [Mon, 6 Feb 2017 11:09:23 +0000 (19:09 +0800)]
msg/async: fix file description leak in NetHandler
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
Jing Wenjun [Fri, 3 Feb 2017 11:06:31 +0000 (19:06 +0800)]
rgw: swift: fix anonymous user's error code of getting object
The openstack swift will return 401 rather than 403 when
the anon user has no permission to get objects.
Fixes: http://tracker.ceph.com/issues/18806
Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
Kefu Chai [Mon, 6 Feb 2017 08:22:42 +0000 (16:22 +0800)]
ceph: do not throw TypeError on connection failure
otherwise we could concat None with a string on connection problem.
which will result in TypeError. and the caller will print misleading
error like
Error connecting to cluster: TypeError
see also #12934
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sun, 5 Feb 2017 18:49:30 +0000 (12:49 -0600)]
Merge pull request #13237 from smithfarm/wip-18799
tests: Thrasher: eliminate a race between kill_osd and __init__
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 5 Feb 2017 15:24:49 +0000 (23:24 +0800)]
librados: do not expose non-public symbols
librados could be referencing the wrong symbol when calling the
destructor. for example, a variable of type AioGetxattrsData in
IoCtxImpl.cc) could be destructed using the destructor defined in
librados.cc. this is reproduciable using
ceph_test_rados_api_aio --gtest_filter=LibRadosAio.XattrIter
Signed-off-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Sun, 5 Feb 2017 12:40:58 +0000 (20:40 +0800)]
Merge pull request #13263 from Adirl/fix_log_spaces
msg/async/rdma: fix log line spacing
Reviewed-by: Haomai Wang <haomai@xsky.com>
John Spray [Sat, 4 Feb 2017 16:00:30 +0000 (16:00 +0000)]
PendingReleaseNotes: note the fuse fstab format change
Signed-off-by: John Spray <john.spray@redhat.com>
Kefu Chai [Sat, 4 Feb 2017 12:15:34 +0000 (20:15 +0800)]
Merge pull request #13257 from tchaikov/wip-less-verbose-ceph-helper
tests: ceph-helpers.sh reduce get_timeout_delays() verbosity
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Sat, 4 Feb 2017 06:28:59 +0000 (14:28 +0800)]
tests: ceph-helpers.sh reduce get_timeout_delays() verbosity
`set +o` prints out the full command line which is echoed if "xtrace" is
enabled. this increases the verbosity of get_timeout_delays().
in this change, we follow the way of kill_daemons() to kill the extra
output. see
aefcf6d .
Signed-off-by: Kefu Chai <kchai@redhat.com>
lvshuhua [Sat, 4 Feb 2017 09:09:20 +0000 (17:09 +0800)]
osd: correct comment of perfcounter cached_crc in code
Signed-off-by: lvshuhua <lvshuhua@cmss.chinamobile.com>
Haomai Wang [Sat, 4 Feb 2017 03:37:27 +0000 (11:37 +0800)]
Merge pull request #13080 from yuyuyu101/wip-async-fd
msg/async/AsyncConnection: socket's fd can be zero, avoid false assert
Reviewed-by: Kefu Chai <kefu@redhat.com>
Sage Weil [Fri, 3 Feb 2017 22:42:36 +0000 (16:42 -0600)]
Merge pull request #13251 from scuttlemonkey/master
script: adding contributor credits script
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 3 Feb 2017 22:24:59 +0000 (16:24 -0600)]
Merge pull request #9396 from songbaisen/doc2
doc: fix the librados c api can not compile problem
Reviewed-by: Sage Weil <sage@redhat.com>
Adam C. Emerson [Fri, 3 Feb 2017 19:48:42 +0000 (14:48 -0500)]
[librados,libcephfs] Avoid redefinition of rados_t
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 3 Feb 2017 19:33:10 +0000 (14:33 -0500)]
rgw: Classes with virtual functions get virtual destructors
Including template specializations.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Thu, 2 Feb 2017 20:56:02 +0000 (15:56 -0500)]
crush: Do not defeat RVO with unnecessary std::move
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Thu, 2 Feb 2017 20:52:19 +0000 (15:52 -0500)]
bluestore: Fix redeclaration of struct
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Thu, 2 Feb 2017 20:36:51 +0000 (15:36 -0500)]
rgw: Use non-deprecated get_omap function
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Thu, 2 Feb 2017 20:05:26 +0000 (15:05 -0500)]
rgw: Fix rgw_format construction order
Since we have only one constructor, just use default initialization for
every member that doesn't depend on an argument.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Thu, 2 Feb 2017 19:55:56 +0000 (14:55 -0500)]
rbd: Fix sign comparison warning
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Thu, 2 Feb 2017 19:14:09 +0000 (14:14 -0500)]
key_value_store: Stop using deprecated omap_get_* functions
This gets rid of deprecation warnings.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Matt Benjamin [Fri, 3 Feb 2017 19:47:20 +0000 (14:47 -0500)]
Merge pull request #13252 from linuxbox2/wip-rgw-setattr
rgw_file: fix RGWLibFS::setattr for directory objects
Matt Benjamin [Fri, 3 Feb 2017 18:44:45 +0000 (13:44 -0500)]
rgw_file: fix RGWLibFS::setattr for directory objects
Fixes: http://tracker.ceph.com/issues/18808
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Fri, 3 Feb 2017 16:57:23 +0000 (11:57 -0500)]
Merge pull request #13147 from yehudasa/wip-18331
rgw: fix use of marker in List::list_objects()
Yuri Weinstein [Fri, 3 Feb 2017 16:50:14 +0000 (08:50 -0800)]
Merge pull request #12023 from yuyuyu101/wip-msgr-type
msg: allow different ms type for cluster network and public network
Reviewed-by: Adir Lev <adirl@mellanox.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Fri, 3 Feb 2017 16:44:46 +0000 (08:44 -0800)]
Merge pull request #13114 from liewegas/wip-osdmap-required-features
osd: condition object_info_t encoding on required (not up) features
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yuri Weinstein [Fri, 3 Feb 2017 16:43:08 +0000 (08:43 -0800)]
Merge pull request #13206 from liewegas/wip-osd-enxio
osd: do not send ENXIO on misdirected op by default
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yuri Weinstein [Fri, 3 Feb 2017 16:41:00 +0000 (08:41 -0800)]
Merge pull request #13213 from ovh/bp-osd-updateable-throttles
osd: allow client throttler to be adjusted on-fly, without restart
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Fri, 3 Feb 2017 16:21:19 +0000 (17:21 +0100)]
Merge pull request #13063 from ovh/wip-mailmap-ovh-contributors
mailmap: Update OVH contributors
Reviewed-by: Loic Dachary <ldachary@redhat.com>
scuttlemonkey [Fri, 3 Feb 2017 16:16:59 +0000 (17:16 +0100)]
adding contributor credits script
Signed-off-by: Patrick McGarry <pmcgarry@redhat.com>
Kefu Chai [Fri, 3 Feb 2017 14:01:41 +0000 (22:01 +0800)]
Merge pull request #13223 from wjwithagen/wip-wjw-freebsd-sphynx
build/install-deps.sh: Add sphinx package for building docs on FreeBSD
Reviewed-by: Kefu Chai <kchai@redhat.com>
John Spray [Fri, 3 Feb 2017 11:30:46 +0000 (12:30 +0100)]
Merge pull request #11448 from ledgr/change/mount_fuse_ceph_options_in_fs_mntops_and_python
Rewrite mount.fuse.ceph (to python) and move ceph-fuse options to fs_mntops
Reviewed-by: John Spray <john.spray@redhat.com>
Josh Durgin [Thu, 2 Feb 2017 23:31:29 +0000 (15:31 -0800)]
Merge pull request #13194 from smithfarm/wip-16263
tests: ignore bogus ceph-objectstore-tool error in ceph_manager
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Thu, 2 Feb 2017 22:18:45 +0000 (17:18 -0500)]
os/bluestore: drop ExtentMap::Shard offset field
This is mirrored in shard_info, which we have a pointer to.
Note that shard_info is also a bit redundant as we can also look it up in
the onode vector in the same position, but it makes it more awkward to use
iterators. Something to consider later to save memory.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 2 Feb 2017 21:05:14 +0000 (16:05 -0500)]
os/bluestore: simplify dirty shard handling in ExtentMap::update
We can do this with a single allocation with a simple vector<>.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Jan 2017 22:25:38 +0000 (17:25 -0500)]
os/bluestore: ExtentMap: reshard only requested range
Only reshard extents in the requested range.
Note that the strategy for unspanning blobs changed; we now span or
unspan specific blobs at the end based on our reshard result instead
of unspanning all at the start. This keeps the spanning id stable,
which is important because it may be referenced from another that
we aren't even looking at.
Also note that this requires a bit of restructuring: an encode_some may
hit a spanning shard, *requiring* us to reshard, which means we should
always conduct the initial pass through update to discover other reshard
requirements, even if we already know some resharding will be needed.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 2 Feb 2017 19:12:39 +0000 (14:12 -0500)]
os/bluestore: dump num spanning blobs from dump_onode
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 2 Feb 2017 19:12:24 +0000 (14:12 -0500)]
os/bluestore: trivial cleanups in csum error code
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 2 Feb 2017 19:12:05 +0000 (14:12 -0500)]
os/bluestore: fsck: dump_onode after shards are loaded
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 2 Feb 2017 19:11:45 +0000 (14:11 -0500)]
ceph_test_objectstore: error out on fsck failure
It's much more helpful this way.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 2 Feb 2017 22:20:45 +0000 (17:20 -0500)]
os/memstore: return 0 from fsck
Signed-off-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Thu, 2 Feb 2017 22:23:54 +0000 (23:23 +0100)]
tests: Thrasher: eliminate a race between kill_osd and __init__
If Thrasher.__init__() spawns the do_thrash thread before initializing the
ceph_objectstore_tool property, do_thrash races with the rest
of Thrasher.__init__() and in some cases do_thrash can call kill_osd() before
Trasher.__init__() progresses much further. This can lead to an exception
("AttributeError: Thrasher instance has no attribute 'ceph_objectstore_tool'")
being thrown in kill_osd().
This commit eliminates the race by making sure the ceph_objectstore_tool
attribute is initialized before the do_thrash thread is spawned.
Fixes: http://tracker.ceph.com/issues/18799
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Sage Weil [Thu, 2 Feb 2017 22:09:57 +0000 (16:09 -0600)]
Merge pull request #13234 from ifed01/wip-bluestore-performance-sandbox2017
os/bluestore: fix potential assert in cache _trim method.
Reviewed-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Thu, 2 Feb 2017 20:25:08 +0000 (15:25 -0500)]
Merge pull request #12965 from linuxbox2/wip-librgw-expand-argv
rgw_file: split last argv on ws, if provided
Matt Benjamin [Tue, 17 Jan 2017 16:23:45 +0000 (11:23 -0500)]
rgw_file: split last argv on ws, if provided
This is intended to allow an "extra" unparsed argument string
containing various cmdline options to be passed as the last argument
in the argv array of librgw_create(), which nfs-ganesha is
expecting to happen.
While at it, hook env_args() too.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Radoslaw Zarzynski [Wed, 1 Feb 2017 18:05:50 +0000 (19:05 +0100)]
rgw: be aware abount tenants on cls_user_bucket -> rgw_bucket conversion.
Fixes: http://tracker.ceph.com/issues/18364
Fixes: http://tracker.ceph.com/issues/16355
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Bartłomiej Święcki [Mon, 23 Jan 2017 11:41:27 +0000 (12:41 +0100)]
mailmap: Update OVH contributors
Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
Loic Dachary [Thu, 2 Feb 2017 15:46:05 +0000 (16:46 +0100)]
Merge pull request #12335 from theanalyst/mailmap/v11.1.0
mailmap updates for v11.1.0
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Fri, 27 Jan 2017 21:06:37 +0000 (16:06 -0500)]
os/bluestore: fsck: check for shards past EOF
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Jan 2017 20:59:23 +0000 (15:59 -0500)]
os/bluestore: reshard on truncate if shards past EOF
This ensure we mop up shards past EOF instead of encoding them
empty and confusing future code (that, say, assumes no shards past
EOF).
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Jan 2017 18:36:42 +0000 (13:36 -0500)]
os/bluestore/bluestore_types: beautify use_tracker_t operator<<
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Jan 2017 21:46:53 +0000 (16:46 -0500)]
os/bluestore: ExtentMap: request reshard range from update() intelligently
Split ourselves, or merge with our immediate predecessor or
successor.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Jan 2017 21:46:04 +0000 (16:46 -0500)]
os/bluestore: ExtentMap: use normal iterator for reshard loop
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Jan 2017 21:45:50 +0000 (16:45 -0500)]
os/bluestore: ExtentMap: put un-spanning in normal loop
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Jan 2017 17:28:50 +0000 (12:28 -0500)]
os/bluestore: ExtentMap: remove reshard 0 extent special case
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Jan 2017 17:00:15 +0000 (12:00 -0500)]
os/bluestore: ExtentMap: factor old shard key removal into reshard()
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Jan 2017 21:41:08 +0000 (16:41 -0500)]
os/bluestore: cosmetic cleanup in ExtentMap::update
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 27 Jan 2017 16:47:11 +0000 (11:47 -0500)]
os/bluestore: ExtentMap: count extents per Shard
Signed-off-by: Sage Weil <sage@redhat.com>